Started by user Jenkins Admin Obtained pipelines/pingcap/tidb/latest/ghpr_check2.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_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 Agent pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 is provisioned from template pingcap_tidb_ghpr_check2_29892-xqbxb-41pkn --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "806c2f928cede40389d83b14d003c92d813745f2" jenkins/label: "pingcap_tidb_ghpr_check2_29892-xqbxb" name: "pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1" - 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-check2-29892-xqbxb-41pkn-b65d1 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [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_check2 # 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 b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git rev-list --no-walk b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 5 min [Pipeline] { [Pipeline] stage [Pipeline] { (Debug info) [Pipeline] sh + printenv GIT_COMMIT=b2a59508c11c86ba701c4af25fc536a9475b82c6 RUN_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/display/redirect JENKINS_URL=https://do.pingcap.net/jenkins/ EXECUTOR_NUMBER=0 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_check2","buildid":"1908664662463877122","prowjobid":"9471c9ca-a193-4132-a763-4674a9d8ee33","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"master","base_sha":"d9fb3a53376157be49b5a7941e6e689a33c81eb0","base_link":"https://github.com/pingcap/tidb/commit/d9fb3a53376157be49b5a7941e6e689a33c81eb0","pulls":[{"number":60325,"author":"terry1purcell","sha":"c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b","title":"planner: enable non-prepared plan cache for dml","head_ref":"dmldef","link":"https://github.com/pingcap/tidb/pull/60325","commit_link":"https://github.com/pingcap/tidb/pull/60325/commits/c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b","author_link":"https://github.com/terry1purcell"}]}} _=/usr/bin/printenv BUILD_ID=1908664662463877122 POD_LABEL=pingcap_tidb_ghpr_check2_29892-xqbxb HOSTNAME=pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 OLDPWD=/home/jenkins RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/display/redirect?page=changes JENKINS_NODE_COOKIE=e6553fc2-84e6-4526-bf3c-8e51cd49c877 GOPROXY=http://goproxy.apps.svc,https://proxy.golang.org,direct JAVA_HOME=/usr/lib/jvm/jre-openjdk JOB_BASE_NAME=ghpr_check2 WORKSPACE_TMP=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2@tmp KUBERNETES_PORT_443_TCP_PROTO=tcp CI=true GIT_URL=https://github.com/PingCAP-QE/ci.git CLASSPATH= KUBERNETES_PORT_443_TCP_ADDR=10.233.0.1 FILE_SERVER_URL=http://fileserver.pingcap.net POD_CONTAINER=golang GOPATH=/go BUILD_NUMBER=29892 KUBERNETES_PORT=tcp://10.233.0.1:443 WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 PWD=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 HUDSON_URL=https://do.pingcap.net/jenkins/ HOME=/home/jenkins GOROOT=/usr/local/go NODE_NAME=pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 HUDSON_SERVER_COOKIE=83ef27fe9acccc92 JENKINS_HOME=/var/jenkins_home JOB_NAME=pingcap/tidb/ghpr_check2 RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/display/redirect?page=tests KUBERNETES_SERVICE_PORT_HTTPS=443 KUBERNETES_PORT_443_TCP_PORT=443 GIT_PREVIOUS_COMMIT=b2a59508c11c86ba701c4af25fc536a9475b82c6 HUDSON_HOME=/var/jenkins_home JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/display/redirect PROW_JOB_ID=9471c9ca-a193-4132-a763-4674a9d8ee33 KUBERNETES_PORT_443_TCP=tcp://10.233.0.1:443 RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/display/redirect?page=artifacts BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/ TERM=xterm STAGE_NAME=Debug info JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/ BUILD_DISPLAY_NAME=#29892 SHLVL=3 GIT_BRANCH=origin/main BUILD_TAG=jenkins-pingcap-tidb-ghpr_check2-29892 KUBERNETES_SERVICE_PORT=443 NODE_LABELS=pingcap_tidb_ghpr_check2_29892-xqbxb pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 PATH=/go/bin:/usr/local/go/bin:/root/.cargo/bin:/usr/local/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/gradle-7.4.2/bin GIT_PREVIOUS_SUCCESSFUL_COMMIT=b2a59508c11c86ba701c4af25fc536a9475b82c6 KUBERNETES_SERVICE_HOST=10.233.0.1 JENKINS_SERVER_COOKIE=durable-da268d9e668a40ac9bdc52566cc558810a4c43d7bbe3d53ea4e01dfdf6821af4 + 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.23.2' GODEBUG='' GOTELEMETRY='local' GOTELEMETRYDIR='/home/jenkins/.config/go/telemetry' 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 -ffile-prefix-map=/tmp/go-build2467573167=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29892-xqbxb-41pkn-b65d1 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: 28438 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: 809119703d1c93c8 (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 27 IN A 20.27.177.113 github.com. 27 IN A 20.205.243.166 ;; Query time: 0 msec ;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP) ;; WHEN: Sat Apr 05 23:35:19 UTC 2025 ;; MSG SIZE rcvd: 103 [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_check2/tidb [Pipeline] { [Pipeline] cache Cache restored successfully (git/pingcap/tidb/rev-d9fb3a5) 1213224960 bytes in 6.41 secs (189355011 bytes/sec) [Pipeline] { [Pipeline] retry [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh git version 2.43.5 Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.git/ .git HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) POST git-upload-pack (656 bytes) POST git-upload-pack (973 bytes) From https://github.com/pingcap/tidb = [up to date] master -> origin/master * [new ref] refs/pull/60325/head -> origin/pr/60325/head Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) 🚧 Checkouting to base SHA:d9fb3a53376157be49b5a7941e6e689a33c81eb0... HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) ✅ Checked. 🎉 🧾 HEAD info: d9fb3a53376157be49b5a7941e6e689a33c81eb0 d9fb3a5337 ddl: Implement TableMode feature (#59009) 195c367f3a parser: support to check any column flag (#60287) f4b85e3540 statistics: remove invalid histogram items in loadNeededColumnHistograms and loadNeededIndexHistograms (#60318) 🚧 Pre-merge heads of pull requests to base SHA: d9fb3a53376157be49b5a7941e6e689a33c81eb0 ... Updating d9fb3a5337..c42301bae6 Fast-forward Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. pkg/planner/core/plan_cacheable_checker_test.go | 34 ++++++++++++++++--------- pkg/sessionctx/vardef/tidb_vars.go | 2 +- 2 files changed, 23 insertions(+), 13 deletions(-) 🧾 Pre-merged result: c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b c42301bae6 Merge branch 'pingcap:master' into dmldef d9fb3a5337 ddl: Implement TableMode feature (#59009) 195c367f3a parser: support to check any column flag (#60287) ✅ Pre merged 🎉 ✅ ~~~~~All done.~~~~~~ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // retry [Pipeline] } Cache saved successfully (git/pingcap/tidb/rev-d9fb3a5-c42301b) 1213327360 bytes in 23.35 secs (51954278 bytes/sec) [Pipeline] // cache [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Cache not restored (no such key found) [Pipeline] { [Pipeline] sh + ls bin/tidb-server ls: cannot access 'bin/tidb-server': No such file or directory + make server go: downloading go1.23.8 (linux/amd64) CGO_ENABLED=1 GO111MODULE=on go build -tags codes -ldflags '-X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=v9.0.0-alpha-514-gc42301bae6" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2025-04-05 23:36:04" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitBranch=HEAD" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=Community" ' -o bin/tidb-server ./cmd/tidb-server go: downloading github.com/grafana/pyroscope-go v1.2.1 go: downloading github.com/tikv/pd/client v0.0.0-20250318085533-e8050f72d00d go: downloading github.com/pingcap/failpoint v0.0.0-20240528011301-b51a646c7c86 go: downloading github.com/prometheus/client_golang v1.21.1 go: downloading github.com/pingcap/log v1.1.1-0.20241212030209-7e3ff8601a2a go: downloading github.com/pingcap/errors v0.11.5-0.20240318064555-6bd07397691f go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading github.com/pingcap/kvproto v0.0.0-20250224053625-b6a98c6bf02d go: downloading github.com/danjacques/gofslock v0.0.0-20191023191349-0a45f885bc37 go: downloading go.uber.org/zap v1.27.0 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20250327030528-1906b778d741 go: downloading go.uber.org/automaxprocs v1.6.0 go: downloading golang.org/x/sync v0.12.0 go: downloading github.com/pingcap/tipb v0.0.0-20250331100511-d2c561dad347 go: downloading github.com/google/pprof v0.0.0-20241001023024-f4c0cfd0cf1d go: downloading google.golang.org/grpc v1.63.2 go: downloading github.com/BurntSushi/toml v1.5.0 go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible go: downloading go.uber.org/atomic v1.11.0 go: downloading go.etcd.io/etcd/client/v3 v3.5.12 go: downloading github.com/otiai10/copy v1.14.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 go: downloading github.com/dgraph-io/ristretto v0.1.1 go: downloading github.com/pkg/errors v0.9.1 go: downloading golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 go: downloading github.com/coocood/freecache v1.2.1 go: downloading golang.org/x/sys v0.31.0 go: downloading github.com/dolthub/swiss v0.2.1 go: downloading github.com/twmb/murmur3 v1.1.6 go: downloading github.com/cloudfoundry/gosigar v1.3.6 go: downloading github.com/pingcap/sysutil v1.0.1-0.20240311050922-ae81ee01f3a5 go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7 go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a go: downloading google.golang.org/protobuf v1.36.5 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/google/btree v1.1.2 go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21 go: downloading github.com/golang/protobuf v1.5.4 go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 go: downloading golang.org/x/net v0.38.0 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f go: downloading github.com/influxdata/tdigest v0.0.1 go: downloading github.com/stretchr/testify v1.10.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/opentracing/basictracer-go v1.0.0 go: downloading github.com/blacktear23/go-proxyprotocol v1.0.6 go: downloading github.com/gorilla/mux v1.8.1 go: downloading github.com/klauspost/compress v1.18.0 go: downloading github.com/pingcap/fn v1.0.0 go: downloading github.com/soheilhy/cmux v0.1.5 go: downloading github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2 go: downloading github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67 go: downloading golang.org/x/text v0.23.0 go: downloading github.com/json-iterator/go v1.1.12 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/coreos/go-semver v0.3.1 go: downloading github.com/grafana/pyroscope-go/godeltaprof v0.1.8 go: downloading github.com/bits-and-blooms/bitset v1.14.3 go: downloading github.com/dolthub/maphash v0.1.0 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/qri-io/jsonschema v0.2.1 go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef go: downloading go.etcd.io/etcd/api/v3 v3.5.12 go: downloading github.com/prometheus/common v0.63.0 go: downloading github.com/prometheus/client_model v0.6.1 go: downloading github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.12 go: downloading github.com/jellydator/ttlcache/v3 v3.0.1 go: downloading github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 go: downloading golang.org/x/time v0.11.0 go: downloading github.com/pingcap/badger v1.5.1-0.20241015064302-38533b6cbf8d go: downloading golang.org/x/tools v0.31.0 go: downloading github.com/cockroachdb/pebble v1.1.4-0.20250120151818-5dd133a1e6fb go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/procfs v0.16.0 go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading github.com/lestrrat-go/blackmagic v1.0.2 go: downloading github.com/lestrrat-go/httprc v1.0.5 go: downloading github.com/lestrrat-go/iter v1.0.2 go: downloading github.com/lestrrat-go/option v1.0.1 go: downloading github.com/carlmjohnson/flagext v0.21.0 go: downloading github.com/tklauser/go-sysconf v0.3.12 go: downloading cloud.google.com/go/storage v1.38.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1581 go: downloading github.com/aws/aws-sdk-go v1.55.5 go: downloading github.com/go-resty/resty/v2 v2.11.0 go: downloading github.com/ks3sdklib/aws-sdk-go v1.2.9 go: downloading github.com/spf13/pflag v1.0.6 go: downloading golang.org/x/oauth2 v0.28.0 go: downloading cloud.google.com/go v0.112.1 go: downloading google.golang.org/api v0.169.0 go: downloading github.com/fatih/color v1.18.0 go: downloading github.com/vbauerster/mpb/v7 v7.5.3 go: downloading golang.org/x/term v0.30.0 go: downloading github.com/jfcg/sorty/v2 v2.1.0 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 go: downloading github.com/spkg/bom v1.0.0 go: downloading github.com/xitongsys/parquet-go v1.6.3-0.20240520233950-75e935fc3e17 go: downloading go.uber.org/mock v0.4.0 go: downloading github.com/spf13/cobra v1.9.1 go: downloading github.com/cheggaaa/pb/v3 v3.0.8 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading github.com/golang/glog v1.2.4 go: downloading github.com/joho/sqltocsv v0.0.0-20210428211105-a6d6801d59df go: downloading github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 go: downloading github.com/go-asn1-ber/asn1-ber v1.5.4 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 go: downloading golang.org/x/crypto v0.36.0 go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989 go: downloading github.com/zyedidia/generic v1.2.1 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec go: downloading github.com/lestrrat-go/httpcc v1.0.1 go: downloading github.com/coreos/go-systemd/v22 v22.5.0 go: downloading github.com/tklauser/numcpus v0.6.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/qri-io/jsonpointer v0.1.1 go: downloading github.com/mattn/go-colorable v0.1.14 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading cloud.google.com/go/compute/metadata v0.3.0 go: downloading github.com/jedib0t/go-pretty/v6 v6.2.2 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/mattn/go-runewidth v0.0.16 go: downloading github.com/jfcg/sixb v1.3.8 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading cloud.google.com/go/iam v1.1.6 go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de go: downloading github.com/googleapis/gax-go/v2 v2.12.2 go: downloading github.com/apache/thrift v0.16.0 go: downloading github.com/Masterminds/semver v1.5.0 go: downloading k8s.io/api v0.29.11 go: downloading github.com/emirpasic/gods v1.18.1 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 go: downloading github.com/ncw/directio v1.0.5 go: downloading github.com/coocood/rtutil v0.0.0-20190304133409-c84515f646f2 go: downloading github.com/coocood/bbloom v0.0.0-20190830030839-58deb6228d64 go: downloading go.opencensus.io v0.24.0 go: downloading go.opentelemetry.io/otel v1.24.0 go: downloading go.opentelemetry.io/otel/trace v1.24.0 go: downloading github.com/rivo/uniseg v0.4.7 go: downloading github.com/apache/arrow/go/v12 v12.0.1 go: downloading github.com/goccy/go-reflect v1.2.0 go: downloading github.com/klauspost/cpuid v1.3.1 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/pierrec/lz4/v4 v4.1.15 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading github.com/segmentio/fasthash v1.0.3 go: downloading cloud.google.com/go/kms v1.15.7 go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/go-logr/logr v1.4.1 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading go.opentelemetry.io/otel/metric v1.24.0 go: downloading github.com/cockroachdb/errors v1.11.3 go: downloading github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce go: downloading github.com/cockroachdb/redact v1.1.5 go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 go: downloading github.com/DataDog/zstd v1.5.5 go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b go: downloading github.com/getsentry/sentry-go v0.27.0 go: downloading github.com/kr/pretty v0.3.1 go: downloading github.com/rogpeppe/go-internal v1.14.1 go: downloading github.com/kr/text v0.2.0 go: downloading golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 go: downloading github.com/goccy/go-json v0.10.2 go: downloading github.com/google/flatbuffers v2.0.8+incompatible go: downloading github.com/zeebo/xxh3 v1.0.2 go: downloading github.com/andybalholm/brotli v1.0.5 go: downloading github.com/klauspost/cpuid/v2 v2.0.9 go: downloading k8s.io/apimachinery v0.29.11 go: downloading k8s.io/klog/v2 v2.120.1 go: downloading github.com/google/gofuzz v1.2.0 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b go: downloading github.com/google/s2a-go v0.1.7 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2 go: downloading github.com/felixge/httpsnoop v1.0.4 go: downloading github.com/jmespath/go-jmespath v0.4.0 [Pipeline] } Cache saved successfully (binary/pingcap/tidb/tidb-server/rev-d9fb3a53376157be49b5a7941e6e689a33c81eb0-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b) 253081600 bytes in 6.33 secs (39991102 bytes/sec) [Pipeline] // cache [Pipeline] script [Pipeline] { [Pipeline] echo computeBranchFromPR component: tikv, prTargetBranch: master, prTitle: planner: enable non-prepared plan cache for dml, trunkBranch: master [Pipeline] sh + sha1= + [[ commit_master =~ ^commit_[0-9a-f]{40}$ ]] + refUrl=http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1 + [[ true = \t\r\u\e ]] + refUrl=http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify + echo '🔍 ref url: http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify' 🔍 ref url: http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify ++ curl --fail http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify ++ head -1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 41 100 41 0 0 854 0 --:--:-- --:--:-- --:--:-- 854 + sha1=3eb3439fd88f0db9de06ef92e845e80b32c9b49a + artifactUrl=http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz + echo '⬇️📦 artifact url: http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz' ⬇️📦 artifact url: http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz ++ basename http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz + saveFile=tikv-server.tar.gz + wget -q --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 -c -O tikv-server.tar.gz http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz + echo '📂 extract bin from tikv-server.tar.gz ...' 📂 extract bin from tikv-server.tar.gz ... + tar -xzf tikv-server.tar.gz bin + rm tikv-server.tar.gz + echo '✅ extracted bin from tikv-server.tar.gz .' ✅ extracted bin from tikv-server.tar.gz . [Pipeline] echo computeBranchFromPR component: pd, prTargetBranch: master, prTitle: planner: enable non-prepared plan cache for dml, trunkBranch: master [Pipeline] sh + sha1= + [[ commit_master =~ ^commit_[0-9a-f]{40}$ ]] + refUrl=http://fileserver.pingcap.net/download/refs/pingcap/pd/master/sha1 + [[ true = \t\r\u\e ]] + refUrl=http://fileserver.pingcap.net/download/refs/pingcap/pd/master/sha1.verify + echo '🔍 ref url: http://fileserver.pingcap.net/download/refs/pingcap/pd/master/sha1.verify' 🔍 ref url: http://fileserver.pingcap.net/download/refs/pingcap/pd/master/sha1.verify ++ curl --fail http://fileserver.pingcap.net/download/refs/pingcap/pd/master/sha1.verify ++ head -1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 41 100 41 0 0 836 0 --:--:-- --:--:-- --:--:-- 836 + sha1=9d6bbb8529d9d2acb9cf324a65e94ece465f6346 + artifactUrl=http://fileserver.pingcap.net/download/builds/pingcap/pd/9d6bbb8529d9d2acb9cf324a65e94ece465f6346/centos7/pd-server.tar.gz + echo '⬇️📦 artifact url: http://fileserver.pingcap.net/download/builds/pingcap/pd/9d6bbb8529d9d2acb9cf324a65e94ece465f6346/centos7/pd-server.tar.gz' ⬇️📦 artifact url: http://fileserver.pingcap.net/download/builds/pingcap/pd/9d6bbb8529d9d2acb9cf324a65e94ece465f6346/centos7/pd-server.tar.gz ++ basename http://fileserver.pingcap.net/download/builds/pingcap/pd/9d6bbb8529d9d2acb9cf324a65e94ece465f6346/centos7/pd-server.tar.gz + saveFile=pd-server.tar.gz + wget -q --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 -c -O pd-server.tar.gz http://fileserver.pingcap.net/download/builds/pingcap/pd/9d6bbb8529d9d2acb9cf324a65e94ece465f6346/centos7/pd-server.tar.gz + echo '📂 extract bin from pd-server.tar.gz ...' 📂 extract bin from pd-server.tar.gz ... + tar -xzf pd-server.tar.gz bin + rm pd-server.tar.gz + echo '✅ extracted bin from pd-server.tar.gz .' ✅ extracted bin from pd-server.tar.gz . [Pipeline] } [Pipeline] // script [Pipeline] cache Cache not restored (no such key found) [Pipeline] { [Pipeline] sh + mv bin/tidb-server bin/integration_test_tidb-server + touch rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] } Cache saved successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 48.18 secs (60706185 bytes/sec) [Pipeline] // cache [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checks) [Pipeline] parallel [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh n') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_brietest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pessimistictest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_sessiontest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_statisticstest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_txntest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest1') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest2') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest3') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest4') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest2') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest3') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest4') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pipelineddmltest') [Pipeline] { (Branch: Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_flashbacktest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh n') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_brietest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pessimistictest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_sessiontest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_statisticstest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_txntest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest1') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest2') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest3') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest4') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest2') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest3') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest4') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pipelineddmltest') [Pipeline] stage [Pipeline] { (Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_flashbacktest') [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted [Pipeline] readTrusted Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-rb8pd-wvtm6-hsf73 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-n1x7p-h8zg4-nqr8l Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-c6zbn-khvj5-70jqr Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-35gbx-cml8q-23wqb Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Agent pingcap-tidb-ghpr-check2-29892-rb8pd-wvtm6-hsf73 is provisioned from template pingcap_tidb_ghpr_check2_29892-rb8pd-wvtm6 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "2fe2b1af9400d9a56739d1843a3c7b7480d98201" jenkins/label: "pingcap_tidb_ghpr_check2_29892-rb8pd" name: "pingcap-tidb-ghpr-check2-29892-rb8pd-wvtm6-hsf73" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-rb8pd-wvtm6-hsf73" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-rb8pd-wvtm6-hsf73" - 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" Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-pcmb4-6q2hk-kk4zc Running on pingcap-tidb-ghpr-check2-29892-rb8pd-wvtm6-hsf73 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout The recommended git tool is: git Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-46964-cqg13-2qpcr No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@5ae94e34; decorates RemoteLauncher[hudson.remoting.Channel@404e49f3:JNLP4-connect connection from 10.233.78.253/10.233.78.253:47590] will be ignored (a typical symptom is the Git executable not being run inside a designated container) 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_check2 # 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 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-zcs5w-whgs3-8pp7m Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-0l2nj-5ckm3-9r5qn Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Agent pingcap-tidb-ghpr-check2-29892-n1x7p-h8zg4-nqr8l is provisioned from template pingcap_tidb_ghpr_check2_29892-n1x7p-h8zg4 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "a7ff3a61ef576fe36d8284dfc9f9e22c94db2ee1" jenkins/label: "pingcap_tidb_ghpr_check2_29892-n1x7p" name: "pingcap-tidb-ghpr-check2-29892-n1x7p-h8zg4-nqr8l" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-n1x7p-h8zg4-nqr8l" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-n1x7p-h8zg4-nqr8l" - 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-check2-29892-n1x7p-h8zg4-nqr8l in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout The recommended git tool is: git Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-71pjh-ctsm0-rz149 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-7p861-mnw5r-jll5r Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-fbxxk-6h1v7-jf5z1 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Agent pingcap-tidb-ghpr-check2-29892-c6zbn-khvj5-70jqr is provisioned from template pingcap_tidb_ghpr_check2_29892-c6zbn-khvj5 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "7e8d0bd45810773efef8f589691ce406c7c6806e" jenkins/label: "pingcap_tidb_ghpr_check2_29892-c6zbn" name: "pingcap-tidb-ghpr-check2-29892-c6zbn-khvj5-70jqr" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-c6zbn-khvj5-70jqr" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-c6zbn-khvj5-70jqr" - 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" No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@d99af94; decorates RemoteLauncher[hudson.remoting.Channel@75948f2a:JNLP4-connect connection from 10.233.66.50/10.233.66.50:42720] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Running on pingcap-tidb-ghpr-check2-29892-c6zbn-khvj5-70jqr in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29892-pcmb4-6q2hk-kk4zc is provisioned from template pingcap_tidb_ghpr_check2_29892-pcmb4-6q2hk --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "a5cb1eab354524d501478578b950b762209eeef8" jenkins/label: "pingcap_tidb_ghpr_check2_29892-pcmb4" name: "pingcap-tidb-ghpr-check2-29892-pcmb4-6q2hk-kk4zc" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-pcmb4-6q2hk-kk4zc" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-pcmb4-6q2hk-kk4zc" - 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-check2-29892-pcmb4-6q2hk-kk4zc in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-l7rmx-df7tp-b2z34 Agent pingcap-tidb-ghpr-check2-29892-35gbx-cml8q-23wqb is provisioned from template pingcap_tidb_ghpr_check2_29892-35gbx-cml8q --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "6cf4240a2272a1c095bea47d1c4a7199692e2462" jenkins/label: "pingcap_tidb_ghpr_check2_29892-35gbx" name: "pingcap-tidb-ghpr-check2-29892-35gbx-cml8q-23wqb" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-35gbx-cml8q-23wqb" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-35gbx-cml8q-23wqb" - 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-check2-29892-35gbx-cml8q-23wqb in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29892-46964-cqg13-2qpcr is provisioned from template pingcap_tidb_ghpr_check2_29892-46964-cqg13 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "cd3a772ba7d12a82785858009b3690b539b85506" jenkins/label: "pingcap_tidb_ghpr_check2_29892-46964" name: "pingcap-tidb-ghpr-check2-29892-46964-cqg13-2qpcr" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-46964-cqg13-2qpcr" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-46964-cqg13-2qpcr" - 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" Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Running on pingcap-tidb-ghpr-check2-29892-46964-cqg13-2qpcr in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git > 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 b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Agent pingcap-tidb-ghpr-check2-29892-0l2nj-5ckm3-9r5qn is provisioned from template pingcap_tidb_ghpr_check2_29892-0l2nj-5ckm3 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "3b33eac3b179c06e84004979f2f120d9361d3f2e" jenkins/label: "pingcap_tidb_ghpr_check2_29892-0l2nj" name: "pingcap-tidb-ghpr-check2-29892-0l2nj-5ckm3-9r5qn" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-0l2nj-5ckm3-9r5qn" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-0l2nj-5ckm3-9r5qn" - 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-check2-29892-0l2nj-5ckm3-9r5qn in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Agent pingcap-tidb-ghpr-check2-29892-71pjh-ctsm0-rz149 is provisioned from template pingcap_tidb_ghpr_check2_29892-71pjh-ctsm0 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c37cad3e0e7c54be9bcda1dbd086c5f1edbe85d1" jenkins/label: "pingcap_tidb_ghpr_check2_29892-71pjh" name: "pingcap-tidb-ghpr-check2-29892-71pjh-ctsm0-rz149" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-71pjh-ctsm0-rz149" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-71pjh-ctsm0-rz149" - 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-check2-29892-71pjh-ctsm0-rz149 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29892-zcs5w-whgs3-8pp7m is provisioned from template pingcap_tidb_ghpr_check2_29892-zcs5w-whgs3 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "853c17f5a68e65173c87cd0edbe0eb6585dcee82" jenkins/label: "pingcap_tidb_ghpr_check2_29892-zcs5w" name: "pingcap-tidb-ghpr-check2-29892-zcs5w-whgs3-8pp7m" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-zcs5w-whgs3-8pp7m" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-zcs5w-whgs3-8pp7m" - 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-check2-29892-zcs5w-whgs3-8pp7m in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29892-7p861-mnw5r-jll5r is provisioned from template pingcap_tidb_ghpr_check2_29892-7p861-mnw5r --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "69c6123d13f13b81a1009112ea4416206ff90ad3" jenkins/label: "pingcap_tidb_ghpr_check2_29892-7p861" name: "pingcap-tidb-ghpr-check2-29892-7p861-mnw5r-jll5r" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-7p861-mnw5r-jll5r" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-7p861-mnw5r-jll5r" - 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-check2-29892-7p861-mnw5r-jll5r in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29892-fbxxk-6h1v7-jf5z1 is provisioned from template pingcap_tidb_ghpr_check2_29892-fbxxk-6h1v7 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "59c162896aa721487cb919620960ec29bd723c7e" jenkins/label: "pingcap_tidb_ghpr_check2_29892-fbxxk" name: "pingcap-tidb-ghpr-check2-29892-fbxxk-6h1v7-jf5z1" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-fbxxk-6h1v7-jf5z1" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-fbxxk-6h1v7-jf5z1" - 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" Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Running on pingcap-tidb-ghpr-check2-29892-fbxxk-6h1v7-jf5z1 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29892-l7rmx-df7tp-b2z34 is provisioned from template pingcap_tidb_ghpr_check2_29892-l7rmx-df7tp --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "503f0fd1ffd84844a9893ea560e854de71d3d4d8" jenkins/label: "pingcap_tidb_ghpr_check2_29892-l7rmx" name: "pingcap-tidb-ghpr-check2-29892-l7rmx-df7tp-b2z34" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-l7rmx-df7tp-b2z34" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-l7rmx-df7tp-b2z34" - 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-check2-29892-l7rmx-df7tp-b2z34 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.21 secs (405604737 bytes/sec) [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] { + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r-- 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] { [Pipeline] { The recommended git tool is: git [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] container [Pipeline] { The recommended git tool is: git [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] stage [Pipeline] { (Test) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-9dn36-07x6m-30nbn Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-pcp0f-mx6dc-t1xj4 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-wjzw1-069wr-6f6t3 [Pipeline] // cache Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-tm5d5-ffd6r-xmnjn [Pipeline] sh Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-0zd64-wzx0c-dv434 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29892-wcddv-0bkfv-d1qwb No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@564e216c; decorates RemoteLauncher[hudson.remoting.Channel@3713431b:JNLP4-connect connection from 10.233.74.71/10.233.74.71:44330] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@70b901e3; decorates RemoteLauncher[hudson.remoting.Channel@5a443323:JNLP4-connect connection from 10.233.69.113/10.233.69.113:58196] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@bc6af5; decorates RemoteLauncher[hudson.remoting.Channel@27dcd5f4:JNLP4-connect connection from 10.233.67.101/10.233.67.101:48858] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] { Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@798669c5; decorates RemoteLauncher[hudson.remoting.Channel@1f3d21fe:JNLP4-connect connection from 10.233.68.79/10.233.68.79:49090] will be ignored (a typical symptom is the Git executable not being run inside a designated container) 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_check2 # 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 [Pipeline] cache No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6f0a848; decorates RemoteLauncher[hudson.remoting.Channel@e8effe3:JNLP4-connect connection from 10.233.90.61/10.233.90.61:47470] will be ignored (a typical symptom is the Git executable not being run inside a designated container) + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh 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_check2 # 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7dbfd6f5; decorates RemoteLauncher[hudson.remoting.Channel@76f23042:JNLP4-connect connection from 10.233.93.72/10.233.93.72:43132] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@300c773b; decorates RemoteLauncher[hudson.remoting.Channel@2a834be9:JNLP4-connect connection from 10.233.78.46/10.233.78.46:50974] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@a4d78fc; decorates RemoteLauncher[hudson.remoting.Channel@3066a0e5:JNLP4-connect connection from 10.233.72.156/10.233.72.156:47208] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@37128ea7; decorates RemoteLauncher[hudson.remoting.Channel@3c44dc58:JNLP4-connect connection from 10.233.71.249/10.233.71.249:48146] will be ignored (a typical symptom is the Git executable not being run inside a designated container) 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_check2 # 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@56c04e85; decorates RemoteLauncher[hudson.remoting.Channel@74e5bf24:JNLP4-connect connection from 10.233.70.9/10.233.70.9:36684] will be ignored (a typical symptom is the Git executable not being run inside a designated container) 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_check2 # timeout=10 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 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 > 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 b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Agent pingcap-tidb-ghpr-check2-29892-wcddv-0bkfv-d1qwb is provisioned from template pingcap_tidb_ghpr_check2_29892-wcddv-0bkfv --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "cf663820ba4c68572cbc834a20d71041b7d61de1" jenkins/label: "pingcap_tidb_ghpr_check2_29892-wcddv" name: "pingcap-tidb-ghpr-check2-29892-wcddv-0bkfv-d1qwb" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-wcddv-0bkfv-d1qwb" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-wcddv-0bkfv-d1qwb" - 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" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Running on pingcap-tidb-ghpr-check2-29892-wcddv-0bkfv-d1qwb in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > 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 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29892-9dn36-07x6m-30nbn is provisioned from template pingcap_tidb_ghpr_check2_29892-9dn36-07x6m Agent pingcap-tidb-ghpr-check2-29892-tm5d5-ffd6r-xmnjn is provisioned from template pingcap_tidb_ghpr_check2_29892-tm5d5-ffd6r --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "98eb9d0b2898eb553de7a96a6ba52e243f6318c3" --- apiVersion: "v1" kind: "Pod" metadata: annotations: jenkins/label: "pingcap_tidb_ghpr_check2_29892-tm5d5" name: "pingcap-tidb-ghpr-check2-29892-tm5d5-ffd6r-xmnjn" namespace: "jenkins-tidb" spec: affinity: nodeAffinity: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: "kubernetes.io/arch" jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d1ee3d8815a9100571dd1e5d9bc3cc6128a9d992" operator: "In" values: - "amd64" - key: "ci-nvme-high-performance" jenkins/label: "pingcap_tidb_ghpr_check2_29892-9dn36" name: "pingcap-tidb-ghpr-check2-29892-9dn36-07x6m-30nbn" namespace: "jenkins-tidb" operator: "In" values: - "true" containers: spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: - image: "hub.pingcap.net/wangweizhen/tidb_image:go12320241009" lifecycle: postStart: exec: command: nodeSelectorTerms: - matchExpressions: - key: "kubernetes.io/arch" - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: operator: "In" values: - "amd64" - key: "ci-nvme-high-performance" limits: memory: "32Gi" cpu: "8" securityContext: privileged: true operator: "In" values: - "true" containers: tty: true volumeMounts: - mountPath: "/home/jenkins/.tidb/tmp" name: "bazel-out-merged" - image: "hub.pingcap.net/wangweizhen/tidb_image:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - mountPath: "/bazel-out-lower" name: "bazel-out-lower" subPath: "tidb/go1.19.2" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" - mountPath: "/bazel-out-overlay" name: "bazel-out-overlay" - mountPath: "/share/.cache/go-build" name: "gocache" cpu: "8" securityContext: privileged: true tty: true volumeMounts: - mountPath: "/share/.go" name: "gopathcache" - mountPath: "/share/.cache/bazel-repository-cache" - mountPath: "/home/jenkins/.tidb/tmp" name: "bazel-out-merged" - mountPath: "/bazel-out-lower" name: "bazel-repository-cache" - mountPath: "/data/" name: "bazel-rc" readOnly: true name: "bazel-out-lower" subPath: "tidb/go1.19.2" - mountPath: "/bazel-out-overlay" - mountPath: "/etc/containerinfo" name: "containerinfo" - mountPath: "/home/jenkins/agent" name: "bazel-out-overlay" - mountPath: "/share/.cache/go-build" name: "gocache" name: "workspace-volume" readOnly: false - image: "hub.pingcap.net/jenkins/network-multitool" - mountPath: "/share/.go" name: "gopathcache" - mountPath: "/share/.cache/bazel-repository-cache" name: "net-tool" resources: limits: memory: "128Mi" cpu: "100m" name: "bazel-repository-cache" - mountPath: "/data/" name: "bazel-rc" readOnly: true tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" - mountPath: "/etc/containerinfo" name: "containerinfo" - mountPath: "/home/jenkins/agent" readOnly: false - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" name: "workspace-volume" readOnly: false - image: "hub.pingcap.net/jenkins/network-multitool" resources: limits: memory: "256Mi" cpu: "100m" tty: true name: "net-tool" resources: limits: memory: "128Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" readOnly: false - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-tm5d5-ffd6r-xmnjn" resources: limits: memory: "256Mi" cpu: "100m" tty: true - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-tm5d5-ffd6r-xmnjn" - name: "JENKINS_AGENT_WORKDIR" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false value: "/home/jenkins/agent" - name: "JENKINS_URL" - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-9dn36-07x6m-30nbn" requests: memory: "256Mi" cpu: "100m" volumeMounts: - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-9dn36-07x6m-30nbn" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" requests: memory: "256Mi" cpu: "100m" volumeMounts: - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false items: - path: "cpu_limit" resourceFieldRef: restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" 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" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Running on pingcap-tidb-ghpr-check2-29892-tm5d5-ffd6r-xmnjn in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29892-9dn36-07x6m-30nbn in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29892-pcp0f-mx6dc-t1xj4 is provisioned from template pingcap_tidb_ghpr_check2_29892-pcp0f-mx6dc --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "4e6eb94525199b23e97a4bd22ee632adf4720e01" jenkins/label: "pingcap_tidb_ghpr_check2_29892-pcp0f" name: "pingcap-tidb-ghpr-check2-29892-pcp0f-mx6dc-t1xj4" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-pcp0f-mx6dc-t1xj4" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-pcp0f-mx6dc-t1xj4" - 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" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Running on pingcap-tidb-ghpr-check2-29892-pcp0f-mx6dc-t1xj4 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29892-wjzw1-069wr-6f6t3 is provisioned from template pingcap_tidb_ghpr_check2_29892-wjzw1-069wr --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "7ecf5b8b82dc0c03674ddd91e71b79df8947ecd1" jenkins/label: "pingcap_tidb_ghpr_check2_29892-wjzw1" name: "pingcap-tidb-ghpr-check2-29892-wjzw1-069wr-6f6t3" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-wjzw1-069wr-6f6t3" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-wjzw1-069wr-6f6t3" - 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-check2-29892-wjzw1-069wr-6f6t3 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29892-0zd64-wzx0c-dv434 is provisioned from template pingcap_tidb_ghpr_check2_29892-0zd64-wzx0c --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29892/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29892/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c8cd7adabfd95f6fcb3908dd152febbf43c0c3b8" jenkins/label: "pingcap_tidb_ghpr_check2_29892-0zd64" name: "pingcap-tidb-ghpr-check2-29892-0zd64-wzx0c-dv434" 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:go12320241009" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: limits: memory: "32Gi" cpu: "8" 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 - image: "hub.pingcap.net/jenkins/python3-requests:latest" name: "report" resources: limits: memory: "256Mi" cpu: "100m" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-check2-29892-0zd64-wzx0c-dv434" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29892-0zd64-wzx0c-dv434" - 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-check2-29892-0zd64-wzx0c-dv434 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 8.12 secs (360408471 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] checkout [Pipeline] { [Pipeline] { The recommended git tool is: git [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/integrationtest_with_tikv.sh n ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tests/integrationtest ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb extracting statistics: s skip building tidb-server, using existing binary: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/bin/integration_test_tidb-server building mysql-tester binary: ./mysql_tester go: downloading github.com/pingcap/mysql-tester v0.0.0-20241224064458-0d83955ea569 The recommended git tool is: git The recommended git tool is: git [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@f52299b; decorates RemoteLauncher[hudson.remoting.Channel@29b36886:JNLP4-connect connection from 10.233.84.230/10.233.84.230:33696] will be ignored (a typical symptom is the Git executable not being run inside a designated container) [Pipeline] { (Test) Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@289ba9cc; decorates RemoteLauncher[hudson.remoting.Channel@346164a0:JNLP4-connect connection from 10.233.108.13/10.233.108.13:33718] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@16ea05b0; decorates RemoteLauncher[hudson.remoting.Channel@61e8200e:JNLP4-connect connection from 10.233.105.126/10.233.105.126:36520] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@43e7aad; decorates RemoteLauncher[hudson.remoting.Channel@78e4beff:JNLP4-connect connection from 10.233.106.37/10.233.106.37:44330] will be ignored (a typical symptom is the Git executable not being run inside a designated container) No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@3287ec86; decorates RemoteLauncher[hudson.remoting.Channel@47649eef:JNLP4-connect connection from 10.233.88.219/10.233.88.219:48542] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@62e81d58; decorates RemoteLauncher[hudson.remoting.Channel@361e244a:JNLP4-connect connection from 10.233.127.186/10.233.127.186:58796] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 [Pipeline] // cache Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # 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 [Pipeline] sh [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 start tidb-server, log file: ./integration-test.out tidb-server(PID: 1226) started run all integration test cases (disabled new collation) ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.709230648 s ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.715470829 s ./t/collation_misc.test: ok! 66 test cases passed, take time 0.922720208 s ./t/collation_pointget.test: ok! 106 test cases passed, take time 1.2741989280000001 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1226) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 10.62 secs (275306489 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 10.91 secs (268135614 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 10.57 secs (276700221 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 8.68 secs (337095128 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 8.08 secs (362006536 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.84 secs (373254675 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 10.61 secs (275574812 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.31 secs (399875990 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.43 secs (393645633 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 10.23 secs (285893059 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r-- 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r-- 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] } + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] // dir Post stage [Pipeline] sh [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_brietest [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] sh No test report files were found. Configuration error? [Pipeline] sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] } [Pipeline] sh [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] // dir [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pessimistictest [Pipeline] sh [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_txntest + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_statisticstest [Pipeline] sh [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest2 [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/integrationtest_with_tikv.sh y ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tests/integrationtest ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb extracting statistics: s skip building tidb-server, using existing binary: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/bin/integration_test_tidb-server building mysql-tester binary: ./mysql_tester go: downloading github.com/pingcap/mysql-tester v0.0.0-20241224064458-0d83955ea569 [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest1 [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_sessiontest [Pipeline] cache go: downloading go1.23.8 (linux/amd64) start tidb-server, log file: ./integration-test.out tidb-server(PID: 1240) started run all integration test cases (enabled new collation) ./t/show.test: ok! 3 test cases passed, take time 0.000446492 s ./t/access_path_selection.test: ok! 9 test cases passed, take time 0.023342621 s ./t/agg_predicate_pushdown.test: ok! 7 test cases passed, take time 0.02189218 s ./t/bindinfo/bind.test: ok! 223 test cases passed, take time 1.616558473 s ./t/bindinfo/session_handle.test: ok! 21 test cases passed, take time 0.070313194 s ./t/bindinfo/temptable.test: ok! 38 test cases passed, take time 0.156501227 s ./t/black_list.test: ok! 55 test cases passed, take time 0.12911542 s ./t/clustered_index.test: ok! 34 test cases passed, take time 1.419804738 s GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 go: downloading go1.23.8 (linux/amd64) ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.704288985 s go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.610897949 s go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) ./t/collation_misc.test: ok! 66 test cases passed, take time 0.495640075 s go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.639953446 s Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.56 secs (386835706 bytes/sec) [Pipeline] { [Pipeline] cache ./t/common_collation.test: ok! 26 test cases passed, take time 0.178247384 s ./t/cte.test: ok! 237 test cases passed, take time 2.277822853 s ./t/db_integration.test: ok! 11 test cases passed, take time 0.048360757 s ./t/ddl/attributes_sql.test: ok! 30 test cases passed, take time 0.42872326 s GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a 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... GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Starting local Bazel server and connecting to it... GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 INFO: Invocation ID: 877be544-edfd-482e-9f9c-893f96258ec7 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_40.2223669359/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) ./t/ddl/bdr_mode.test: ok! 371 test cases passed, take time 5.769003806 s ./t/ddl/column.test: ok! 42 test cases passed, take time 0.566083956 s ./t/ddl/column_change.test: ok! 9 test cases passed, take time 0.057160156 s bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.78 secs (375992178 bytes/sec) [Pipeline] { [Pipeline] cache bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... 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... Starting local Bazel server and connecting to it... 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... 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... 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... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... INFO: Invocation ID: d55362d0-6faf-4ccb-ba24-6ae36e09d506 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_40.1836373466/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... INFO: Invocation ID: bc8f7dae-da20-4f2d-a711-b01e88f2026d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_43.699696695/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: INFO: Invocation ID: c4522ca3-7ab2-4b33-a273-af772563739a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_42.1109406026/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Invocation ID: 6bc49f7c-bb54-4a0e-b657-b4b275fa5218 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_44.989243911/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: INFO: Invocation ID: 91ff8c39-b147-4829-b6b4-47e0684c70b7 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_45.942750008/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Loading: Loading: INFO: Invocation ID: e3100895-0cdf-427f-a982-7bcd660d55d1 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_46.3750340545/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Invocation ID: 2a9f3746-b817-4600-abc4-da8882432448 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_45.1732470043/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Analyzing: target //:gazelle (75 packages loaded, 4821 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: ./t/ddl/column_modify.test: ok! 164 test cases passed, take time 3.540186318 s Loading: Loading: 0 packages loaded Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (64 packages loaded, 2326 targets configured) Analyzing: target //:gazelle (75 packages loaded, 4180 targets configured) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Analyzing: target //:gazelle (52 packages loaded, 494 targets configured) Analyzing: target //:gazelle (69 packages loaded, 3186 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (75 packages loaded, 4797 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 9.82 secs (297894823 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5902 targets configured) Analyzing: target //:gazelle (397 packages loaded, 6276 targets configured) Analyzing: target //:gazelle (430 packages loaded, 6967 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.93 secs (368635745 bytes/sec) [Pipeline] { [Pipeline] cache [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/crypto/tls.a, 3.0 MiB / 4.0 MiB; 2s remote-cache ... (8 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 5.0 MiB / 18.9 MiB; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (168 packages loaded, 5509 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5911 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5843 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5932 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5922 targets configured) [194 / 530] GoCompilePkg external/org_uber_go_zap/zap.a [for tool]; Downloading external/org_uber_go_zap/zap.a, 807.8 KiB / 2.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (392 packages loaded, 6203 targets configured) Analyzing: target //:gazelle (410 packages loaded, 6343 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5919 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.193s, Critical Path: 4.70s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //:gazelle (408 packages loaded, 6305 targets configured) Analyzing: target //:gazelle (410 packages loaded, 6351 targets configured) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: e9fc33b9-740a-4ff7-8684-dda966260c84 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_40.2223669359/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //:gazelle (410 packages loaded, 6357 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Analyzing: target //:gazelle (393 packages loaded, 6263 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //:gazelle (339 packages loaded, 6322 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 84] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 12.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [23 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/cgo, 2.8 MiB / 3.9 MiB; 0s remote-cache ... (5 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5434 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 6.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 1.0 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 8.9 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7303 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 7.0 MiB / 11.8 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 4.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.9 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 2.0 MiB / 12.2 MiB; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8242 targets configured) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.0 MiB / 12.2 MiB; 2s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.7 MiB / 18.9 MiB; 3s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.3 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 18.9 MiB; 3s remote-cache ... (6 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (6 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/addr2line, 2.0 MiB / 2.7 MiB; 3s remote-cache ... (8 actions, 0 running) [54 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 4s remote-cache ... (5 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.7 MiB / 18.9 MiB; 3s remote-cache ... (7 actions, 0 running) [1,120 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/resource_manager/resource_manager.a; 0s remote-cache ... (8 actions, 0 running) [31 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [27 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 5.8 MiB / 18.9 MiB; 3s remote-cache ... (8 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 7.52 secs (388937537 bytes/sec) [Pipeline] { [272 / 530] GoCompilePkg build/linter/deferrecover/deferrecover.a [for tool]; Downloading build/linter/deferrecover/deferrecover.a; 0s remote-cache ... (7 actions, 0 running) [Pipeline] cache [129 / 530] GoLink external/org_golang_x_tools/cmd/goyacc/goyacc_/goyacc [for tool]; Downloading external/org_golang_x_tools/cmd/goyacc/goyacc_/goyacc, 1.1 MiB / 2.2 MiB; 0s remote-cache ... (8 actions, 0 running) [321 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4008/sa4008.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4008/sa4008.a, 207.8 KiB / 365.8 KiB; 0s remote-cache ... (8 actions, 0 running) [102 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 4s remote-cache ... (6 actions, 0 running) [293 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa6000/sa6000.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa6000/sa6000.a, 87.8 KiB / 366.4 KiB; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle [308 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4028/sa4028.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4028/sa4028.x; 0s remote-cache ... (8 actions, 0 running) [203 / 530] GoCompilePkg external/org_golang_x_tools/go/analysis/passes/assign/assign.a [for tool]; 0s remote-cache ... (8 actions, 0 running) INFO: Elapsed time: 6.182s, Critical Path: 1.50s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' INFO: Elapsed time: 31.946s, Critical Path: 5.28s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.757s, Critical Path: 5.02s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.897s, Critical Path: 4.84s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [470 / 530] GoCompilePkg build/linter/staticcheck/S1028.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [459 / 530] GoCompilePkg build/linter/staticcheck/S1003.a [for tool]; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.825s, Critical Path: 4.28s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.708s, Critical Path: 4.90s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.891s, Critical Path: 5.34s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 9383aef4-e5b4-4cea-b71f-10fa84a3b69a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_40.1836373466/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: bb2699c2-cdd6-4993-b2c1-8c7a7d2cae4c INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_42.1109406026/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: c38f30a3-9c5d-49ad-a90d-0bc654a652a3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_43.699696695/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.191s, Critical Path: 4.89s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Loading: Loading: Loading: Loading: 0 packages loaded Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. 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 (1 packages loaded, 0 targets configured) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: da68d2f4-63b4-4ab2-a337-692444946c4e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_46.3750340545/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: c1432bdb-1486-41de-a347-9378726be29a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_45.942750008/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes 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_check2/tidb && " \ //tools/tazel:tazel Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) 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) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 47a221f8-6492-4d6f-80ad-6cc41087056a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_45.1732470043/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ --@io_bazel_rules_go//go/config:cover_format=go_cover \ -- //tests/realtikvtest/brietest/... INFO: Invocation ID: 2661a349-4f4a-462e-afbf-679d773c3523 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_40.2223669359/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 INFO: Invocation ID: 9a6246db-25a7-47cc-8eef-4ddd4fffbab6 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_44.989243911/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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) 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) Loading: Loading: Loading: 0 packages loaded INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --define, --run_under, and 1 more have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/brietest:brietest_test (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5534 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 4961 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5508 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5094 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5504 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5449 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5489 targets configured) Analyzing: target //tools/tazel:tazel (16 packages loaded, 6817 targets configured) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7306 targets configured) Analyzing: target //tools/tazel:tazel (43 packages loaded, 7270 targets configured) Analyzing: target //tools/tazel:tazel (37 packages loaded, 7163 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (443 packages loaded, 4771 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (48 packages loaded, 7355 targets configured) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7306 targets configured) Analyzing: target //tools/tazel:tazel (250 packages loaded, 7893 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8239 targets configured) Analyzing: target //tools/tazel:tazel (210 packages loaded, 7633 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (707 packages loaded, 5975 targets configured) Analyzing: target //tools/tazel:tazel (99 packages loaded, 7430 targets configured) Analyzing: target //tools/tazel:tazel (253 packages loaded, 8146 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 330] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 18] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (255 packages loaded, 8284 targets configured) [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... Analyzing: target //tests/realtikvtest/brietest:brietest_test (1043 packages loaded, 8153 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 96] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (255 packages loaded, 8284 targets configured) [0 / 31] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 32] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 163] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,096 / 1,307] GoCompilePkg external/org_golang_google_grpc/internal/serviceconfig/serviceconfig.a; 0s remote-cache ... (5 actions, 0 running) [1,114 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 7.1 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) [1,135 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 3.9 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1186 packages loaded, 10703 targets configured) [1,085 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 6.8 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) [1,126 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (6 actions, 0 running) [1,116 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 7.2 MiB / 8.0 MiB; 0s remote-cache ... (7 actions, 0 running) [1,145 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (8 actions, 0 running) [1,298 / 1,307] [Prepa] Running nogo on //pkg/util/set:set ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.333s, Critical Path: 1.58s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.205s, Critical Path: 1.44s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.418s, Critical Path: 1.54s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.206s, Critical Path: 1.51s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.984s, Critical Path: 1.42s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/brietest:brietest_test (1276 packages loaded, 11336 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.195s, Critical Path: 1.42s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.191s, Critical Path: 1.55s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/pessimistictest/... INFO: Invocation ID: 46f30d5f-385d-484b-9038-38ec029ee7c6 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_40.1836373466/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/statisticstest/... INFO: Invocation ID: 45673f82-e258-4dde-98fa-539422d55bba INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_42.1109406026/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Analyzing: target //tests/realtikvtest/brietest:brietest_test (1439 packages loaded, 12704 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/sessiontest/... INFO: Invocation ID: 5b819d6c-63ce-4c82-80d1-4b8c80c7f132 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_46.3750340545/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Loading: Loading: Loading: 0 packages loaded bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest/... INFO: Invocation ID: b3f793a3-9651-4b84-947c-68316dd27c77 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_44.989243911/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest2/... INFO: Invocation ID: c22aaaf5-e066-4d97-ae15-9ed9f31a8b62 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_45.942750008/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/txntest/... INFO: Invocation ID: 335ac9aa-4051-4914-a7b2-125627df597b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_43.699696695/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1 packages loaded, 0 targets configured) INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/txntest:txntest_test (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest1/... INFO: Invocation ID: d39cb216-d200-4add-8a7c-0016f0e6e855 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_45.1732470043/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1497 packages loaded, 13410 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (151 packages loaded, 5218 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (301 packages loaded, 4477 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1548 packages loaded, 13803 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (296 packages loaded, 4490 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (304 packages loaded, 1141 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (196 packages loaded, 4983 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (317 packages loaded, 4578 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (319 packages loaded, 4683 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14479 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (749 packages loaded, 6334 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (578 packages loaded, 5830 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29892) 2925004800 bytes in 10.08 secs (290240880 bytes/sec) [Pipeline] { [Pipeline] sh Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (641 packages loaded, 5985 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (667 packages loaded, 6759 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (592 packages loaded, 5663 targets configured) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest3 [Pipeline] sh Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (621 packages loaded, 6002 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (601 packages loaded, 5379 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1007 packages loaded, 9396 targets configured) [Pipeline] sh Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (860 packages loaded, 7637 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1042 packages loaded, 8389 targets configured) + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r-- 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1043 packages loaded, 8320 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14479 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (873 packages loaded, 7867 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (848 packages loaded, 6890 targets configured) + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (883 packages loaded, 7130 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1153 packages loaded, 10643 targets configured) INFO: Analyzed target //tests/realtikvtest/brietest:brietest_test (1765 packages loaded, 15107 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b [Pipeline] sh Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1117 packages loaded, 8876 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1111 packages loaded, 10420 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1154 packages loaded, 10487 targets configured) + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r--. 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1105 packages loaded, 9189 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1065 packages loaded, 8115 targets configured) [Pipeline] sh + ls -l rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b -rw-r--r-- 1 jenkins jenkins 0 Apr 5 23:39 rev-c42301bae6f8af8c54c5f3cfb1e67d121d8cb13b Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1104 packages loaded, 9529 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1326 packages loaded, 11862 targets configured) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest4 Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1240 packages loaded, 10525 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1265 packages loaded, 10576 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1140 packages loaded, 9642 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1153 packages loaded, 10617 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1287 packages loaded, 11380 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1220 packages loaded, 10189 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1427 packages loaded, 12907 targets configured) [21 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1360 packages loaded, 11331 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1429 packages loaded, 12072 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1274 packages loaded, 10642 targets configured) [21 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1335 packages loaded, 11781 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1406 packages loaded, 12634 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1402 packages loaded, 11849 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1500 packages loaded, 13438 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1427 packages loaded, 12217 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1462 packages loaded, 12344 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1427 packages loaded, 12910 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1429 packages loaded, 12932 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1420 packages loaded, 12066 targets configured) [133 / 4,582] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1429 packages loaded, 12264 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1608 packages loaded, 14069 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1500 packages loaded, 12746 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1486 packages loaded, 13286 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1502 packages loaded, 13589 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1551 packages loaded, 13111 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1462 packages loaded, 12301 targets configured) [492 / 4,582] GoCompilePkg external/com_github_uber_jaeger_client_go/thrift/thrift.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1509 packages loaded, 12986 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1567 packages loaded, 13193 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1548 packages loaded, 13795 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1671 packages loaded, 14465 targets configured) [811 / 4,582] GoCompilePkg external/com_github_go_ldap_ldap_v3/ldap.a; Downloading external/com_github_go_ldap_ldap_v3/ldap.a, 543.8 KiB / 1.7 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1667 packages loaded, 13706 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1694 packages loaded, 13932 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1510 packages loaded, 12993 targets configured) INFO: Analyzed target //tests/realtikvtest/statisticstest:statisticstest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,110 / 4,582] GoCompilePkg external/com_github_goccy_go_json/internal/encoder/vm/vm.a; Downloading external/com_github_goccy_go_json/internal/encoder/vm/vm.a, 2.0 MiB / 2.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1672 packages loaded, 13800 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1694 packages loaded, 13932 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1672 packages loaded, 13806 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1671 packages loaded, 14468 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1671 packages loaded, 13799 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 8.0 MiB / 9.3 MiB; 0s remote-cache ... (3 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/txntest:txntest_test (1763 packages loaded, 15093 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,293 / 4,582] GoCompilePkg external/com_google_cloud_go_storage/internal/apiv2/storagepb/storagepb.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/sessiontest:sessiontest_test (1763 packages loaded, 15092 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1764 packages loaded, 14419 targets configured) INFO: Analyzed target //tests/realtikvtest/pessimistictest:pessimistictest_test (1764 packages loaded, 14426 targets configured). INFO: Found 1 test target... INFO: Analyzed target //tests/realtikvtest/addindextest1:addindextest1_test (1763 packages loaded, 14424 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tests/realtikvtest/addindextest2:addindextest2_test (1786 packages loaded, 14559 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1672 packages loaded, 13806 targets configured) [1,369 / 4,582] 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 / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest:addindextest_test (1764 packages loaded, 14432 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt go: downloading go1.23.8 (linux/amd64) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 11.0 MiB / 11.8 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 18.9 MiB; 0s remote-cache ... (3 actions, 0 running) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/cgo, 1023.8 KiB / 3.9 MiB; 1s remote-cache ... (3 actions, 0 running) [112 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [16 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 8.5 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [1,477 / 4,582] GoCompilePkg external/com_github_tikv_pd_client/clients/tso/tso.a; 0s remote-cache ... (7 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (3 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 5.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [27 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 6.0 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) [452 / 4,573] GoCompilePkg external/com_github_qri_io_jsonschema/jsonschema.a; 0s remote-cache ... (8 actions, 0 running) [25 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.2 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) [2,864 / 4,582] GoCompilePkg pkg/util/collate/collate.a; 0s remote-cache ... (8 actions, 0 running) [106 / 4,573] GoCompilePkg external/com_sourcegraph_sourcegraph_appdash/appdash.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [Pipeline] } go: downloading go1.23.8 (linux/amd64) Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [293 / 4,573] GoCompilePkg external/com_github_shirou_gopsutil_v3/process/process.a; Downloading external/com_github_shirou_gopsutil_v3/process/process.a, 332.0 KiB / 800.8 KiB; 0s remote-cache ... (8 actions, 0 running) [73 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [18 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [799 / 4,573] GoCompilePkg external/io_k8s_apimachinery/pkg/runtime/runtime.a; 0s remote-cache ... (8 actions, 0 running) [364 / 4,571] GoCompilePkg external/com_github_pierrec_lz4_v4/internal/lz4block/lz4block.a; 0s remote-cache ... (8 actions, 0 running) [3,868 / 4,582] Validating nogo output for //pkg/types/parser_driver:parser_driver; 0s remote-cache ... (8 actions, 0 running) [500 / 4,573] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 1023.9 KiB / 9.3 MiB; 0s remote-cache ... (7 actions, 0 running) [457 / 4,568] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; Downloading external/com_github_prometheus_client_golang/prometheus/prometheus.a, 2.6 MiB / 2.9 MiB; 0s remote-cache ... (8 actions, 0 running) [588 / 4,573] GoCompilePkg external/com_github_gorilla_mux/mux.a; 0s remote-cache ... (8 actions, 0 running) [524 / 4,637] GoCompilePkg external/com_github_goccy_go_json/internal/encoder/encoder.a; 0s remote-cache ... (8 actions, 0 running) [346 / 4,571] GoCompilePkg external/co_honnef_go_tools/simple/s1005/s1005.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [1,078 / 4,573] GoCompilePkg external/org_golang_google_grpc/grpc.a; Downloading external/org_golang_google_grpc/grpc.a, 575.8 KiB / 3.4 MiB; 0s remote-cache ... (8 actions, 0 running) [694 / 4,571] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 4.0 MiB / 8.2 MiB; 0s remote-cache ... (8 actions, 0 running) [792 / 4,573] GoCompilePkg external/org_golang_google_genproto_googleapis_api/annotations/annotations.a; 0s remote-cache ... (8 actions, 0 running) [4,054 / 4,582] GoCompilePkg pkg/expression/expression.a; 0s remote-cache ... (6 actions, 0 running) [808 / 4,568] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 13.5 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) [887 / 4,573] GoCompilePkg external/io_k8s_api/core/v1/core.a; 0s remote-cache ... (8 actions, 0 running) [866 / 4,637] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 15.0 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) [776 / 4,571] GoCompilePkg external/com_github_modern_go_reflect2/reflect2.a; 0s remote-cache ... (7 actions, 0 running) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29892 already exists) [1,223 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // script [909 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 11.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [4,191 / 4,582] GoCompilePkg pkg/disttask/framework/scheduler/scheduler.a; 0s remote-cache ... (7 actions, 0 running) [Pipeline] // cache [Pipeline] // cache [Pipeline] } [Pipeline] sh [1,020 / 4,568] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a, 9.6 MiB / 11.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,134 / 4,573] GoCompilePkg external/co_honnef_go_tools/stylecheck/st1005/st1005.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [1,033 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 69.9 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [Pipeline] sh [1,071 / 4,573] GoCompilePkg external/org_golang_x_tools/go/ssa/ssa.a [for tool]; Downloading external/org_golang_x_tools/go/ssa/ssa.a; 0s remote-cache ... (7 actions, 0 running) [1,167 / 4,571] GoCompilePkg external/com_github_aliyun_alibaba_cloud_sdk_go/sdk/auth/signers/signers.a; Downloading external/com_github_aliyun_alibaba_cloud_sdk_go/sdk/auth/signers/signers.a, 48.0 KiB / 309.1 KiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh [1,264 / 4,568] GoCompilePkg external/org_golang_google_api/transport/grpc/grpc.a; Downloading external/org_golang_google_api/transport/grpc/grpc.a, 16.0 KiB / 665.4 KiB; 0s remote-cache ... (8 actions, 0 running) [1,522 / 4,573] Running nogo on @com_github_cockroachdb_pebble//internal/constants:constants; 0s remote-cache ... (8 actions, 0 running) [1,319 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/coprocessor/coprocessor.a; 0s remote-cache ... (6 actions, 0 running) [1,361 / 4,637] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 6.4 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,085 / 4,571] GoCompilePkg external/com_github_pingcap_tipb/go-tipb/go-tipb.a; 0s remote-cache ... (8 actions, 0 running) + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [1,157 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 53.3 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,397 / 4,582] [Prepa] GoCompilePkg pkg/ddl/ddl.a [1,511 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 29.2 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh ./t/ddl/column_type_change.test: ok! 1285 test cases passed, take time 47.657161389 s ./t/ddl/constraint.test: ok! 440 test cases passed, take time 4.526357459 s [Pipeline] // cache [Pipeline] sh [1,966 / 4,568] Running nogo on @org_golang_google_protobuf//types/gofeaturespb:gofeaturespb; Downloading external/org_golang_google_protobuf/types/gofeaturespb/gofeaturespb.facts; 0s remote-cache ... (8 actions, 0 running) [3,234 / 4,573] GoCompilePkg pkg/kv/kv.a; 0s remote-cache ... (7 actions, 0 running) [2,138 / 4,637] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnkv.a; Downloading external/com_github_tikv_client_go_v2/txnkv/txnkv.a, 1.1 MiB / 1.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,214 / 4,571] GoCompilePkg pkg/util/trxevents/trxevents.a; Downloading pkg/util/trxevents/trxevents.a; 0s remote-cache ... (8 actions, 0 running) [1,394 / 4,573] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa3001/sa3001.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa3001/sa3001.a; 0s remote-cache ... (8 actions, 0 running) [4,429 / 4,582] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 0s remote-cache ... (8 actions, 0 running) [2,119 / 4,571] GoCompilePkg external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a; 0s remote-cache ... (7 actions, 0 running) [Pipeline] // dir + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [1,499 / 4,573] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; 0s remote-cache ... (3 actions, 0 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [3,543 / 4,568] GoCompilePkg pkg/util/memoryusagealarm/memoryusagealarm.a; 0s remote-cache ... (8 actions, 0 running) [3,915 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 48.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh [1,500 / 4,571] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; Downloading build/tidb_nogo_actual_/tidb_nogo_actual, 11.5 MiB / 13.1 MiB; 0s remote-cache ... (2 actions, 0 running) [2,379 / 4,573] GoCompilePkg pkg/meta/model/model.a; Downloading pkg/meta/model/model.a, 2.0 MiB / 2.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,489 / 4,582] GoCompilePkg br/pkg/restore/data/data.a; 0s remote-cache ... (7 actions, 0 running) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [2,878 / 4,573] Running nogo on @com_google_cloud_go_kms//internal:internal; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh [3,829 / 4,637] GoCompilePkg pkg/meta/autoid/autoid.a; Downloading pkg/meta/autoid/autoid.a; 0s remote-cache ... (8 actions, 0 running) [3,676 / 4,571] GoCompilePkg pkg/util/collate/collate.a; 0s remote-cache ... (8 actions, 0 running) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh [4,112 / 4,573] GoCompilePkg pkg/statistics/handle/cache/internal/mapcache/mapcache.a; Downloading pkg/statistics/handle/cache/internal/mapcache/mapcache.a, 670.6 KiB / 721.5 KiB; 0s remote-cache ... (8 actions, 0 running) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh [3,340 / 4,571] GoCompilePkg pkg/ddl/placement/placement.a; 0s remote-cache ... (8 actions, 0 running) [3,614 / 4,573] GoCompilePkg pkg/extension/extension.a; 0s remote-cache ... (7 actions, 0 running) [4,527 / 4,582] GoCompilePkg br/pkg/task/operator/operator.a; Downloading br/pkg/task/operator/operator.a, 10.0 MiB / 12.5 MiB; 0s remote-cache ... (8 actions, 0 running) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [4,012 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 78.0 MiB / 94.8 MiB; 0s remote-cache ... (6 actions, 0 running) [3,726 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 14.9 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,137 / 4,637] [Prepa] GoCompilePkg pkg/session/types/types.a + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh [4,068 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 43.4 MiB / 94.8 MiB; 0s remote-cache ... (5 actions, 0 running) [Pipeline] } [4,349 / 4,573] GoCompilePkg pkg/ttl/ttlworker/ttlworker.a; 0s remote-cache ... (8 actions, 0 running) [3,889 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 50.9 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [3,983 / 4,573] GoCompilePkg pkg/expression/expression.a; 0s remote-cache ... (7 actions, 0 running) [4,559 / 4,582] [Prepa] GoCompilePkg br/pkg/gluetikv/gluetikv.a ... (3 actions, 0 running) [4,218 / 4,568] [Prepa] GoCompilePkg pkg/store/mockstore/mockstore.a [Pipeline] sh [4,079 / 4,573] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (8 actions, 0 running) [4,168 / 4,571] GoCompilePkg pkg/store/mockstore/unistore/tikv/tikv.a; Downloading pkg/store/mockstore/unistore/tikv/tikv.a, 3.1 MiB / 3.7 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_flashbacktest [4,383 / 4,637] GoCompilePkg pkg/lightning/errormanager/errormanager.a; Downloading pkg/lightning/errormanager/errormanager.a, 735.8 KiB / 1.1 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh ./t/ddl/db.test: ok! 288 test cases passed, take time 8.427819101 s + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest4 [4,395 / 4,568] [Prepa] GoCompilePkg pkg/resourcegroup/runaway/runaway.a [4,419 / 4,573] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 6.0 MiB / 11.3 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh [4,148 / 4,571] GoCompilePkg pkg/planner/core/operator/physicalop/physicalop.a; 0s remote-cache ... (8 actions, 0 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest [4,232 / 4,573] [Prepa] GoCompilePkg pkg/sessiontxn/sessiontxn.a [4,395 / 4,571] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [Pipeline] sh [4,256 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache ... (8 actions, 0 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest2 [4,472 / 4,637] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; Downloading pkg/planner/util/domainmisc/domainmisc.a, 2.0 MiB / 10.0 MiB; 0s remote-cache ... (8 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... [Pipeline] // withCredentials ./t/ddl/db_cache.test: ok! 50 test cases passed, take time 0.640213179 s [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; Downloading tests/realtikvtest/brietest/brietest_test_/brietest_test, 189.6 MiB / 225.2 MiB; 1s remote-cache [Pipeline] } [Pipeline] sh [4,461 / 4,568] GoCompilePkg br/pkg/stream/stream.a; 0s remote-cache ... (8 actions, 0 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest3 Starting local Bazel server and connecting to it... [4,487 / 4,573] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 12.1 MiB / 14.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,329 / 4,571] GoCompilePkg pkg/lightning/backend/backend.a; Downloading pkg/lightning/backend/backend.x; 0s remote-cache ... (8 actions, 0 running) [4,400 / 4,573] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (4 actions, 0 running) ./t/ddl/db_change.test: ok! 33 test cases passed, take time 0.550954509 s + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pipelineddmltest [4,400 / 4,573] [Prepa] GoCompilePkg pkg/resourcegroup/runaway/runaway.a ... (6 actions, 0 running) [4,572 / 4,637] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 28.1 MiB / 46.0 MiB; 0s remote-cache ... (3 actions, 0 running) ./t/ddl/db_foreign_key.test: ok! 20 test cases passed, take time 0.281409688 s [4,485 / 4,571] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 5.0 MiB / 12.7 MiB; 0s remote-cache ... (7 actions, 0 running) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 0s remote-cache Target //tests/realtikvtest/brietest:brietest_test up-to-date: bazel-bin/tests/realtikvtest/brietest/brietest_test_/brietest_test INFO: Elapsed time: 33.216s, Critical Path: 15.17s INFO: 4580 processes: 4567 remote cache hit, 13 internal. INFO: Build completed successfully, 4580 total actions [Pipeline] // timeout [4,514 / 4,568] GoCompilePkg br/pkg/task/task.a; 0s remote-cache ... (7 actions, 0 running) [4,520 / 4,573] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 7.1 MiB / 17.2 MiB; 0s remote-cache ... (8 actions, 0 running) //tests/realtikvtest/brietest:brietest_test (cached) PASSED in 221.1s PASSED brietest_test.TestBackupAndRestore (10.7s) PASSED brietest_test.TestCancel (1.3s) PASSED brietest_test.TestExistedTables (9.2s) PASSED brietest_test.TestExistedTablesOfIncremental (20.1s) PASSED brietest_test.TestExistedTablesOfIncremental_1 (11.4s) PASSED brietest_test.TestExistedTablesOfIncremental_2 (11.0s) PASSED brietest_test.TestFailure (0.0s) PASSED brietest_test.TestForCoverage (0.8s) PASSED brietest_test.TestOperator (2.0s) PASSED brietest_test.TestPiTRAndBackupInSQL (20.1s) PASSED brietest_test.TestPiTRAndBothEncrypted (4.5s) PASSED brietest_test.TestPiTRAndEncryptedFullBackup (4.6s) PASSED brietest_test.TestPiTRAndEncryptedLogBackup (4.3s) PASSED brietest_test.TestPiTRAndFailureRestore (19.2s) PASSED brietest_test.TestPiTRAndIncrementalRestore (8.4s) PASSED brietest_test.TestPiTRAndManyBackups (31.6s) PASSED brietest_test.TestPiTRAndRestoreFromMid (31.6s) PASSED brietest_test.TestPiTRPauseMessage (3.8s) PASSED brietest_test.TestRestoreMultiTables (16.4s) PASSED brietest_test.TestShowBackupQuery (5.8s) PASSED brietest_test.TestShowBackupQueryRedact (1.4s) Test cases: finished with 21 passing and 0 failing out of 21 test cases Executed 0 out of 1 test: 1 test passes.  [4,409 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 6.0 MiB / 10.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,469 / 4,573] GoCompilePkg br/pkg/restore/restore.a; Downloading br/pkg/restore/restore.a, 9.0 MiB / 11.8 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } INFO: Invocation ID: 19d7c16f-5ede-46cd-b8b2-1db2b76653ad INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_46.3529311184/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: [4,450 / 4,573] GoCompilePkg pkg/executor/internal/querywatch/querywatch.a; Downloading pkg/executor/internal/querywatch/querywatch.a, 7.0 MiB / 11.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,608 / 4,637] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // container [4,530 / 4,571] GoCompilePkg pkg/planner/planner.a; 0s remote-cache ... (6 actions, 0 running) [Pipeline] // dir [Pipeline] } Post stage [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [4,559 / 4,573] [Prepa] Running nogo on //pkg/ddl/ingest/testutil:testutil [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... [4,479 / 4,571] GoCompilePkg br/pkg/backup/backup.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // podTemplate [4,519 / 4,573] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [Pipeline] } [Pipeline] junit Recording test results [Pipeline] // withEnv [Pipeline] } Starting local Bazel server and connecting to it... [4,554 / 4,568] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a [Pipeline] // stage [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 31.4 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [4,560 / 4,571] [Prepa] GoCompilePkg tests/realtikvtest/testutils/testutils.a ... (2 actions, 0 running) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { Loading: [Pipeline] sh Loading: Loading: 0 packages loaded No test report files were found. Configuration error? Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [Pipeline] } [Pipeline] // script [4,523 / 4,571] GoCompilePkg pkg/planner/planner.a; Downloading pkg/planner/planner.a, 10.0 MiB / 10.3 MiB; 0s remote-cache ... (8 actions, 0 running) [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; Downloading tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test, 164.5 MiB / 174.1 MiB; 1s remote-cache [Pipeline] } [4,550 / 4,573] [Prepa] Running nogo on //pkg/store/gcworker:gcworker ... (2 actions, 0 running) [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials INFO: Invocation ID: bc3545be-03a9-493f-9e21-8fd1a32a30c8 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_47.4133693383/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: [Pipeline] } [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; Downloading tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test, 162.9 MiB / 172.1 MiB; 1s remote-cache [Pipeline] // timeout [Pipeline] } [4,547 / 4,573] [Prepa] GoCompilePkg pkg/session/session.a [Pipeline] // stage [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; Downloading tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test, 199.2 MiB / 224.7 MiB; 1s remote-cache [Pipeline] } [Pipeline] // container Target //tests/realtikvtest/addindextest2:addindextest2_test up-to-date: bazel-bin/tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test INFO: Elapsed time: 28.820s, Critical Path: 11.45s INFO: 4338 processes: 4335 remote cache hit, 3 internal. INFO: Build completed successfully, 4338 total actions //tests/realtikvtest/addindextest2:addindextest2_test (cached) PASSED in 88.1s PASSED addindextest2_test.TestAddIndexIngestShowReorgTp (0.7s) PASSED addindextest2_test.TestAlterJobOnDXF (6.4s) PASSED addindextest2_test.TestAlterThreadRightAfterJobFinish (11.7s) PASSED addindextest2_test.TestGlobalSortAddIndexRecoverFromRetryableError (12.9s) PASSED addindextest2_test.TestGlobalSortBasic (9.8s) PASSED addindextest2_test.TestGlobalSortDuplicateErrMsg (4.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange (37.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_backfill (2.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_backfill (13.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_gs_backfill (20.2s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/txn_backfill (1.1s) PASSED addindextest2_test.TestIngestUseGivenTS (3.8s) Test cases: finished with 12 passing and 0 failing out of 12 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // node Target //tests/realtikvtest/addindextest1:addindextest1_test up-to-date: bazel-bin/tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test INFO: Elapsed time: 28.958s, Critical Path: 12.04s INFO: 4269 processes: 4266 remote cache hit, 3 internal. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest1:addindextest1_test (cached) PASSED in 48.4s PASSED addindextest1_test.TestAddIndexDistBasic (12.8s) PASSED addindextest1_test.TestAddIndexDistCancel (6.2s) PASSED addindextest1_test.TestAddIndexDistCancelWithPartition (6.6s) PASSED addindextest1_test.TestAddIndexDistCleanUpBlock (7.3s) PASSED addindextest1_test.TestAddIndexDistLockAcquireFailed (3.2s) PASSED addindextest1_test.TestAddIndexDistPauseAndResume (0.0s) PASSED addindextest1_test.TestAddIndexForCurrentTimestampColumn (2.7s) PASSED addindextest1_test.TestAddIndexInvalidDistTaskVariableSetting (0.3s) PASSED addindextest1_test.TestAddIndexScheduleAway (4.8s) PASSED addindextest1_test.TestAddUKErrorMessage (3.3s) Test cases: finished with 10 passing and 0 failing out of 10 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] // dir [Pipeline] } Post stage [4,558 / 4,571] GoCompilePkg pkg/testkit/external/external.a; Downloading pkg/testkit/external/external.a, 3.2 MiB / 10.1 MiB; 0s remote-cache ... (4 actions, 0 running) [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // dir Post stage [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 1s remote-cache [Pipeline] // withEnv [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] junit Recording test results [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 0s remote-cache Target //tests/realtikvtest/statisticstest:statisticstest_test up-to-date: bazel-bin/tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test INFO: Elapsed time: 30.262s, Critical Path: 14.09s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/statisticstest:statisticstest_test (cached) PASSED in 14.6s PASSED statisticstest_test.TestAsyncMergeFMSketch (1.5s) PASSED statisticstest_test.TestBlockMergeFMSketch (1.3s) PASSED statisticstest_test.TestNewCollationStatsWithPrefixIndex (6.0s) PASSED statisticstest_test.TestNoNeedIndexStatsLoading (3.3s) Test cases: finished with 4 passing and 0 failing out of 4 test cases Executed 0 out of 1 test: 1 test passes.  Target //tests/realtikvtest/addindextest:addindextest_test up-to-date: bazel-bin/tests/realtikvtest/addindextest/addindextest_test_/addindextest_test INFO: Elapsed time: 29.756s, Critical Path: 12.31s INFO: 4272 processes: 4269 remote cache hit, 3 internal. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest:addindextest_test (cached) PASSED in 421.4s PASSED addindextest_test.TestAddForeignKeyWithAutoCreateIndex (21.0s) PASSED addindextest_test.TestAddIndexOnGB18030Bin (0.3s) PASSED addindextest_test.TestAddUKWithSmallIntHandles (3.5s) PASSED addindextest_test.TestAddUniqueDuplicateIndexes (2.9s) PASSED addindextest_test.TestConcurrentDDLCreateGenColIndex (4.7s) PASSED addindextest_test.TestConcurrentDDLCreateMultiColsIndex (6.3s) PASSED addindextest_test.TestConcurrentDDLCreateNonUniqueIndex (21.4s) PASSED addindextest_test.TestConcurrentDDLCreatePrimaryKey (4.0s) PASSED addindextest_test.TestConcurrentDDLCreateUniqueIndex (10.5s) PASSED addindextest_test.TestCreateGenColIndex (8.9s) PASSED addindextest_test.TestCreateMultiColsIndex (55.7s) PASSED addindextest_test.TestCreateNonUniqueIndex (75.0s) PASSED addindextest_test.TestCreatePrimaryKey (10.6s) PASSED addindextest_test.TestCreateUniqueIndex (52.1s) PASSED addindextest_test.TestFailpointsCreateGenColIndex (0.0s) PASSED addindextest_test.TestFailpointsCreateMultiColsIndex (0.0s) PASSED addindextest_test.TestFailpointsCreateNonUniqueIndex (0.0s) PASSED addindextest_test.TestFailpointsCreatePrimaryKeyFailpoints (0.0s) PASSED addindextest_test.TestFailpointsCreateUniqueIndex (0.0s) PASSED addindextest_test.TestIssue51162 (2.8s) PASSED addindextest_test.TestMultiSchemaChangeCreateGenColIndex (9.8s) PASSED addindextest_test.TestMultiSchemaChangeCreateNonUniqueIndex (25.4s) PASSED addindextest_test.TestMultiSchemaChangeCreatePrimaryKey (11.5s) PASSED addindextest_test.TestMultiSchemaChangeCreateUniqueIndex (16.7s) PASSED addindextest_test.TestMultiSchemaChangeMultiColsIndex (10.6s) PASSED addindextest_test.TestPiTRCreateGenColIndex (9.4s) PASSED addindextest_test.TestPiTRCreateMultiColsIndex (10.8s) PASSED addindextest_test.TestPiTRCreateNonUniqueIndex (25.3s) PASSED addindextest_test.TestPiTRCreatePrimaryKey (9.2s) PASSED addindextest_test.TestPiTRCreateUniqueIndex (11.0s) Test cases: finished with 30 passing and 0 failing out of 30 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] // stage [Pipeline] } [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] } Loading: [Pipeline] } [Pipeline] // dir [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; Downloading tests/realtikvtest/txntest/txntest_test_/txntest_test, 117.8 MiB / 224.9 MiB; 0s remote-cache [Pipeline] // dir Post stage Post stage None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // dir [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; Downloading tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test, 182.1 MiB / 224.7 MiB; 1s remote-cache [Pipeline] // dir [Pipeline] junit [Pipeline] junit Recording test results Recording test results [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded No test report files were found. Configuration error? None of the test reports contained any result [Checks API] No suitable checks publisher found. None of the test reports contained any result [Checks API] No suitable checks publisher found. Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { No test report files were found. Configuration error? [Pipeline] sh [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 1s remote-cache [4,573 / 4,573] checking cached actions Target //tests/realtikvtest/sessiontest:sessiontest_test up-to-date: bazel-bin/tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test INFO: Elapsed time: 31.377s, Critical Path: 14.06s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/sessiontest:sessiontest_test (cached) PASSED in 65.3s PASSED sessiontest_test.TestAutoCommitNeedNotLinearizability (0.6s) PASSED sessiontest_test.TestClusterTableSendError (0.5s) PASSED sessiontest_test.TestFailStatementCommitInRetry (0.6s) PASSED sessiontest_test.TestGCOldVersion (13.0s) PASSED sessiontest_test.TestGetTSFailDirtyState (0.6s) PASSED sessiontest_test.TestGetTSFailDirtyStateInretry (1.1s) PASSED sessiontest_test.TestIndexLookUpWithStaticPrune (0.6s) PASSED sessiontest_test.TestIndexReaderWithPaging (1.5s) PASSED sessiontest_test.TestIssue42426 (0.4s) PASSED sessiontest_test.TestIssue57530 (0.6s) PASSED sessiontest_test.TestKill (0.3s) PASSED sessiontest_test.TestKillFlagInBackoff (8.5s) PASSED sessiontest_test.TestPagingActRowsAndProcessKeys (28.4s) PASSED sessiontest_test.TestTiKVClientReadTimeout (3.7s) Test cases: finished with 14 passing and 0 failing out of 14 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] } No test report files were found. Configuration error? No test report files were found. Configuration error? [Pipeline] } [Pipeline] } Target //tests/realtikvtest/pessimistictest:pessimistictest_test up-to-date: bazel-bin/tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test INFO: Elapsed time: 31.740s, Critical Path: 12.73s INFO: 4272 processes: 4269 remote cache hit, 3 internal. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/pessimistictest:pessimistictest_test (cached) PASSED in 60.8s PASSED pessimistictest_test.Test1PCWithSchemaChange (0.0s) PASSED pessimistictest_test.TestAsyncCommitAndForeignKey (0.2s) PASSED pessimistictest_test.TestAsyncCommitCalTSFail (0.2s) PASSED pessimistictest_test.TestAsyncCommitWithSchemaChange (0.0s) PASSED pessimistictest_test.TestAsyncRollBackNoWait (0.3s) PASSED pessimistictest_test.TestBankTransfer (0.2s) PASSED pessimistictest_test.TestBatchPointGetAlreadyLocked (0.2s) PASSED pessimistictest_test.TestBatchPointGetLockIndex (1.2s) PASSED pessimistictest_test.TestBatchPointGetWriteConflict (0.1s) PASSED pessimistictest_test.TestConcurrentInsert (0.2s) PASSED pessimistictest_test.TestDeadlock (0.0s) PASSED pessimistictest_test.TestDupLockInconsistency (0.2s) PASSED pessimistictest_test.TestEndTxnOnLockExpire (5.4s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/CommitBin (1.0s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/CommitTxt (1.0s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/RollbackBin (1.0s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/RollbackTxt (1.0s) PASSED pessimistictest_test.TestFairLockingBasic (0.8s) PASSED pessimistictest_test.TestFairLockingInsert (0.4s) PASSED pessimistictest_test.TestFairLockingLockWithConflictIdempotency (0.3s) PASSED pessimistictest_test.TestFairLockingRetry (0.4s) PASSED pessimistictest_test.TestFirstStatementFail (0.2s) PASSED pessimistictest_test.TestForShareWithPromotion (4.7s) PASSED pessimistictest_test.TestForShareWithPromotionPlanCache (0.7s) PASSED pessimistictest_test.TestGenerateColPointGet (0.3s) PASSED pessimistictest_test.TestInnodbLockWaitTimeout (4.3s) PASSED pessimistictest_test.TestInnodbLockWaitTimeoutWaitStart (1.2s) PASSED pessimistictest_test.TestInsertDupKeyAfterLock (0.2s) PASSED pessimistictest_test.TestInsertDupKeyAfterLockBatchPointGet (0.2s) PASSED pessimistictest_test.TestInsertOnDup (0.1s) PASSED pessimistictest_test.TestIssue28011 (0.4s) PASSED pessimistictest_test.TestIssue28011/BatchSelectForUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/BatchUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/SelectForUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/Update (0.0s) PASSED pessimistictest_test.TestIssue40114 (1.3s) PASSED pessimistictest_test.TestIssue42937 (1.5s) PASSED pessimistictest_test.TestIssueBatchResolveLocks (1.5s) PASSED pessimistictest_test.TestKeyExistsCheck (0.2s) PASSED pessimistictest_test.TestKillStopTTLManager (6.2s) PASSED pessimistictest_test.TestKillWaitLockTxn (6.1s) PASSED pessimistictest_test.TestLazyUniquenessCheck (1.0s) PASSED pessimistictest_test.TestLazyUniquenessCheckForInsertIgnore (0.3s) PASSED pessimistictest_test.TestLazyUniquenessCheckForSimpleInserts (0.2s) PASSED pessimistictest_test.TestLazyUniquenessCheckWithInconsistentReadResult (0.2s) PASSED pessimistictest_test.TestLazyUniquenessCheckWithSavepoint (0.1s) PASSED pessimistictest_test.TestLazyUniquenessCheckWithStatementRetry (0.2s) PASSED pessimistictest_test.TestLockGotKeysInRC (0.2s) PASSED pessimistictest_test.TestLockUnchangedRowKey (0.2s) PASSED pessimistictest_test.TestNonAutoCommitWithPessimisticMode (0.2s) PASSED pessimistictest_test.TestOptimisticConflicts (1.5s) PASSED pessimistictest_test.TestPessimisticAutoCommitTxn (0.2s) PASSED pessimistictest_test.TestPessimisticCommitReadLock (0.2s) PASSED pessimistictest_test.TestPessimisticLockNonExistsKey (0.2s) PASSED pessimistictest_test.TestPessimisticLockOnPartition (0.3s) PASSED pessimistictest_test.TestPessimisticLockReadValue (0.2s) PASSED pessimistictest_test.TestPessimisticReadCommitted (0.3s) PASSED pessimistictest_test.TestPessimisticSerializable (0.4s) PASSED pessimistictest_test.TestPessimisticTxn (1.5s) PASSED pessimistictest_test.TestPessimisticUnionForUpdate (0.1s) PASSED pessimistictest_test.TestPlanCacheSchemaChange (0.2s) PASSED pessimistictest_test.TestPointGetKeyLock (0.0s) PASSED pessimistictest_test.TestPointGetOverflow (0.1s) PASSED pessimistictest_test.TestPointGetWithDeleteInMem (0.2s) PASSED pessimistictest_test.TestPointLockNonExistentKeyWithFairLockingUnderRC (0.4s) PASSED pessimistictest_test.TestPushConditionCheckForPessimisticTxn (0.1s) PASSED pessimistictest_test.TestRCIndexMerge (0.2s) PASSED pessimistictest_test.TestRCPointWriteLockIfExists (8.2s) PASSED pessimistictest_test.TestRCSubQuery (0.2s) PASSED pessimistictest_test.TestRCWaitTSOTwice (0.2s) PASSED pessimistictest_test.TestRollbackWakeupBlockedTxn (0.2s) PASSED pessimistictest_test.TestSelectForUpdateConflictRetry (0.2s) PASSED pessimistictest_test.TestSelectForUpdateNoWait (0.2s) PASSED pessimistictest_test.TestSelectForUpdateWaitSeconds (1.2s) PASSED pessimistictest_test.TestSingleStatementRollback (0.0s) PASSED pessimistictest_test.TestTransactionIsolationAndForeignKey (0.4s) PASSED pessimistictest_test.TestTxnMode (0.2s) PASSED pessimistictest_test.TestTxnWithExpiredPessimisticLocks (0.2s) PASSED pessimistictest_test.TestUseLockCacheInRCMode (0.2s) PASSED pessimistictest_test.TestWaitLockKill (1.2s) Test cases: finished with 80 passing and 0 failing out of 80 test cases Executed 0 out of 1 test: 1 test passes.  [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 1s remote-cache [Pipeline] // dir [Pipeline] // dir [Pipeline] // dir [Pipeline] // script Post stage [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // dir [Pipeline] // dir [Pipeline] // script Post stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] junit Recording test results [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] sh Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] // dir [Pipeline] } Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // withCredentials [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } No test report files were found. Configuration error? [Pipeline] // timeout [Pipeline] // dir [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // dir [Pipeline] } [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox [Pipeline] // stage [Pipeline] // dir [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] // container [Pipeline] } [Pipeline] } [Pipeline] sh No test report files were found. Configuration error? go: downloading go1.23.8 (linux/amd64) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { go: downloading go1.23.8 (linux/amd64) [Pipeline] // container [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // withCredentials Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] } [Pipeline] sh go: downloading go1.23.8 (linux/amd64) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } go: downloading go1.23.8 (linux/amd64) [Pipeline] // withEnv [Pipeline] } Analyzing: target //:gazelle (70 packages loaded, 1649 targets configured) [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } go: downloading go1.23.8 (linux/amd64) [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // podTemplate go: downloading go1.23.8 (linux/amd64) [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [Pipeline] // podTemplate [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // dir Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] // dir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 11s remote-cache, linux-sandbox bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... 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... Starting local Bazel server and connecting to it... 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... 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... Starting local Bazel server and connecting to it... 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: 720efb1b-73c2-434e-a2cc-99d56fb250ab INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.3766324129/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: INFO: Invocation ID: a1ee369a-9541-42bf-99c3-b79eda84a8e7 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.442983941/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5813 targets configured) INFO: Invocation ID: 6eb539ea-00b4-47a7-9bc8-1f28af106ccf INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.2331717212/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: INFO: Invocation ID: bde93e0a-bb33-4459-9d19-487fc5591c0e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.228340701/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: INFO: Invocation ID: decef2a8-9cba-44b9-83a0-cecc7eefa6d1 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.1992640740/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: INFO: Invocation ID: 2fd1bc60-4ce6-46c3-bc14-01bea5142dc3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.3438036783/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (408 packages loaded, 6397 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 96] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5938 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 2.6 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (414 packages loaded, 6359 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/trace, 12.0 MiB / 12.0 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [36 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 5.0 MiB / 8.3 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [384 / 530] GoCompilePkg build/linter/toomanytests/toomanytests.a [for tool]; Downloading build/linter/toomanytests/toomanytests.a; 0s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (4 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.797s, Critical Path: 4.28s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (66 packages loaded, 528 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 196af7a1-1623-492c-8c8d-0c81e22965bb INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_46.3529311184/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (75 packages loaded, 4551 targets configured) 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 //:gazelle (52 packages loaded, 494 targets configured) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.0 MiB / 18.9 MiB; 3s remote-cache ... (6 actions, 0 running) Analyzing: target //:gazelle (75 packages loaded, 4508 targets configured) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Analyzing: target //:gazelle (67 packages loaded, 663 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [204 / 530] GoCompilePkg external/org_uber_go_zap/zap.a [for tool]; Downloading external/org_uber_go_zap/zap.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5497 targets configured) Analyzing: target //:gazelle (99 packages loaded, 5060 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.497s, Critical Path: 4.56s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tools/tazel:tazel (48 packages loaded, 7359 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: b3f511d9-2e5a-4e79-a9eb-812e442a2582 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_47.4133693383/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 (257 packages loaded, 8315 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 5] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (6 packages loaded, 5735 targets configured) [1,130 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/meta_storagepb/meta_storagepb.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (79 packages loaded, 7322 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.712s, Critical Path: 1.39s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tools/tazel:tazel (266 packages loaded, 8399 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 343] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest3/... INFO: Invocation ID: e8883c31-8019-4b78-a785-dc470114cae9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_46.3529311184/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. [1,140 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.9 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1 packages loaded, 0 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.701s, Critical Path: 1.45s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (306 packages loaded, 4225 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (691 packages loaded, 5433 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest4/... INFO: Invocation ID: 19d9e173-cc13-4893-bf90-31019d6422e2 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_47.4133693383/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1012 packages loaded, 7676 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (257 packages loaded, 4604 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1137 packages loaded, 9686 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5924 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (717 packages loaded, 6560 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1245 packages loaded, 10412 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5938 targets configured) Analyzing: target //:gazelle (409 packages loaded, 6290 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1081 packages loaded, 9209 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1378 packages loaded, 11579 targets configured) Analyzing: target //:gazelle (413 packages loaded, 6376 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (172 packages loaded, 5942 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (175 packages loaded, 5927 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Analyzing: target //:gazelle (418 packages loaded, 6402 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1214 packages loaded, 10052 targets configured) Analyzing: target //:gazelle (400 packages loaded, 6292 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5922 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1446 packages loaded, 12352 targets configured) [0 / 79] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (410 packages loaded, 6349 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1339 packages loaded, 11193 targets configured) Analyzing: target //:gazelle (417 packages loaded, 6396 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/go/types.a, 5.0 MiB / 5.9 MiB; 0s remote-cache ... (4 actions, 0 running) [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1510 packages loaded, 12990 targets configured) [23 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 4.4 MiB / 12.2 MiB; 0s remote-cache ... (5 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1424 packages loaded, 12168 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 8.4 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 7.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/buildid, 2.1 MiB / 2.2 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 8.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1672 packages loaded, 13803 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 3.7 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.4 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1571 packages loaded, 12879 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 4.6 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.0 MiB / 8.3 MiB; 2s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 3.9 MiB / 8.3 MiB; 2s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest3:addindextest3_test (1764 packages loaded, 14429 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/buildid, 2.0 MiB / 2.2 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 11.6 MiB / 12.2 MiB; 2s remote-cache ... (4 actions, 0 running) [63 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (5 actions, 0 running) [109 / 530] GoCompilePkg external/org_golang_x_mod/modfile/modfile.a [for tool]; Downloading external/org_golang_x_mod/modfile/modfile.x; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1616 packages loaded, 13468 targets configured) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 6.0 MiB / 8.3 MiB; 2s remote-cache ... (8 actions, 0 running) [30 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 41s remote-cache, linux-sandbox [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 9.8 MiB / 11.8 MiB; 2s remote-cache ... (3 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (7 actions, 0 running) [486 / 530] [Prepa] Running nogo on @bazel_gazelle//flag:flag ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.474s, Critical Path: 4.46s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [44 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [306 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1017/sa1017.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1017/sa1017.a, 127.8 KiB / 358.7 KiB; 0s remote-cache ... (7 actions, 0 running) [408 / 530] GoCompilePkg build/linter/forcetypeassert/forcetypeassert.a [for tool]; Downloading build/linter/forcetypeassert/forcetypeassert.a; 0s remote-cache ... (7 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 4.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.835s, Critical Path: 4.81s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13799 targets configured) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 1bc24b15-fab3-4138-a7c9-d0d7cded7b6b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.3766324129/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes [159 / 530] GoCompilePkg external/org_golang_x_mod/modfile/modfile.a [for tool]; Downloading external/org_golang_x_mod/modfile/modfile.a, 388.7 KiB / 967.5 KiB; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.908s, Critical Path: 4.22s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [238 / 530] GoLink external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle; Downloading external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest4:addindextest4_test (1763 packages loaded, 14424 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt 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) [338 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1020/sa1020.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1020/sa1020.x; 0s remote-cache ... (8 actions, 0 running) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 9b1465ab-7c3d-4559-8589-fbdf528ad998 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.442983941/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: [18 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 9a003b76-1bb3-49d0-8a17-6c2090b72d70 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) INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.2331717212/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.204s, Critical Path: 4.26s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.887s, Critical Path: 5.10s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.129s, Critical Path: 4.34s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: ec5887ac-755d-447b-93ef-6ae6aebb1ef5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.228340701/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 3cf7eb55-2bf7-4616-882a-bf94425ffb10 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.3438036783/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 6.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) 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_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 69924104-04c8-43fc-ba0a-a300148c788b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_23_40_58.1992640740/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=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Analyzing: target //tools/tazel:tazel (3 packages loaded, 5354 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) 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) 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) [368 / 4,571] GoCompilePkg external/io_k8s_apimachinery/pkg/conversion/conversion.a; Downloading external/io_k8s_apimachinery/pkg/conversion/conversion.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5489 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5466 targets configured) Analyzing: target //tools/tazel:tazel (42 packages loaded, 7270 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5529 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5468 targets configured) [788 / 4,571] GoCompilePkg external/com_github_pingcap_kvproto/pkg/disk_usage/disk_usage.a; 0s remote-cache ... (8 actions, 0 running) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (49 packages loaded, 7307 targets configured) Analyzing: target //tools/tazel:tazel (43 packages loaded, 7270 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5420 targets configured) Analyzing: target //tools/tazel:tazel (251 packages loaded, 7915 targets configured) [1,068 / 4,571] GoCompilePkg external/org_golang_google_grpc/grpc.a; 0s remote-cache ... (8 actions, 0 running) [381 / 4,568] GoCompilePkg pkg/errno/errno.a; Downloading pkg/errno/errno.a, 527.8 KiB / 1.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (256 packages loaded, 8304 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8215 targets configured) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7307 targets configured) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7355 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 34] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (258 packages loaded, 8315 targets configured) [1,388 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/aws/signer/v4/signer.a; 0s remote-cache ... (5 actions, 0 running) [787 / 4,568] GoCompilePkg external/com_github_cockroachdb_pebble/internal/manual/manual.a; Downloading external/com_github_cockroachdb_pebble/internal/manual/manual_/manual.a.cgo/_cgo_imports.go; 0s remote-cache ... (8 actions, 0 running) [1,109 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8284 targets configured) Analyzing: target //tools/tazel:tazel (256 packages loaded, 8304 targets configured) [1,121 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (7 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 182] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 361] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) ./t/ddl/db_integration.test: ok! 726 test cases passed, take time 51.523463188 s [1,561 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [1,119 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (5 actions, 0 running) [1,055 / 4,568] GoCompilePkg external/com_github_pingcap_kvproto/pkg/autoid/autoid.a; Downloading external/com_github_pingcap_kvproto/pkg/autoid/autoid.a; 0s remote-cache ... (8 actions, 0 running) [1,106 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.4 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.985s, Critical Path: 1.51s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.812s, Critical Path: 1.55s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' [1,074 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/meta_storagepb/meta_storagepb.a; 0s remote-cache ... (6 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.930s, Critical Path: 1.46s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions [1,102 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (8 actions, 0 running) INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' [2,373 / 4,571] Validating nogo output for //pkg/util/checksum:checksum; 0s remote-cache ... (6 actions, 0 running) [1,412 / 4,568] GoCompilePkg external/com_github_cockroachdb_pebble/internal/keyspan/keyspan.a; 0s remote-cache ... (7 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.600s, Critical Path: 1.50s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.806s, Critical Path: 1.43s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.814s, Critical Path: 1.45s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest4/... INFO: Invocation ID: 57dfadb1-58e6-444f-9ab1-b380332ceb25 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_58.3766324129/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/flashbacktest/... INFO: Invocation ID: f8fc73d0-bc4c-490b-b4f9-c104ddb27871 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_58.442983941/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded [3,670 / 4,571] GoCompilePkg pkg/session/txninfo/txninfo.a; 0s remote-cache ... (7 actions, 0 running) [1,700 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 26.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest/... INFO: Invocation ID: 6b93bb2b-62c1-480b-b5f6-bc7119625c53 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_58.2331717212/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1 packages loaded, 0 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1 packages loaded, 0 targets configured) [4,059 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 38.6 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [1,885 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; 0s remote-cache ... (7 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest3/... INFO: Invocation ID: cb047879-5b3f-48af-a0c7-95dd52d86d06 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_58.1992640740/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest2/... INFO: Invocation ID: 792919e6-e02a-42bc-a455-d59bd34036a0 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_58.228340701/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (267 packages loaded, 5149 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (227 packages loaded, 5170 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/pipelineddmltest/... INFO: Invocation ID: c8b6a09b-39f6-4a17-af96-202559a8eb92 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_23_40_58.3438036783/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/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 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1 packages loaded, 0 targets configured) [4,163 / 4,571] GoCompilePkg pkg/disttask/framework/scheduler/scheduler.a; 0s remote-cache ... (8 actions, 0 running) [3,379 / 4,568] Running nogo on @org_golang_x_oauth2//internal:internal; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (344 packages loaded, 4351 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (538 packages loaded, 6349 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (241 packages loaded, 4793 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (671 packages loaded, 6157 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (52 packages loaded, 220 targets configured) [4,374 / 4,571] [Prepa] GoCompilePkg br/pkg/metautil/metautil.a ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (150 packages loaded, 5099 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (806 packages loaded, 7755 targets configured) [3,924 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 42.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1008 packages loaded, 8509 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (423 packages loaded, 5618 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (959 packages loaded, 7978 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (638 packages loaded, 5970 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (453 packages loaded, 6149 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1084 packages loaded, 9813 targets configured) [4,411 / 4,571] GoCompilePkg pkg/sessiontxn/staleread/staleread.a; 0s remote-cache ... (8 actions, 0 running) [4,155 / 4,568] GoCompilePkg pkg/ddl/serverstate/serverstate.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1117 packages loaded, 10167 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (626 packages loaded, 6925 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1076 packages loaded, 9626 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (947 packages loaded, 7979 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (984 packages loaded, 8103 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1171 packages loaded, 10431 targets configured) [4,503 / 4,571] GoCompilePkg br/pkg/restore/snap_client/snap_client.a; Downloading br/pkg/restore/snap_client/snap_client.a, 7.0 MiB / 12.2 MiB; 0s remote-cache ... (3 actions, 0 running) [4,385 / 4,568] GoCompilePkg pkg/lightning/backend/local/local.a; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1236 packages loaded, 10889 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (960 packages loaded, 8046 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1162 packages loaded, 10480 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1040 packages loaded, 9737 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1094 packages loaded, 10093 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1325 packages loaded, 11767 targets configured) [4,419 / 4,568] GoCompilePkg br/pkg/glue/glue.a; Downloading br/pkg/glue/glue.a, 8.5 MiB / 10.7 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1387 packages loaded, 12274 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1072 packages loaded, 9832 targets configured) [4,542 / 4,571] [Prepa] GoCompilePkg pkg/session/session.a Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1263 packages loaded, 11259 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1202 packages loaded, 10499 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1231 packages loaded, 11080 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1437 packages loaded, 12866 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1347 packages loaded, 12013 targets configured) [4,508 / 4,568] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 28.8 MiB / 46.0 MiB; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1514 packages loaded, 13221 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1223 packages loaded, 10904 targets configured) [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; Downloading tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test, 139.1 MiB / 172.2 MiB; 0s remote-cache Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1397 packages loaded, 12432 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1379 packages loaded, 12435 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1571 packages loaded, 13620 targets configured) [4,542 / 4,568] [Prepa] GoCompilePkg pkg/session/session.a Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1591 packages loaded, 13655 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1371 packages loaded, 12150 targets configured) Target //tests/realtikvtest/addindextest3:addindextest3_test up-to-date: bazel-bin/tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test INFO: Elapsed time: 30.015s, Critical Path: 12.23s INFO: 4272 processes: 4269 remote cache hit, 3 internal. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest3:addindextest3_test (cached) PASSED in 70.2s PASSED addindextest3_test.TestAddEmptyMultiValueIndex (0.5s) PASSED addindextest3_test.TestAddIndexAdvanceWatermarkFailed (7.1s) PASSED addindextest3_test.TestAddIndexBackfillLostUpdate (2.8s) PASSED addindextest3_test.TestAddIndexDiskQuotaTS (2.9s) PASSED addindextest3_test.TestAddIndexImportFailed (1.7s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorker (0.6s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorkerCountFail (0.9s) PASSED addindextest3_test.TestAddIndexIngestEmptyTable (0.3s) PASSED addindextest3_test.TestAddIndexIngestFailures (3.3s) PASSED addindextest3_test.TestAddIndexIngestLimitOneBackend (2.6s) PASSED addindextest3_test.TestAddIndexIngestMemoryUsage (0.6s) PASSED addindextest3_test.TestAddIndexIngestRestoredData (0.5s) PASSED addindextest3_test.TestAddIndexIngestUniqueKey (1.1s) PASSED addindextest3_test.TestAddIndexIngestWriterCountOnPartitionTable (6.3s) PASSED addindextest3_test.TestAddIndexLoadTableRangeError (1.9s) PASSED addindextest3_test.TestAddIndexMockFlushError (0.5s) PASSED addindextest3_test.TestAddIndexPresplitFunctional (2.9s) PASSED addindextest3_test.TestAddIndexPresplitIndexRegions (4.1s) PASSED addindextest3_test.TestAddIndexRecoverOnDuplicateCheck (3.3s) PASSED addindextest3_test.TestAddIndexRemoteDuplicateCheck (0.8s) PASSED addindextest3_test.TestAddIndexSplitTableRanges (1.7s) PASSED addindextest3_test.TestAddUniqueIndexDuplicatedError (0.4s) PASSED addindextest3_test.TestBackendCtxConcurrentUnregister (0.3s) PASSED addindextest3_test.TestBackfillOperatorPipeline (0.7s) PASSED addindextest3_test.TestBackfillOperatorPipelineException (0.8s) PASSED addindextest3_test.TestBackfillOperatorPipelineException/github.com/pingcap/tidb/pkg/ddl/mockFlushError (0.0s) PASSED addindextest3_test.TestBackfillOperatorPipelineException/github.com/pingcap/tidb/pkg/ddl/mockScanRecordError (0.0s) PASSED addindextest3_test.TestBackfillOperatorPipelineException/github.com/pingcap/tidb/pkg/ddl/mockWriteLocalError (0.0s) PASSED addindextest3_test.TestBackfillOperatorPipelineException/github.com/pingcap/tidb/pkg/ddl/scanRecordExec (0.0s) PASSED addindextest3_test.TestBackfillOperatorPipelineException/github.com/pingcap/tidb/pkg/ddl/writeLocalExec (0.0s) PASSED addindextest3_test.TestBackfillOperators (0.8s) PASSED addindextest3_test.TestConcFastReorg (3.2s) PASSED addindextest3_test.TestDDLTestEstimateTableRowSize (2.1s) PASSED addindextest3_test.TestFirstLitSlowStart (4.6s) PASSED addindextest3_test.TestIngestMVIndexOnPartitionTable (3.7s) PASSED addindextest3_test.TestIssue55808 (2.4s) PASSED addindextest3_test.TestMockMemoryUsedUp (0.0s) PASSED addindextest3_test.TestTiDBEncodeKeyTempIndexKey (2.7s) PASSED addindextest3_test.TestTuneWorkerPoolSize (0.9s) Test cases: finished with 39 passing and 0 failing out of 39 test cases Executed 0 out of 1 test: 1 test passes.  Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1474 packages loaded, 13189 targets configured) [Pipeline] } Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1438 packages loaded, 12928 targets configured) [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1429 packages loaded, 12930 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1720 packages loaded, 14589 targets configured) None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1463 packages loaded, 13145 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1509 packages loaded, 13652 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1577 packages loaded, 13455 targets configured) [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; Downloading tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test, 123.5 MiB / 172.0 MiB; 0s remote-cache [Pipeline] } No test report files were found. Configuration error? Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14601 targets configured) [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1502 packages loaded, 13587 targets configured) [Pipeline] // container Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14795 targets configured) [Pipeline] } Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1602 packages loaded, 13928 targets configured) [Pipeline] // withEnv [Pipeline] } Target //tests/realtikvtest/addindextest4:addindextest4_test up-to-date: bazel-bin/tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test INFO: Elapsed time: 29.061s, Critical Path: 13.02s INFO: 4269 processes: 4266 remote cache hit, 3 internal. INFO: Build completed successfully, 4269 total actions [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1786 packages loaded, 15206 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest4:importintotest4_test (1786 packages loaded, 15228 targets configured). INFO: Found 1 test target... //tests/realtikvtest/addindextest4:addindextest4_test (cached) PASSED in 1.1s PASSED addindextest4_test.TestAddIndexIngestRecoverPartition (0.0s) Test cases: finished with 1 passing and 0 failing out of 1 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] // withEnv [Pipeline] } [Pipeline] } Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14465 targets configured) [Pipeline] // stage Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1638 packages loaded, 14267 targets configured) [Pipeline] // dir [Pipeline] } Post stage [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1671 packages loaded, 14465 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1692 packages loaded, 14549 targets configured) None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } INFO: Analyzed target //tests/realtikvtest/flashbacktest:flashbacktest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh INFO: Analyzed target //tests/realtikvtest/importintotest:importintotest_test (1822 packages loaded, 15379 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1693 packages loaded, 14598 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1671 packages loaded, 14465 targets configured) No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv INFO: Analyzed target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [Pipeline] } [Pipeline] // node INFO: Analyzed target //tests/realtikvtest/importintotest2:importintotest2_test (1785 packages loaded, 15224 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [Pipeline] } [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.9 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [Pipeline] // podTemplate [21 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 10.0 MiB / 12.4 MiB; 1s remote-cache ... (4 actions, 0 running) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14598 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest3:importintotest3_test (1785 packages loaded, 15224 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [21 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 1s remote-cache ... (3 actions, 0 running) [23 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 9.0 MiB / 9.3 MiB; 2s remote-cache ... (7 actions, 0 running) [23 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 12.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/runtime.a, 11.1 MiB / 12.4 MiB; 0s remote-cache ... (3 actions, 0 running) [92 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (7 actions, 0 running) [228 / 4,642] GoCompilePkg external/io_k8s_klog_v2/internal/sloghandler/sloghandler.a; Downloading external/io_k8s_klog_v2/internal/sloghandler/sloghandler.a; 0s remote-cache ... (8 actions, 0 running) [310 / 4,573] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 5.3 MiB / 6.0 MiB; 0s remote-cache ... (8 actions, 0 running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) [533 / 4,750] GoCompilePkg external/org_golang_google_genproto_googleapis_api/api.a; Downloading external/org_golang_google_genproto_googleapis_api/api.x; 0s remote-cache ... (8 actions, 0 running) [22 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 18.9 MiB; 2s remote-cache ... (6 actions, 0 running) [597 / 4,642] GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 2.1 MiB / 9.3 MiB; 0s remote-cache ... (7 actions, 0 running) [45 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (7 actions, 0 running) [654 / 4,573] GoCompilePkg external/co_honnef_go_tools/simple/s1036/s1036.a [for tool]; Downloading external/co_honnef_go_tools/simple/s1036/s1036.a; 0s remote-cache ... (8 actions, 0 running) [198 / 4,573] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 6.0 MiB / 6.0 MiB; 0s remote-cache ... (8 actions, 0 running) [366 / 4,639] GoCompilePkg external/org_golang_google_protobuf/internal/impl/impl.a; Downloading external/org_golang_google_protobuf/internal/impl/impl.a, 6.0 MiB / 6.8 MiB; 0s remote-cache ... (8 actions, 0 running) [861 / 4,642] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 8.3 MiB / 9.3 MiB; 0s remote-cache ... (8 actions, 0 running) [919 / 4,750] GoCompilePkg external/com_github_apache_arrow_go_v12/internal/utils/utils.a; 0s remote-cache ... (8 actions, 0 running) [1,048 / 4,573] GoCompilePkg external/com_google_cloud_go_iam/iam.a; Downloading external/com_google_cloud_go_iam/iam.a; 0s remote-cache ... (8 actions, 0 running) [633 / 4,573] GoCompilePkg external/com_github_cockroachdb_pebble/internal/intern/intern.a; Downloading external/com_github_cockroachdb_pebble/internal/intern/intern.a; 0s remote-cache ... (8 actions, 0 running) [409 / 4,639] GoCompilePkg external/com_github_shirou_gopsutil_v3/internal/common/common.a; Downloading external/com_github_shirou_gopsutil_v3/internal/common/common.a, 428.1 KiB / 781.7 KiB; 0s remote-cache ... (8 actions, 0 running) [658 / 4,639] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 6.0 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,141 / 4,750] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 9.2 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,295 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 4.7 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,053 / 4,642] GoCompilePkg external/io_k8s_api/core/v1/core.a; 0s remote-cache ... (8 actions, 0 running) [978 / 4,573] GoCompilePkg external/com_github_cockroachdb_errors/safedetails/safedetails.a; 0s remote-cache ... (8 actions, 0 running) [764 / 4,639] GoCompilePkg external/com_github_pingcap_badger/badger.a; 0s remote-cache ... (8 actions, 0 running) [944 / 4,639] GoCompilePkg external/org_golang_x_tools/go/analysis/passes/sortslice/sortslice.a [for tool]; 0s remote-cache ... (7 actions, 0 running) [1,320 / 4,750] GoCompilePkg external/com_github_aliyun_alibaba_cloud_sdk_go/sdk/auth/signers/signers.a; Downloading external/com_github_aliyun_alibaba_cloud_sdk_go/sdk/auth/signers/signers.x; 0s remote-cache ... (8 actions, 0 running) [1,459 / 4,573] GoCompilePkg build/linter/staticcheck/S1025.a [for tool]; Downloading build/linter/staticcheck/S1025.a; 0s remote-cache ... (8 actions, 0 running) [1,205 / 4,642] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 19.2 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,156 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [1,023 / 4,639] GoCompilePkg external/com_github_vbauerster_mpb_v7/mpb.a; Downloading external/com_github_vbauerster_mpb_v7/mpb.a; 0s remote-cache ... (8 actions, 0 running) [1,752 / 4,750] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/transaction/transaction.a; 0s remote-cache ... (8 actions, 0 running) [1,141 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 23.8 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,339 / 4,642] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a, 7.0 MiB / 7.5 MiB; 0s remote-cache ... (8 actions, 0 running) [1,150 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 54.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [2,765 / 4,573] Running nogo on @com_github_azure_azure_sdk_for_go_sdk_azcore//internal/log:log; Downloading external/com_github_azure_azure_sdk_for_go_sdk_azcore/internal/log/log.facts; 0s remote-cache ... (8 actions, 0 running) [3,421 / 4,750] GoCompilePkg br/pkg/rtree/rtree.a; Downloading br/pkg/rtree/rtree.a; 0s remote-cache ... (8 actions, 0 running) [1,303 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 2.7 MiB / 12.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,282 / 4,639] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5012/sa5012.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa5012/sa5012.x; 0s remote-cache ... (8 actions, 0 running) [1,925 / 4,642] GoCompilePkg pkg/types/parser_driver/parser_driver.a; Downloading pkg/types/parser_driver/parser_driver.a, 47.8 KiB / 907.4 KiB; 0s remote-cache ... (8 actions, 0 running) [1,335 / 4,639] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4017/sa4017.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4017/sa4017.a, 17.2 KiB / 366.8 KiB; 0s remote-cache ... (8 actions, 0 running) [3,778 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 11.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [3,997 / 4,750] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 64.4 MiB / 108.6 MiB; 0s remote-cache ... (7 actions, 0 running) [1,525 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a; Downloading external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a, 1023.9 KiB / 1.9 MiB; 0s remote-cache ... (7 actions, 0 running) [1,549 / 4,639] GoCompilePkg external/com_github_tikv_client_go_v2/tikv/tikv.a; 0s remote-cache ... (7 actions, 0 running) [3,376 / 4,642] Validating nogo output for @com_github_aws_aws_sdk_go//aws/credentials/stscreds:stscreds; 0s remote-cache ... (8 actions, 0 running) [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a ... (7 actions, 0 running) [2,980 / 4,573] Running nogo on @com_google_cloud_go_kms//apiv1/kmspb:kmspb; Downloading external/com_google_cloud_go_kms/apiv1/kmspb/kmspb.facts; 0s remote-cache ... (8 actions, 0 running) [2,086 / 4,639] GoCompilePkg pkg/session/metrics/metrics.a; 0s remote-cache ... (8 actions, 0 running) [3,083 / 4,639] GoCompilePkg pkg/sessionctx/stmtctx/stmtctx.a; 0s remote-cache ... (8 actions, 0 running) [4,312 / 4,750] GoCompilePkg pkg/store/copr/copr.a; 0s remote-cache ... (8 actions, 0 running) [4,307 / 4,573] GoCompilePkg pkg/statistics/handle/usage/predicatecolumn/predicatecolumn.a; Downloading pkg/statistics/handle/usage/predicatecolumn/predicatecolumn.x, 735.8 KiB / 759.6 KiB; 0s remote-cache ... (8 actions, 0 running) [3,816 / 4,642] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 73.0 MiB / 108.6 MiB; 0s remote-cache ... (6 actions, 0 running) [3,732 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 67.1 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [3,580 / 4,639] Running nogo on @com_github_cockroachdb_pebble//internal/rangekey:rangekey; Downloading external/com_github_cockroachdb_pebble/internal/rangekey/rangekey.facts; 0s remote-cache ... (8 actions, 0 running) [3,742 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 50.1 MiB / 108.6 MiB; 0s remote-cache ... (6 actions, 0 running) [4,544 / 4,750] [Prepa] GoCompilePkg pkg/ddl/ingest/ingest.a [4,419 / 4,573] GoCompilePkg br/pkg/glue/glue.a; Downloading br/pkg/glue/glue.a, 3.3 MiB / 11.9 MiB; 0s remote-cache ... (8 actions, 0 running) [4,232 / 4,642] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; Downloading pkg/executor/aggfuncs/aggfuncs.a, 5.6 MiB / 5.9 MiB; 0s remote-cache ... (8 actions, 0 running) [4,166 / 4,573] GoCompilePkg pkg/planner/core/operator/physicalop/physicalop.a; Downloading pkg/planner/core/operator/physicalop/physicalop.a, 895.8 KiB / 918.5 KiB; 0s remote-cache ... (8 actions, 0 running) [3,848 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 105.5 MiB / 108.6 MiB; 0s remote-cache ... (5 actions, 0 running) [4,596 / 4,750] GoCompilePkg pkg/executor/internal/querywatch/querywatch.a; 0s remote-cache ... (8 actions, 0 running) [4,165 / 4,639] GoCompilePkg pkg/planner/property/property.a; Downloading pkg/planner/property/property.a; 0s remote-cache ... (7 actions, 0 running) [4,439 / 4,642] GoCompilePkg pkg/statistics/handle/handle.a; Downloading pkg/statistics/handle/handle.a; 0s remote-cache ... (2 actions, 0 running) [4,270 / 4,639] GoCompilePkg pkg/store/mockstore/unistore/server/server.a; Downloading pkg/store/mockstore/unistore/server/server.a, 63.8 KiB / 604.9 KiB; 0s remote-cache ... (7 actions, 0 running) [4,508 / 4,573] GoCompilePkg br/pkg/restore/snap_client/snap_client.a; Downloading br/pkg/restore/snap_client/snap_client.a, 5.2 MiB / 13.6 MiB; 0s remote-cache ... (3 actions, 0 running) [4,666 / 4,750] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (2 actions, 0 running) [4,379 / 4,573] [Prepa] GoCompilePkg br/pkg/metautil/metautil.a [4,360 / 4,639] GoCompilePkg pkg/statistics/handle/types/types.a; 0s remote-cache ... (8 actions, 0 running) [4,547 / 4,573] [Prepa] GoCompilePkg pkg/session/session.a [4,478 / 4,642] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 0s remote-cache ... (8 actions, 0 running) [4,423 / 4,573] GoCompilePkg pkg/plugin/plugin.a; Downloading pkg/plugin/plugin.a, 8.1 MiB / 11.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,463 / 4,639] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [4,475 / 4,639] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [4,703 / 4,750] [Prepa] GoCompilePkg pkg/server/handler/handler.a ... (4 actions, 0 running) [4,566 / 4,642] GoCompilePkg br/pkg/restore/internal/prealloc_db/prealloc_db.a; Downloading br/pkg/restore/internal/prealloc_db/prealloc_db.a, 11.3 MiB / 11.5 MiB; 0s remote-cache ... (4 actions, 0 running) [4,507 / 4,573] GoCompilePkg br/pkg/backup/backup.a; 0s remote-cache ... (4 actions, 0 running) [4,516 / 4,639] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 0s remote-cache ... (8 actions, 0 running) [4,529 / 4,639] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 0s remote-cache ... (8 actions, 0 running) [4,745 / 4,750] [Prepa] GoCompilePkgExternal tests/realtikvtest/importintotest/importintotest_test_test.external.a [4,595 / 4,642] GoCompilePkg pkg/planner/planner.a; 0s remote-cache ... (7 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; Downloading tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test, 139.1 MiB / 224.7 MiB; 0s remote-cache [4,538 / 4,573] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 0s remote-cache ... (3 actions, 0 running) [4,579 / 4,639] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 42.9 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,579 / 4,639] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 46.0 MiB / 53.0 MiB; 0s remote-cache ... (2 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 1s remote-cache INFO: From Testing //tests/realtikvtest/flashbacktest:flashbacktest_test: ==================== Test output for //tests/realtikvtest/flashbacktest:flashbacktest_test: === RUN TestFlashback [2025/04/05 23:09:27.104 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:27.104 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:27.105 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:27.106 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:27.106 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:27.106 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:27.106 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:27.106 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:27.106 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:27.107 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:27.107 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:27.112 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:27.118 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:27.119 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:27.120 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:27.142 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:27.142 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:27.147 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:27.147 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:27.158 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:27.180 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:27.203 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:27.238 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=756] ["lease id"=3eaa960835af6efc] [2025/04/05 23:09:27.240 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:27.251 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashback\n\ttests/realtikvtest/flashbacktest/flashback_test.go:65\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:27.355 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.892574ms] [2025/04/05 23:09:27.355 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:27.357 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:09:27.357 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:27.357 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:27.359 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:27.360 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:27.360 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245941329920/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:27.361 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:27.361 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:27.361 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [2025/04/05 23:09:27.363 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6966] [ownerID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:27.363 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:27.363 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ownerKey=/tidb/ddl/fg/owner/2231960835af6966] [currRev=95] [2025/04/05 23:09:27.364 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:27.364 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:27.364 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:27.364 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835af6968] [ownerID=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [op=none] [2025/04/05 23:09:27.365 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [2025/04/05 23:09:27.365 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [ownerKey=/tidb/br-stream/owner/2231960835af6968] [currRev=96] [2025/04/05 23:09:27.365 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6966] [ownerID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:27.365 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:27.365 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:27.368 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:27.383 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:09:27.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.383 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:09:27.388 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.532 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=129.337886ms] [2025/04/05 23:09:27.532 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:27.538 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:27.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:09:27.541 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=139.841814ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.554 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.569 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:09:27.569 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:09:27.571 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:09:27.575 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Europe/Berlin] [2025/04/05 23:09:27.601 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:27.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.600 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:27.609 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.664 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.472098ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.668 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:27.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:09:27.670 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=15.14394ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:09:27.723 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:27.738 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:09:27.738 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:27.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.744 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.121423ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.767 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:27.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:09:27.768 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=8.915839ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.780 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.792 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:09:27.793 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:09:27.806 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:09:27.806 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:27.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.832 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.040195ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.835 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:27.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:09:27.837 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=9.303898ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.848 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.861 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:09:27.861 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:09:27.882 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:27.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.882 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:27.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.928 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.602461ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.931 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:27.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:09:27.933 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.779983ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.948 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.969 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:09:27.969 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:27.984 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:27.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.984 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:27.991 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.813147ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.018 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.018 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:09:28.020 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=10.098638ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.031 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.046 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:09:28.046 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:28.061 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.061 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:28.067 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.089 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.58384ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.093 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.093 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:09:28.094 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.470756ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.106 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.121 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:09:28.121 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:28.134 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.134 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.139 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.157 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.764862ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.160 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:09:28.162 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.293766ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.184 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:09:28.184 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:09:28.197 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.197 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:28.203 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.836964ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.224 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:09:28.226 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=8.733033ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:09:28.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:09:28.263 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:09:28.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.23564ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.294 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:09:28.296 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=9.083554ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.306 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.320 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:09:28.320 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:09:28.334 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.334 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.293145ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.362 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.365 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:09:28.367 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=9.852131ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.379 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.393 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:09:28.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:09:28.395 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:28.410 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.410 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.272141ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.445 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:09:28.447 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=9.925713ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.460 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.476 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:09:28.476 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:09:28.491 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.491 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.497 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=3.899465ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.527 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.527 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:09:28.528 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=12.100101ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.540 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.555 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:09:28.556 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:09:28.570 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.570 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.576 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.149969ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.609 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:09:28.611 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.848436ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.623 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:09:28.637 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:28.652 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.658 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.679 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.311089ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.682 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.683 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:09:28.684 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=9.787553ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.696 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.709 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:09:28.710 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:28.724 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.724 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.730 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.614528ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.755 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:09:28.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=10.845566ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.783 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:09:28.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:28.799 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.799 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:28.805 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.129227ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.829 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:09:28.831 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=9.318528ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.843 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.857 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:09:28.857 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:09:28.872 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.872 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:09:28.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.237435ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.902 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:09:28.904 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=9.671339ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:09:28.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:09:28.947 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:28.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.947 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:28.953 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.210049ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:28.984 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:28.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:09:28.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=10.805897ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.999 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.016 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:09:29.016 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:29.038 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.038 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.044 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.169161ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.068 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:09:29.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=9.319456ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.081 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:09:29.094 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:09:29.107 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.112 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:29.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.814153ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.134 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:09:29.135 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.732115ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.146 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.158 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:09:29.159 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:09:29.171 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.171 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:09:29.177 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.193 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.484712ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.196 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:09:29.198 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=8.608387ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.208 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.219 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:09:29.219 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:09:29.234 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.72206ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.266 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:09:29.268 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=9.627929ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.280 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:09:29.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:09:29.308 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.308 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.061988ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.336 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:09:29.338 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.858752ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.360 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:29.361 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2379] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 23:09:29.366 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:09:29.366 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:29.381 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.381 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:09:29.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.406 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.071189ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:09:29.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.574052ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.423 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.435 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:09:29.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:09:29.449 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.449 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.472 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.87811ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.476 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:09:29.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.962627ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.488 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.500 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:09:29.501 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:09:29.515 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.515 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.520 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.539 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.980226ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.543 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:09:29.545 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.862589ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.556 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.569 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:09:29.569 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:29.583 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.583 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.606 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.867879ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.609 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:09:29.611 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.52494ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.621 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:09:29.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:09:29.635 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:29.647 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.647 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.653 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.673 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.214663ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.677 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:09:29.678 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.726431ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.689 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.703 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:09:29.703 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:29.717 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.717 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.492088ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.745 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:09:29.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.178863ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.758 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:09:29.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:29.787 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.787 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:29.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.814 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.818189ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.817 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.817 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:09:29.819 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=9.64997ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.830 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.844 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:09:29.844 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:29.861 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.861 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:09:29.867 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.409276ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.898 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.898 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:09:29.900 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=9.964038ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.912 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:09:29.930 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:09:29.942 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.942 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:09:29.947 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.962 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.561205ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.966 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:29.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:09:29.967 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.392345ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.977 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.988 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:09:29.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:09:30.007 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:29.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.007 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:09:30.013 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.366704ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:30.046 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:09:30.048 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=9.829323ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.061 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:09:30.090 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.090 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:09:30.096 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.286686ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.119 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:09:30.121 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=7.916649ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.132 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.150 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:09:30.150 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:09:30.164 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:30.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.952532ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.192 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:09:30.193 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.931487ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.204 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.216 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:09:30.216 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:09:30.230 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.230 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:30.235 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.858442ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.256 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.256 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:09:30.258 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.561421ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.269 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.281 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:09:30.281 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:09:30.297 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.297 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:30.304 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.332 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.475771ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.335 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:09:30.337 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.274243ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.350 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.368 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:09:30.368 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:09:30.384 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.384 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:30.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.416 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.189822ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.420 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.420 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:09:30.422 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=10.445862ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.451 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:09:30.451 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:09:30.468 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.469 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:30.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.504 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.5781ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.508 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.508 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:09:30.510 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.369946ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.523 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.540 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:09:30.541 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:09:30.559 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.559 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:30.566 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.750129ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.599 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.599 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:09:30.601 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.787672ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.634 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:09:30.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:30.652 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:30.658 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.937981ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.692 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:09:30.694 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.962961ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.707 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.725 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:09:30.726 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:30.743 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.743 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:30.749 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.457003ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.780 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.781 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:09:30.782 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=10.314848ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.795 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.812 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:09:30.813 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:09:30.828 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.828 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:09:30.834 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.858 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.729957ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.861 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.861 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:09:30.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=9.177225ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.875 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.891 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:09:30.891 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:09:30.907 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.907 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:30.913 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.805481ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.941 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.941 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:09:30.942 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.522807ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.954 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:09:30.970 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:30.994 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.994 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:09:31.001 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.033 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.878913ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.037 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.037 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:09:31.039 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=11.11693ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.052 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.071 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:09:31.071 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:09:31.087 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.087 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:31.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.859982ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.119 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:09:31.121 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=7.971029ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.132 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.148 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:09:31.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:31.161 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.161 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:09:31.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.184 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.944748ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.188 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.188 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:09:31.189 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.694467ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.200 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.212 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:09:31.212 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:09:31.225 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.225 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.230 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.249 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.051607ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.252 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.252 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:09:31.254 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.616489ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.265 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.277 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:09:31.278 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:09:31.279 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:31.291 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.291 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:09:31.297 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.316 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.112871ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.319 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.319 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:09:31.321 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.66557ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.332 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.344 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:09:31.344 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:09:31.355 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.355 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:09:31.360 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.368 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:31.368 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:31.368 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:31.368 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:31.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=647.929µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:31.376 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:09:31.378 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.352982ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:09:31.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:09:31.411 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.411 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:09:31.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.434 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.783747ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:31.437 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.437 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:09:31.439 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.180364ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.449 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.460 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:09:31.477 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.477 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:09:31.483 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.508 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.221121ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.512 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.512 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:09:31.513 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.870762ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.526 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:09:31.542 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:09:31.557 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.557 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:09:31.563 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.218133ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.586 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:09:31.588 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=9.287529ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.599 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:09:31.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:09:31.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:09:31.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.652 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.352226ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.656 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.656 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:09:31.658 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=9.119292ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.669 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.682 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:09:31.682 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:09:31.832 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.467922707s] [2025/04/05 23:09:31.835 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:31.835 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [] [2025/04/05 23:09:31.835 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:31.835 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:31.835 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:31.835 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:31.835 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=60.353µs] [2025/04/05 23:09:31.835 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=60.504µs] [2025/04/05 23:09:31.835 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=45.459µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=29.168µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=32.569µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=28.845µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=38.546µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=38.002µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=43.255µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=34.195µs] [2025/04/05 23:09:31.836 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:31.836 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:31.838 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:31.838 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:31.847 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] ["take time"=12.539459ms] [2025/04/05 23:09:31.847 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:31.848 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=756] [2025/04/05 23:09:31.848 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [] [2025/04/05 23:09:31.848 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:31.848 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:31.848 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:31.848 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:31.848 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:31.848 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:31.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:31.848 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [2025/04/05 23:09:31.849 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [2025/04/05 23:09:31.850 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:31.850 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0029bf41-9cdc-445b-9f1b-1dee3c3fefc1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:31.850 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:31.850 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:31.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:31.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:31.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:31.850 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:31.854 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.338825ms] [2025/04/05 23:09:31.854 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:31.864 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:31.912 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=230] ["lease id"=6f18960835af6f6e] [2025/04/05 23:09:31.914 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:32.032 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.93096ms] [2025/04/05 23:09:32.032 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:32.041 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:32.041 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:32.043 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [lease=2231960835af6966] [2025/04/05 23:09:32.043 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:32.044 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245941444608/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:32.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:32.044 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:32.044 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [2025/04/05 23:09:32.046 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6966] [ownerID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:32.046 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:32.046 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ownerKey=/tidb/ddl/fg/owner/2231960835af6966] [currRev=275] [2025/04/05 23:09:32.046 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:32.046 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:32.047 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af6f74] [ownerID=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [op=none] [2025/04/05 23:09:32.047 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [2025/04/05 23:09:32.047 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:32.047 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [ownerKey=/tidb/br-stream/owner/3eaa960835af6f74] [currRev=276] [2025/04/05 23:09:32.048 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6966] [ownerID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:32.048 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:32.048 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:32.054 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:32.055 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:32.056 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:32.058 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960835af6f76] [ownerID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:32.058 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:32.058 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ownerKey=/tidb/bindinfo/owner/6f18960835af6f76] [currRev=277] [2025/04/05 23:09:32.063 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:09:32.066 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:32.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:32.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:32.080 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:32.080 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:32.080 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:32.080 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:32.080 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:32.080 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:32.080 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:32.080 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:32.080 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:32.081 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:32.081 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:32.082 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:32.082 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:32.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:32.083 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:09:32.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:32.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:32.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:32.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:32.084 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835af6f7b] [ownerID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [op=none] [2025/04/05 23:09:32.084 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:32.084 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ownerKey=/tidb/stats/owner/3eaa960835af6f7b] [currRev=278] [2025/04/05 23:09:32.084 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=66] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:32.087 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2cdfffba-10d4-477b-af39-8283908ad268] [2025/04/05 23:09:32.087 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ttl-worker=task-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [originalCount=0] [newCount=4] [2025/04/05 23:09:32.087 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ttl-worker=task-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [originalCount=0] [newCount=4] [2025/04/05 23:09:32.087 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:32.090 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:32.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:32.096 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:32.096 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894572097155698 [2025/04/05 23:09:32.099 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:32.106 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.113234ms] [2025/04/05 23:09:32.106 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:32.107 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:32.115 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894572117503696 [2025/04/05 23:09:32.129 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:32.142 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.142 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 23:09:32.147 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.151 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/05 23:09:32.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=1.441964ms] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.176 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:09:32.177 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.429766ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.189 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.204 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:09:32.205 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 23:09:33.058 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:33.058 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:33.058 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:33.058 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:33.087 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:33.087 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:33.088 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2cdfffba-10d4-477b-af39-8283908ad268] [watcherID=b5fe843d-0c7a-4b13-b192-bca7283c5757] [2025/04/05 23:09:33.097 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:33.101 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=66] [2025/04/05 23:09:33.101 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:33.101 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:33.101 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:33.101 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:33.216 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:33.177 +0000 UTC"] [2025/04/05 23:09:33.227 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:33.177000'"] [2025/04/05 23:09:33.227 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.238 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 23:09:33.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.316 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=107ms] [prevState=normal] [newState=adapting] [2025/04/05 23:09:33.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=120.036µs] [gotSchemaVersion=57] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:33.433 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/05 23:09:33.434 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=6.504172ms] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.442 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.443 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=8] ["first split key"=6d44423a3200000000fb0000000000000068] [2025/04/05 23:09:33.446 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=8] ["first at"=6d44423a3200000000fb0000000000000068] ["first new region left"="{Id:26 StartKey: EndKey:6d44423a32000000ff00fb000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:27 store_id:1 id:28 store_id:7 id:29 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.446 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[26,30]"] [2025/04/05 23:09:33.446 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=8] ["first split key"=6d4442730000000000fa0000000000000068] [2025/04/05 23:09:33.452 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=8] ["first at"=6d4442730000000000fa0000000000000068] ["first new region left"="{Id:34 StartKey:6d44423a33000000ff00fb000000000000ff0068000000000000f9 EndKey:6d44427300000000ff00fa000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:35 store_id:1 id:36 store_id:7 id:37 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.452 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[34,38]"] [2025/04/05 23:09:33.452 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000000] [2025/04/05 23:09:33.454 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000000] ["first new region left"="{Id:42 StartKey:7200000100000000fb EndKey:7480000000000000ff0000000000000000f8 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:43 store_id:1 id:44 store_id:7 id:45 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.454 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[42,46]"] [2025/04/05 23:09:33.454 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000005] [2025/04/05 23:09:33.459 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000005] ["first new region left"="{Id:50 StartKey:7480000000000000ff0400000000000000f8 EndKey:7480000000000000ff0500000000000000f8 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:51 store_id:1 id:52 store_id:7 id:53 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.459 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[50,54]"] [2025/04/05 23:09:33.459 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000007] [2025/04/05 23:09:33.464 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000007] ["first new region left"="{Id:58 StartKey:7480000000000000ff0600000000000000f8 EndKey:7480000000000000ff0700000000000000f8 RegionEpoch:{ConfVer:5 Version:11} Peers:[id:59 store_id:1 id:60 store_id:7 id:61 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.465 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[58,62]"] [2025/04/05 23:09:33.465 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000009] [2025/04/05 23:09:33.470 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000009] ["first new region left"="{Id:66 StartKey:7480000000000000ff0800000000000000f8 EndKey:7480000000000000ff0900000000000000f8 RegionEpoch:{ConfVer:5 Version:13} Peers:[id:67 store_id:1 id:68 store_id:7 id:69 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.470 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[66,70]"] [2025/04/05 23:09:33.470 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000000b] [2025/04/05 23:09:33.475 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000000b] ["first new region left"="{Id:74 StartKey:7480000000000000ff0a00000000000000f8 EndKey:7480000000000000ff0b00000000000000f8 RegionEpoch:{ConfVer:5 Version:15} Peers:[id:75 store_id:1 id:76 store_id:7 id:77 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.475 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[74,78]"] [2025/04/05 23:09:33.475 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000000d] [2025/04/05 23:09:33.480 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000000d] ["first new region left"="{Id:82 StartKey:7480000000000000ff0c00000000000000f8 EndKey:7480000000000000ff0d00000000000000f8 RegionEpoch:{ConfVer:5 Version:17} Peers:[id:83 store_id:1 id:84 store_id:7 id:85 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.480 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[82,86]"] [2025/04/05 23:09:33.480 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000000f] [2025/04/05 23:09:33.485 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000000f] ["first new region left"="{Id:90 StartKey:7480000000000000ff0e00000000000000f8 EndKey:7480000000000000ff0f00000000000000f8 RegionEpoch:{ConfVer:5 Version:19} Peers:[id:91 store_id:1 id:92 store_id:7 id:93 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.485 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[90,94]"] [2025/04/05 23:09:33.485 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000011] [2025/04/05 23:09:33.490 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000011] ["first new region left"="{Id:98 StartKey:7480000000000000ff1000000000000000f8 EndKey:7480000000000000ff1100000000000000f8 RegionEpoch:{ConfVer:5 Version:21} Peers:[id:99 store_id:1 id:100 store_id:7 id:101 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.490 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[98,102]"] [2025/04/05 23:09:33.490 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000013] [2025/04/05 23:09:33.495 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000013] ["first new region left"="{Id:106 StartKey:7480000000000000ff1200000000000000f8 EndKey:7480000000000000ff1300000000000000f8 RegionEpoch:{ConfVer:5 Version:23} Peers:[id:107 store_id:1 id:108 store_id:7 id:109 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.495 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[106,110]"] [2025/04/05 23:09:33.495 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000015] [2025/04/05 23:09:33.500 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000015] ["first new region left"="{Id:114 StartKey:7480000000000000ff1400000000000000f8 EndKey:7480000000000000ff1500000000000000f8 RegionEpoch:{ConfVer:5 Version:25} Peers:[id:115 store_id:1 id:116 store_id:7 id:117 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.500 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[114,118]"] [2025/04/05 23:09:33.500 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000001f] [2025/04/05 23:09:33.505 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000001f] ["first new region left"="{Id:122 StartKey:7480000000000000ff1e00000000000000f8 EndKey:7480000000000000ff1f00000000000000f8 RegionEpoch:{ConfVer:5 Version:27} Peers:[id:123 store_id:1 id:124 store_id:7 id:125 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.505 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[122,126]"] [2025/04/05 23:09:33.505 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000023] [2025/04/05 23:09:33.510 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000023] ["first new region left"="{Id:130 StartKey:7480000000000000ff2200000000000000f8 EndKey:7480000000000000ff2300000000000000f8 RegionEpoch:{ConfVer:5 Version:29} Peers:[id:131 store_id:1 id:132 store_id:7 id:133 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.510 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[130,134]"] [2025/04/05 23:09:33.510 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000025] [2025/04/05 23:09:33.515 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000025] ["first new region left"="{Id:138 StartKey:7480000000000000ff2400000000000000f8 EndKey:7480000000000000ff2500000000000000f8 RegionEpoch:{ConfVer:5 Version:31} Peers:[id:139 store_id:1 id:140 store_id:7 id:141 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.516 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[138,142]"] [2025/04/05 23:09:33.516 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000027] [2025/04/05 23:09:33.521 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000027] ["first new region left"="{Id:146 StartKey:7480000000000000ff2600000000000000f8 EndKey:7480000000000000ff2700000000000000f8 RegionEpoch:{ConfVer:5 Version:33} Peers:[id:147 store_id:1 id:148 store_id:7 id:149 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.521 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[146,150]"] [2025/04/05 23:09:33.521 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000002b] [2025/04/05 23:09:33.526 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000002b] ["first new region left"="{Id:154 StartKey:7480000000000000ff2a00000000000000f8 EndKey:7480000000000000ff2b00000000000000f8 RegionEpoch:{ConfVer:5 Version:35} Peers:[id:155 store_id:1 id:156 store_id:7 id:157 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.526 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[154,158]"] [2025/04/05 23:09:33.526 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000002d] [2025/04/05 23:09:33.531 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000002d] ["first new region left"="{Id:162 StartKey:7480000000000000ff2c00000000000000f8 EndKey:7480000000000000ff2d00000000000000f8 RegionEpoch:{ConfVer:5 Version:37} Peers:[id:163 store_id:1 id:164 store_id:7 id:165 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.531 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[162,166]"] [2025/04/05 23:09:33.531 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000033] [2025/04/05 23:09:33.536 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000033] ["first new region left"="{Id:170 StartKey:7480000000000000ff3200000000000000f8 EndKey:7480000000000000ff3300000000000000f8 RegionEpoch:{ConfVer:5 Version:39} Peers:[id:171 store_id:1 id:172 store_id:7 id:173 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.537 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[170,174]"] [2025/04/05 23:09:33.537 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000035] [2025/04/05 23:09:33.542 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000035] ["first new region left"="{Id:178 StartKey:7480000000000000ff3400000000000000f8 EndKey:7480000000000000ff3500000000000000f8 RegionEpoch:{ConfVer:5 Version:41} Peers:[id:179 store_id:1 id:180 store_id:7 id:181 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.542 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[178,182]"] [2025/04/05 23:09:33.542 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000037] [2025/04/05 23:09:33.546 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000037] ["first new region left"="{Id:186 StartKey:7480000000000000ff3600000000000000f8 EndKey:7480000000000000ff3700000000000000f8 RegionEpoch:{ConfVer:5 Version:43} Peers:[id:187 store_id:1 id:188 store_id:7 id:189 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.546 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[186,190]"] [2025/04/05 23:09:33.546 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000039] [2025/04/05 23:09:33.550 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000039] ["first new region left"="{Id:194 StartKey:7480000000000000ff3800000000000000f8 EndKey:7480000000000000ff3900000000000000f8 RegionEpoch:{ConfVer:5 Version:45} Peers:[id:195 store_id:1 id:196 store_id:7 id:197 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.550 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[194,198]"] [2025/04/05 23:09:33.550 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000003b] [2025/04/05 23:09:33.555 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000003b] ["first new region left"="{Id:202 StartKey:7480000000000000ff3a00000000000000f8 EndKey:7480000000000000ff3b00000000000000f8 RegionEpoch:{ConfVer:5 Version:47} Peers:[id:203 store_id:1 id:204 store_id:7 id:205 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.555 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[202,206]"] [2025/04/05 23:09:33.555 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000041] [2025/04/05 23:09:33.560 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000041] ["first new region left"="{Id:210 StartKey:7480000000000000ff4000000000000000f8 EndKey:7480000000000000ff4100000000000000f8 RegionEpoch:{ConfVer:5 Version:49} Peers:[id:211 store_id:1 id:212 store_id:7 id:213 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.560 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[210,214]"] [2025/04/05 23:09:33.560 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000043] [2025/04/05 23:09:33.565 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000043] ["first new region left"="{Id:218 StartKey:7480000000000000ff4200000000000000f8 EndKey:7480000000000000ff4300000000000000f8 RegionEpoch:{ConfVer:5 Version:51} Peers:[id:219 store_id:1 id:220 store_id:7 id:221 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.565 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[218,222]"] [2025/04/05 23:09:33.565 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000047] [2025/04/05 23:09:33.570 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000047] ["first new region left"="{Id:226 StartKey:7480000000000000ff4600000000000000f8 EndKey:7480000000000000ff4700000000000000f8 RegionEpoch:{ConfVer:5 Version:53} Peers:[id:227 store_id:1 id:228 store_id:7 id:229 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.571 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[226,230]"] [2025/04/05 23:09:33.571 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000049] [2025/04/05 23:09:33.576 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000049] ["first new region left"="{Id:234 StartKey:7480000000000000ff4800000000000000f8 EndKey:7480000000000000ff4900000000000000f8 RegionEpoch:{ConfVer:5 Version:55} Peers:[id:235 store_id:1 id:236 store_id:7 id:237 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.576 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[234,238]"] [2025/04/05 23:09:33.576 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000004d] [2025/04/05 23:09:33.581 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000004d] ["first new region left"="{Id:242 StartKey:7480000000000000ff4c00000000000000f8 EndKey:7480000000000000ff4d00000000000000f8 RegionEpoch:{ConfVer:5 Version:57} Peers:[id:243 store_id:1 id:244 store_id:7 id:245 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.581 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[242,246]"] [2025/04/05 23:09:33.581 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000004f] [2025/04/05 23:09:33.586 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000004f] ["first new region left"="{Id:250 StartKey:7480000000000000ff4e00000000000000f8 EndKey:7480000000000000ff4f00000000000000f8 RegionEpoch:{ConfVer:5 Version:59} Peers:[id:251 store_id:1 id:252 store_id:7 id:253 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.586 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[250,254]"] [2025/04/05 23:09:33.586 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000051] [2025/04/05 23:09:33.592 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000051] ["first new region left"="{Id:258 StartKey:7480000000000000ff5000000000000000f8 EndKey:7480000000000000ff5100000000000000f8 RegionEpoch:{ConfVer:5 Version:61} Peers:[id:259 store_id:1 id:260 store_id:7 id:261 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.592 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[258,262]"] [2025/04/05 23:09:33.592 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000053] [2025/04/05 23:09:33.597 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000053] ["first new region left"="{Id:266 StartKey:7480000000000000ff5200000000000000f8 EndKey:7480000000000000ff5300000000000000f8 RegionEpoch:{ConfVer:5 Version:63} Peers:[id:267 store_id:1 id:268 store_id:7 id:269 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.597 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[266,270]"] [2025/04/05 23:09:33.597 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000055] [2025/04/05 23:09:33.601 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000055] ["first new region left"="{Id:274 StartKey:7480000000000000ff5400000000000000f8 EndKey:7480000000000000ff5500000000000000f8 RegionEpoch:{ConfVer:5 Version:65} Peers:[id:275 store_id:1 id:276 store_id:7 id:277 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.601 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[274,278]"] [2025/04/05 23:09:33.601 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000057] [2025/04/05 23:09:33.606 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000057] ["first new region left"="{Id:282 StartKey:7480000000000000ff5600000000000000f8 EndKey:7480000000000000ff5700000000000000f8 RegionEpoch:{ConfVer:5 Version:67} Peers:[id:283 store_id:1 id:284 store_id:7 id:285 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.606 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[282,286]"] [2025/04/05 23:09:33.606 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000059] [2025/04/05 23:09:33.611 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000059] ["first new region left"="{Id:290 StartKey:7480000000000000ff5800000000000000f8 EndKey:7480000000000000ff5900000000000000f8 RegionEpoch:{ConfVer:5 Version:69} Peers:[id:291 store_id:1 id:292 store_id:7 id:293 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.611 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[290,294]"] [2025/04/05 23:09:33.611 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000005b] [2025/04/05 23:09:33.616 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000005b] ["first new region left"="{Id:298 StartKey:7480000000000000ff5a00000000000000f8 EndKey:7480000000000000ff5b00000000000000f8 RegionEpoch:{ConfVer:5 Version:71} Peers:[id:299 store_id:1 id:300 store_id:7 id:301 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.616 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[298,302]"] [2025/04/05 23:09:33.616 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000005d] [2025/04/05 23:09:33.621 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000005d] ["first new region left"="{Id:306 StartKey:7480000000000000ff5c00000000000000f8 EndKey:7480000000000000ff5d00000000000000f8 RegionEpoch:{ConfVer:5 Version:73} Peers:[id:307 store_id:1 id:308 store_id:7 id:309 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.621 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[306,310]"] [2025/04/05 23:09:33.621 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000005f] [2025/04/05 23:09:33.626 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000005f] ["first new region left"="{Id:314 StartKey:7480000000000000ff5e00000000000000f8 EndKey:7480000000000000ff5f00000000000000f8 RegionEpoch:{ConfVer:5 Version:75} Peers:[id:315 store_id:1 id:316 store_id:7 id:317 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.627 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[314,318]"] [2025/04/05 23:09:33.627 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000061] [2025/04/05 23:09:33.632 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000061] ["first new region left"="{Id:322 StartKey:7480000000000000ff6000000000000000f8 EndKey:7480000000000000ff6100000000000000f8 RegionEpoch:{ConfVer:5 Version:77} Peers:[id:323 store_id:1 id:324 store_id:7 id:325 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.632 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[322,326]"] [2025/04/05 23:09:33.632 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000063] [2025/04/05 23:09:33.637 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000063] ["first new region left"="{Id:330 StartKey:7480000000000000ff6200000000000000f8 EndKey:7480000000000000ff6300000000000000f8 RegionEpoch:{ConfVer:5 Version:79} Peers:[id:331 store_id:1 id:332 store_id:7 id:333 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.637 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[330,334]"] [2025/04/05 23:09:33.637 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000065] [2025/04/05 23:09:33.641 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000065] ["first new region left"="{Id:338 StartKey:7480000000000000ff6400000000000000f8 EndKey:7480000000000000ff6500000000000000f8 RegionEpoch:{ConfVer:5 Version:81} Peers:[id:339 store_id:1 id:340 store_id:7 id:341 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.641 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[338,342]"] [2025/04/05 23:09:33.642 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000006b] [2025/04/05 23:09:33.646 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000006b] ["first new region left"="{Id:346 StartKey:7480000000000000ff6a00000000000000f8 EndKey:7480000000000000ff6b00000000000000f8 RegionEpoch:{ConfVer:5 Version:83} Peers:[id:347 store_id:1 id:348 store_id:7 id:349 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.647 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[346,350]"] [2025/04/05 23:09:33.647 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000006d] [2025/04/05 23:09:33.651 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000006d] ["first new region left"="{Id:354 StartKey:7480000000000000ff6c00000000000000f8 EndKey:7480000000000000ff6d00000000000000f8 RegionEpoch:{ConfVer:5 Version:85} Peers:[id:355 store_id:1 id:356 store_id:7 id:357 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.651 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[354,358]"] [2025/04/05 23:09:33.651 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=74800000000000006f] [2025/04/05 23:09:33.656 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=74800000000000006f] ["first new region left"="{Id:362 StartKey:7480000000000000ff6e00000000000000f8 EndKey:7480000000000000ff6f00000000000000f8 RegionEpoch:{ConfVer:5 Version:87} Peers:[id:363 store_id:1 id:364 store_id:7 id:365 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 23:09:33.656 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[362,366]"] [2025/04/05 23:09:33.656 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:33.659 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:33.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.712548ms] ["completed regions"=1] [2025/04/05 23:09:33.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:33.665 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:33.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.126742ms] ["completed regions"=1] [2025/04/05 23:09:33.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:33.670 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:33.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.451189ms] ["completed regions"=1] [2025/04/05 23:09:33.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:33.675 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:33.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.87645ms] ["completed regions"=1] [2025/04/05 23:09:33.676 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:33.679 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:33.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.959175ms] ["completed regions"=1] [2025/04/05 23:09:33.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:33.683 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:33.684 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.915745ms] ["completed regions"=1] [2025/04/05 23:09:33.684 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:33.688 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:33.689 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.813718ms] ["completed regions"=1] [2025/04/05 23:09:33.689 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:33.692 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:33.693 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.587861ms] ["completed regions"=1] [2025/04/05 23:09:33.693 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:33.695 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:33.696 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.516545ms] ["completed regions"=1] [2025/04/05 23:09:33.697 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:33.699 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:33.700 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.38438ms] ["completed regions"=1] [2025/04/05 23:09:33.700 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:33.704 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:33.704 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.82361ms] ["completed regions"=1] [2025/04/05 23:09:33.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:33.707 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:33.708 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.416595ms] ["completed regions"=1] [2025/04/05 23:09:33.708 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:33.711 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:33.712 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.593322ms] ["completed regions"=1] [2025/04/05 23:09:33.712 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:33.715 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:33.716 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.407536ms] ["completed regions"=1] [2025/04/05 23:09:33.716 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:33.719 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:33.720 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.174683ms] ["completed regions"=1] [2025/04/05 23:09:33.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:33.722 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:33.723 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.157241ms] ["completed regions"=1] [2025/04/05 23:09:33.723 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:33.726 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:33.727 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.225986ms] ["completed regions"=1] [2025/04/05 23:09:33.727 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:33.729 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:33.730 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=2.991758ms] ["completed regions"=1] [2025/04/05 23:09:33.730 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:33.733 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:33.734 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.838291ms] ["completed regions"=1] [2025/04/05 23:09:33.734 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:33.736 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:33.737 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.032471ms] ["completed regions"=1] [2025/04/05 23:09:33.737 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:33.739 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:33.740 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.763992ms] ["completed regions"=1] [2025/04/05 23:09:33.740 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:33.742 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:33.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.780963ms] ["completed regions"=1] [2025/04/05 23:09:33.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:33.745 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:33.746 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.625921ms] ["completed regions"=1] [2025/04/05 23:09:33.746 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:33.748 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:33.749 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.552987ms] ["completed regions"=1] [2025/04/05 23:09:33.749 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:33.752 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:33.753 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.962186ms] ["completed regions"=1] [2025/04/05 23:09:33.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:33.755 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:33.756 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.836008ms] ["completed regions"=1] [2025/04/05 23:09:33.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:33.758 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:33.759 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.73436ms] ["completed regions"=1] [2025/04/05 23:09:33.759 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:33.761 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:33.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.64808ms] ["completed regions"=1] [2025/04/05 23:09:33.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:33.764 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:33.765 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.591526ms] ["completed regions"=1] [2025/04/05 23:09:33.765 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:33.767 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:33.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.401177ms] ["completed regions"=1] [2025/04/05 23:09:33.768 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:33.770 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:33.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.250944ms] ["completed regions"=1] [2025/04/05 23:09:33.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:33.773 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:33.774 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.341774ms] ["completed regions"=1] [2025/04/05 23:09:33.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:33.775 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:33.776 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.364743ms] ["completed regions"=1] [2025/04/05 23:09:33.776 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:33.778 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:33.779 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.183662ms] ["completed regions"=1] [2025/04/05 23:09:33.779 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:33.781 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:33.782 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.135146ms] ["completed regions"=1] [2025/04/05 23:09:33.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:33.783 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:33.784 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.17718ms] ["completed regions"=1] [2025/04/05 23:09:33.784 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:33.786 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:33.786 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.94718ms] ["completed regions"=1] [2025/04/05 23:09:33.787 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:33.788 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:33.789 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.933031ms] ["completed regions"=1] [2025/04/05 23:09:33.789 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:33.790 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:33.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.893797ms] ["completed regions"=1] [2025/04/05 23:09:33.791 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:33.792 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:33.793 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.937182ms] ["completed regions"=1] [2025/04/05 23:09:33.794 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:33.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:33.796 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.844366ms] ["completed regions"=1] [2025/04/05 23:09:33.796 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:33.797 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:33.798 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.723212ms] ["completed regions"=1] [2025/04/05 23:09:33.798 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:33.799 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 23:09:33.800 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=1.989785ms] ["completed regions"=1] [2025/04/05 23:09:33.806 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 23:09:33.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.813 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:33.817 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:33.818 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/05 23:09:33.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.420631ms] ["completed regions"=1] [2025/04/05 23:09:33.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:33.822 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:33.823 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/05 23:09:33.823 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.305909ms] ["completed regions"=1] [2025/04/05 23:09:33.823 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:33.826 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:33.827 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/05 23:09:33.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.049982ms] ["completed regions"=1] [2025/04/05 23:09:33.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:33.831 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:33.832 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/05 23:09:33.832 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.963376ms] ["completed regions"=1] [2025/04/05 23:09:33.832 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:33.835 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:33.836 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/05 23:09:33.836 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.847272ms] ["completed regions"=1] [2025/04/05 23:09:33.836 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:33.839 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:33.840 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/05 23:09:33.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.666081ms] ["completed regions"=1] [2025/04/05 23:09:33.840 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:33.843 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:33.844 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/05 23:09:33.844 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.834334ms] ["completed regions"=1] [2025/04/05 23:09:33.844 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:33.848 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:33.849 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/05 23:09:33.849 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.031807ms] ["completed regions"=1] [2025/04/05 23:09:33.849 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:33.852 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:33.853 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/05 23:09:33.853 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.742915ms] ["completed regions"=1] [2025/04/05 23:09:33.853 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:33.856 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:33.857 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/05 23:09:33.857 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.753382ms] ["completed regions"=1] [2025/04/05 23:09:33.857 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:33.860 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:33.861 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/05 23:09:33.861 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.670229ms] ["completed regions"=1] [2025/04/05 23:09:33.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:33.864 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:33.865 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/05 23:09:33.865 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.842447ms] ["completed regions"=1] [2025/04/05 23:09:33.865 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:33.868 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:33.869 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/05 23:09:33.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.624021ms] ["completed regions"=1] [2025/04/05 23:09:33.869 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:33.872 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:33.873 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/05 23:09:33.873 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.372994ms] ["completed regions"=1] [2025/04/05 23:09:33.873 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:33.876 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:33.877 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/05 23:09:33.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.450664ms] ["completed regions"=1] [2025/04/05 23:09:33.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:33.880 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:33.881 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/05 23:09:33.881 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.322154ms] ["completed regions"=1] [2025/04/05 23:09:33.881 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:33.883 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:33.884 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/05 23:09:33.884 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.269288ms] ["completed regions"=1] [2025/04/05 23:09:33.884 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:33.887 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:33.888 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/05 23:09:33.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.20016ms] ["completed regions"=1] [2025/04/05 23:09:33.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:33.890 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:33.891 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/05 23:09:33.891 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.170362ms] ["completed regions"=1] [2025/04/05 23:09:33.892 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:33.894 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:33.895 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/05 23:09:33.895 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.989567ms] ["completed regions"=1] [2025/04/05 23:09:33.895 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:33.898 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:33.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/05 23:09:33.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.519886ms] ["completed regions"=1] [2025/04/05 23:09:33.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:33.901 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:33.902 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/05 23:09:33.902 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.136899ms] ["completed regions"=1] [2025/04/05 23:09:33.902 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:33.905 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:33.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/05 23:09:33.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.806168ms] ["completed regions"=1] [2025/04/05 23:09:33.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:33.908 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:33.909 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/05 23:09:33.909 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.097977ms] ["completed regions"=1] [2025/04/05 23:09:33.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:33.911 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:33.912 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/05 23:09:33.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.638033ms] ["completed regions"=1] [2025/04/05 23:09:33.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:33.914 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:33.915 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/05 23:09:33.915 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.665732ms] ["completed regions"=1] [2025/04/05 23:09:33.915 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:33.917 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:33.918 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/05 23:09:33.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.663907ms] ["completed regions"=1] [2025/04/05 23:09:33.918 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:33.920 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:33.921 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/05 23:09:33.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.720692ms] ["completed regions"=1] [2025/04/05 23:09:33.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:33.923 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:33.924 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/05 23:09:33.924 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.574191ms] ["completed regions"=1] [2025/04/05 23:09:33.924 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:33.926 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:33.927 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/05 23:09:33.927 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.589626ms] ["completed regions"=1] [2025/04/05 23:09:33.927 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:33.929 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:33.930 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/05 23:09:33.930 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.459782ms] ["completed regions"=1] [2025/04/05 23:09:33.930 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:33.932 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:33.933 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/05 23:09:33.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.517113ms] ["completed regions"=1] [2025/04/05 23:09:33.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:33.935 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:33.935 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/05 23:09:33.936 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.24858ms] ["completed regions"=1] [2025/04/05 23:09:33.936 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:33.937 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:33.938 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/05 23:09:33.938 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.221425ms] ["completed regions"=1] [2025/04/05 23:09:33.938 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:33.940 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:33.941 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/05 23:09:33.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.102411ms] ["completed regions"=1] [2025/04/05 23:09:33.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:33.942 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:33.943 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/05 23:09:33.943 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.118102ms] ["completed regions"=1] [2025/04/05 23:09:33.943 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:33.945 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:33.946 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/05 23:09:33.946 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.015906ms] ["completed regions"=1] [2025/04/05 23:09:33.946 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:33.947 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:33.948 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/05 23:09:33.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.015115ms] ["completed regions"=1] [2025/04/05 23:09:33.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:33.949 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:33.950 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/05 23:09:33.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.022016ms] ["completed regions"=1] [2025/04/05 23:09:33.951 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:33.952 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:33.953 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/05 23:09:33.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.948852ms] ["completed regions"=1] [2025/04/05 23:09:33.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:33.954 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:33.955 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/05 23:09:33.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.807535ms] ["completed regions"=1] [2025/04/05 23:09:33.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:33.956 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:33.957 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/05 23:09:33.957 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.818725ms] ["completed regions"=1] [2025/04/05 23:09:33.957 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:33.958 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 23:09:33.961 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/05 23:09:33.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.100397ms] ["completed regions"=1] [2025/04/05 23:09:33.961 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:33.976 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:34.044 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:34.112 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=136.446098ms] [2025/04/05 23:09:34.112 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:34.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/05 23:09:34.119 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=145.508189ms] [job="ID:114, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.195 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.177 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.211 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/05 23:09:34.212 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.996650844\n# Parse_time: 0.000092552\n# Compile_time: 0.000292184\n# Rewrite_time: 0.000003092\n# Optimize_time: 0.000077055\n# Wait_TS: 0.000427786\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:33.177000';"] [2025/04/05 23:09:34.215 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [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`, `a`)))), ((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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:34.237 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:34.237 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [] [2025/04/05 23:09:34.237 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:34.237 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.237 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:34.237 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:34.237 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=44.294µs] [2025/04/05 23:09:34.237 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=30.063µs] [2025/04/05 23:09:34.237 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.237 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.238 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:34.238 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:34.239 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] ["take time"=2.699222ms] [2025/04/05 23:09:34.239 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.239 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:34.239 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2cdfffba-10d4-477b-af39-8283908ad268] [watcherID=b5fe843d-0c7a-4b13-b192-bca7283c5757] [2025/04/05 23:09:34.239 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:34.240 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2cdfffba-10d4-477b-af39-8283908ad268] [2025/04/05 23:09:34.240 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ttl-worker=task-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [originalCount=4] [newCount=0] [2025/04/05 23:09:34.240 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.240 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.240 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.240 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.240 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [ttl-worker=task-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [originalCount=4] [newCount=0] [2025/04/05 23:09:34.242 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.242 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.242 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.243 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.245 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.245 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=230] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:34.246 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:34.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:34.246 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:34.247 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:34.247 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:34.247 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:34.246 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:34.247 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:34.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:34.246 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.246 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [2025/04/05 23:09:34.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:34.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:34.247 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:34.247 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [2025/04/05 23:09:34.247 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.247 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [2025/04/05 23:09:34.247 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.247 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.247 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:34.247 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:34.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:34.248 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:34.248 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:34.249 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:34.248 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0330005c-eb4d-4c87-a4fa-bc145573ae4e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.249 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:34.249 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:34.249 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [] [2025/04/05 23:09:34.249 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:34.249 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.249 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:34.249 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:34.249 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.249 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:34.249 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [2025/04/05 23:09:34.249 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:34.249 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [error="context canceled"] [2025/04/05 23:09:34.249 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=3bf0556b-07b5-43f9-a2c7-896680fc17ce] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.269 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:34.269 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:34.310 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:34.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:34.320 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.511176ms] [2025/04/05 23:09:34.323 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:34.323 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:34.323 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:34.323 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:34.323 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:34.323 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:34.323 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:34.323 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.323 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.323 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.323 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.323 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:34.324 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashback (7.23s) === NAME === RUN TestPrepareFlashbackFailed [2025/04/05 23:09:34.332 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:34.332 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:34.333 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:34.333 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:34.333 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:34.334 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:34.334 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:34.334 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:34.334 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:34.334 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:34.334 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:34.338 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:34.342 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:34.343 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:34.344 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:34.353 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:34.364 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:34.397 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=368] ["lease id"=6f18960835af6f8a] [2025/04/05 23:09:34.399 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:34.533 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=58] ["elapsed time"=130.890843ms] [2025/04/05 23:09:34.533 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:34.537 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:34.543 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:34.544 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:34.546 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:34.547 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:34.547 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245942353920/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:34.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:34.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:34.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:34.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:34.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:34.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:34.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:34.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:34.548 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:34.548 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:34.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:34.548 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.548 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [2025/04/05 23:09:34.549 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af6f90] [ownerID=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [op=none] [2025/04/05 23:09:34.549 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:34.549 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [ownerKey=/tidb/ddl/fg/owner/6f18960835af6f90] [currRev=311] [2025/04/05 23:09:34.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:34.551 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=85d46b5b-1143-4316-801c-710679e93f3d] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.551 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:34.551 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af6f92] [ownerID=85d46b5b-1143-4316-801c-710679e93f3d] [op=none] [2025/04/05 23:09:34.551 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [2025/04/05 23:09:34.551 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [ownerKey=/tidb/br-stream/owner/3eaa960835af6f92] [currRev=312] [2025/04/05 23:09:34.551 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af6f90] [ownerID=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [op=none] [2025/04/05 23:09:34.551 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [op=none] [2025/04/05 23:09:34.552 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:34.558 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:34.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:34.560 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:34.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:34.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:34.586 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:34.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:34.587 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:34.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:34.587 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:34.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:34.587 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:34.587 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:34.587 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:34.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:34.588 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:34.589 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:34.589 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:34.589 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:34.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:34.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:34.591 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af6f98] [ownerID=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [op=none] [2025/04/05 23:09:34.591 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:34.591 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:34.591 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [ownerKey=/tidb/stats/owner/6f18960835af6f98] [currRev=314] [2025/04/05 23:09:34.593 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6a77b605-8f9e-4571-8239-8ac462343701] [2025/04/05 23:09:34.594 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [ttl-worker=task-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [originalCount=0] [newCount=4] [2025/04/05 23:09:34.594 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [ttl-worker=task-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [originalCount=0] [newCount=4] [2025/04/05 23:09:34.594 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:34.596 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:34.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:34.600 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:34.600 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894574600902364 [2025/04/05 23:09:34.605 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:34.611 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.558573ms] [2025/04/05 23:09:34.611 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:34.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:34.621 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:34.625 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=58] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:34.637 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:34.637 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.642 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.659 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.940783ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:34.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2025/04/05 23:09:34.665 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=8.979135ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.674 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.026343ms] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:34.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2025/04/05 23:09:34.694 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=8.789007ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.702 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.708 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: t)"] [2025/04/05 23:09:34.722 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.109915ms] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:34.725 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2025/04/05 23:09:34.727 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=7.972388ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.736 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/05 23:09:34.745 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2025/04/05 23:09:34.746 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.771 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 23:09:34.771 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=61] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894574772263732 [2025/04/05 23:09:34.786 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=61] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:34.799 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.799 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 23:09:34.805 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.809 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 116, Table Name: t)"] [2025/04/05 23:09:34.823 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.675657ms] [gotSchemaVersion=62] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.827 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/05 23:09:34.829 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=8.947485ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.851 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 23:09:34.852 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=62] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 23:09:35.564 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:35.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:35.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:35.564 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:35.594 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:35.594 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:35.594 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6a77b605-8f9e-4571-8239-8ac462343701] [watcherID=27dd952a-6fb5-41a6-b38c-3dd9cd78a983] [2025/04/05 23:09:35.600 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:35.606 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:35.606 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:35.606 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:35.606 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:35.870 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:35.827 +0000 UTC"] [2025/04/05 23:09:35.894 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:35.894 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:35.827000'"] [2025/04/05 23:09:35.901 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.907 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 23:09:35.914 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.000 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=157ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:09:36.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=136.328µs] [gotSchemaVersion=63] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:36.111 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=63] [2025/04/05 23:09:36.113 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=8.077366ms] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:36.158 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:36.163 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:36.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=9.720111ms] ["completed regions"=1] [2025/04/05 23:09:36.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:36.168 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:36.173 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:36.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=8.377372ms] ["completed regions"=1] [2025/04/05 23:09:36.174 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:36.177 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:36.182 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:36.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=8.766512ms] ["completed regions"=1] [2025/04/05 23:09:36.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:36.186 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:36.190 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:36.191 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=7.303656ms] ["completed regions"=1] [2025/04/05 23:09:36.191 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:36.194 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:36.199 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:36.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=8.448868ms] ["completed regions"=1] [2025/04/05 23:09:36.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:36.203 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:36.207 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:36.209 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=8.658237ms] ["completed regions"=1] [2025/04/05 23:09:36.209 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:36.212 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:36.216 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:36.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=8.349479ms] ["completed regions"=1] [2025/04/05 23:09:36.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:36.221 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:36.225 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:36.226 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=8.033411ms] ["completed regions"=1] [2025/04/05 23:09:36.226 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:36.229 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:36.234 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:36.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=8.141445ms] ["completed regions"=1] [2025/04/05 23:09:36.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:36.238 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:36.242 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:36.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=7.812981ms] ["completed regions"=1] [2025/04/05 23:09:36.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:36.246 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:36.250 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:36.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=7.720815ms] ["completed regions"=1] [2025/04/05 23:09:36.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:36.254 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:36.258 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:36.259 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=7.551148ms] ["completed regions"=1] [2025/04/05 23:09:36.259 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:36.262 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:36.266 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:36.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=7.576566ms] ["completed regions"=1] [2025/04/05 23:09:36.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:36.270 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:36.274 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:36.275 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=7.579401ms] ["completed regions"=1] [2025/04/05 23:09:36.275 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:36.278 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:36.282 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:36.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=7.357428ms] ["completed regions"=1] [2025/04/05 23:09:36.283 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:36.286 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:36.290 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:36.291 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=7.367574ms] ["completed regions"=1] [2025/04/05 23:09:36.291 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:36.293 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:36.298 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:36.298 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=7.320624ms] ["completed regions"=1] [2025/04/05 23:09:36.299 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:36.301 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:36.304 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:36.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=6.302343ms] ["completed regions"=1] [2025/04/05 23:09:36.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:36.308 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:36.311 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:36.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=6.237256ms] ["completed regions"=1] [2025/04/05 23:09:36.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:36.314 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:36.318 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:36.319 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=6.925346ms] ["completed regions"=1] [2025/04/05 23:09:36.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:36.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:36.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:36.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=6.163007ms] ["completed regions"=1] [2025/04/05 23:09:36.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:36.328 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:36.333 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:36.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=7.061179ms] ["completed regions"=1] [2025/04/05 23:09:36.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:36.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:36.339 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:36.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=6.129729ms] ["completed regions"=1] [2025/04/05 23:09:36.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:36.342 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:36.345 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:36.346 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=6.075738ms] ["completed regions"=1] [2025/04/05 23:09:36.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:36.349 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:36.352 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:36.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=6.181221ms] ["completed regions"=1] [2025/04/05 23:09:36.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:36.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:36.359 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:36.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=6.239021ms] ["completed regions"=1] [2025/04/05 23:09:36.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:36.362 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:36.366 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:36.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=6.901881ms] ["completed regions"=1] [2025/04/05 23:09:36.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:36.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:36.372 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:36.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=5.86042ms] ["completed regions"=1] [2025/04/05 23:09:36.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:36.375 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:36.380 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:36.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=6.816566ms] ["completed regions"=1] [2025/04/05 23:09:36.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:36.383 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:36.387 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:36.388 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=6.741914ms] ["completed regions"=1] [2025/04/05 23:09:36.388 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:36.390 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:36.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:36.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=6.515233ms] ["completed regions"=1] [2025/04/05 23:09:36.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:36.397 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:36.400 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:36.401 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=5.644422ms] ["completed regions"=1] [2025/04/05 23:09:36.401 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:36.403 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:36.406 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:36.407 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=5.483923ms] ["completed regions"=1] [2025/04/05 23:09:36.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:36.408 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:36.412 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:36.413 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=5.645633ms] ["completed regions"=1] [2025/04/05 23:09:36.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:36.414 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:36.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:36.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=5.219218ms] ["completed regions"=1] [2025/04/05 23:09:36.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:36.420 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:36.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:36.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=6.277659ms] ["completed regions"=1] [2025/04/05 23:09:36.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:36.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:36.431 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:36.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=6.302113ms] ["completed regions"=1] [2025/04/05 23:09:36.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:36.433 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:36.438 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:36.439 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=6.364581ms] ["completed regions"=1] [2025/04/05 23:09:36.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:36.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:36.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:36.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=6.277695ms] ["completed regions"=1] [2025/04/05 23:09:36.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:36.447 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:36.451 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:36.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=6.011257ms] ["completed regions"=1] [2025/04/05 23:09:36.452 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:36.453 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:36.457 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:36.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=5.866026ms] ["completed regions"=1] [2025/04/05 23:09:36.458 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:36.460 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:36.463 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:36.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=5.157424ms] ["completed regions"=1] [2025/04/05 23:09:36.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:36.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 23:09:36.470 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 23:09:36.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.554731ms] ["completed regions"=1] [2025/04/05 23:09:36.478 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 23:09:36.484 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:36.489 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:36.490 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/05 23:09:36.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.735287ms] ["completed regions"=1] [2025/04/05 23:09:36.490 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:36.494 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:36.495 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/05 23:09:36.495 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.31171ms] ["completed regions"=1] [2025/04/05 23:09:36.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:36.499 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:36.500 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/05 23:09:36.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.685303ms] ["completed regions"=1] [2025/04/05 23:09:36.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:36.504 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:36.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/05 23:09:36.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.759897ms] ["completed regions"=1] [2025/04/05 23:09:36.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:36.509 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:36.510 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/05 23:09:36.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.078654ms] ["completed regions"=1] [2025/04/05 23:09:36.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:36.513 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:36.514 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/05 23:09:36.515 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.305277ms] ["completed regions"=1] [2025/04/05 23:09:36.515 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:36.518 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:36.519 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/05 23:09:36.519 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.980319ms] ["completed regions"=1] [2025/04/05 23:09:36.519 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:36.522 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:36.523 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/05 23:09:36.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.834079ms] ["completed regions"=1] [2025/04/05 23:09:36.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:36.526 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:36.527 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/05 23:09:36.527 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.886665ms] ["completed regions"=1] [2025/04/05 23:09:36.527 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:36.530 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:36.532 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/05 23:09:36.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.838492ms] ["completed regions"=1] [2025/04/05 23:09:36.532 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:36.535 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:36.536 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/05 23:09:36.536 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.83082ms] ["completed regions"=1] [2025/04/05 23:09:36.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:36.539 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:36.540 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/05 23:09:36.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.772637ms] ["completed regions"=1] [2025/04/05 23:09:36.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:36.543 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:36.544 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/05 23:09:36.544 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.478318ms] ["completed regions"=1] [2025/04/05 23:09:36.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:36.547 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:36.547 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:36.548 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/05 23:09:36.548 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.694305ms] ["completed regions"=1] [2025/04/05 23:09:36.548 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:36.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:36.552 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/05 23:09:36.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.540865ms] ["completed regions"=1] [2025/04/05 23:09:36.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:36.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:36.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/05 23:09:36.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.598798ms] ["completed regions"=1] [2025/04/05 23:09:36.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:36.559 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:36.560 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/05 23:09:36.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.400521ms] ["completed regions"=1] [2025/04/05 23:09:36.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:36.562 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:36.564 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/05 23:09:36.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.483938ms] ["completed regions"=1] [2025/04/05 23:09:36.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:36.566 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:36.567 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/05 23:09:36.567 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.208372ms] ["completed regions"=1] [2025/04/05 23:09:36.567 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:36.570 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:36.571 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/05 23:09:36.571 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.224516ms] ["completed regions"=1] [2025/04/05 23:09:36.571 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:36.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:36.574 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/05 23:09:36.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.175971ms] ["completed regions"=1] [2025/04/05 23:09:36.574 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:36.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:36.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/05 23:09:36.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.957476ms] ["completed regions"=1] [2025/04/05 23:09:36.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:36.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:36.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/05 23:09:36.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.900183ms] ["completed regions"=1] [2025/04/05 23:09:36.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:36.583 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:36.584 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/05 23:09:36.584 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.756605ms] ["completed regions"=1] [2025/04/05 23:09:36.584 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:36.586 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:36.588 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/05 23:09:36.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.939462ms] ["completed regions"=1] [2025/04/05 23:09:36.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:36.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:36.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/05 23:09:36.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.725375ms] ["completed regions"=1] [2025/04/05 23:09:36.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:36.594 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:36.595 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/05 23:09:36.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.964042ms] ["completed regions"=1] [2025/04/05 23:09:36.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:36.597 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:36.598 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/05 23:09:36.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.924777ms] ["completed regions"=1] [2025/04/05 23:09:36.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:36.600 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:36.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/05 23:09:36.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.755202ms] ["completed regions"=1] [2025/04/05 23:09:36.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:36.604 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:36.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/05 23:09:36.610 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=7.373197ms] ["completed regions"=1] [2025/04/05 23:09:36.610 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:36.611 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:36.612 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/05 23:09:36.613 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.604723ms] ["completed regions"=1] [2025/04/05 23:09:36.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:36.614 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:36.615 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/05 23:09:36.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.442243ms] ["completed regions"=1] [2025/04/05 23:09:36.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:36.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:36.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/05 23:09:36.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.468529ms] ["completed regions"=1] [2025/04/05 23:09:36.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:36.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:36.621 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/05 23:09:36.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.286277ms] ["completed regions"=1] [2025/04/05 23:09:36.621 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:36.623 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:36.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/05 23:09:36.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.550784ms] ["completed regions"=1] [2025/04/05 23:09:36.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:36.625 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:36.626 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/05 23:09:36.626 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.18264ms] ["completed regions"=1] [2025/04/05 23:09:36.626 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:36.628 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:36.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/05 23:09:36.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.504189ms] ["completed regions"=1] [2025/04/05 23:09:36.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:36.631 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:36.632 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/05 23:09:36.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.241019ms] ["completed regions"=1] [2025/04/05 23:09:36.632 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:36.634 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:36.635 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/05 23:09:36.635 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.342389ms] ["completed regions"=1] [2025/04/05 23:09:36.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:36.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:36.637 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/05 23:09:36.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.092186ms] ["completed regions"=1] [2025/04/05 23:09:36.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:36.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:36.640 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/05 23:09:36.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.973658ms] ["completed regions"=1] [2025/04/05 23:09:36.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:36.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:36.642 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/05 23:09:36.642 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.853176ms] ["completed regions"=1] [2025/04/05 23:09:36.642 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:36.643 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 23:09:36.646 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/05 23:09:36.646 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.214517ms] ["completed regions"=1] [2025/04/05 23:09:36.646 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:36.662 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:36.808 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=145.935802ms] [2025/04/05 23:09:36.808 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:36.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=64] [2025/04/05 23:09:36.817 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=156.727244ms] [job="ID:118, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.898 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/05 23:09:36.918 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 1.048433015\n# Parse_time: 0.000127551\n# Compile_time: 0.000278662\n# Rewrite_time: 0.000003074\n# Optimize_time: 0.000104931\n# Wait_TS: 0.000497135\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:35.827000';"] [2025/04/05 23:09:36.922 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [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`, `a`)))), ((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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:36.949 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:36.949 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [] [2025/04/05 23:09:36.949 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:36.949 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.949 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:36.949 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:36.949 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=57.977µs] [2025/04/05 23:09:36.949 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=36.007µs] [2025/04/05 23:09:36.949 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=29.63µs] [2025/04/05 23:09:36.949 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.949 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.951 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:36.951 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:36.952 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=eeac8ded-d682-4f89-b3a3-df5c398d6e97] ["take time"=3.252915ms] [2025/04/05 23:09:36.952 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.952 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:36.952 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:36.952 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6a77b605-8f9e-4571-8239-8ac462343701] [watcherID=27dd952a-6fb5-41a6-b38c-3dd9cd78a983] [2025/04/05 23:09:36.952 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6a77b605-8f9e-4571-8239-8ac462343701] [2025/04/05 23:09:36.952 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [ttl-worker=task-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [originalCount=4] [newCount=0] [2025/04/05 23:09:36.952 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:36.952 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:36.952 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:36.952 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:36.952 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [ttl-worker=task-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [originalCount=4] [newCount=0] [2025/04/05 23:09:36.955 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:36.955 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:36.955 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:36.955 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:36.957 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.957 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:36.958 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=368] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:36.959 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:36.959 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:36.959 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [2025/04/05 23:09:36.959 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=85d46b5b-1143-4316-801c-710679e93f3d] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:36.960 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:36.959 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:36.960 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:36.960 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:36.960 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.960 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:36.960 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.960 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:36.959 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:36.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:36.959 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:36.959 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:36.960 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:36.960 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.960 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:36.960 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:36.960 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:36.960 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:36.960 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:36.961 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=85d46b5b-1143-4316-801c-710679e93f3d] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:36.961 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:36.961 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:36.961 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:36.961 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:36.961 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:36.961 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:36.961 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [error="context canceled"] [2025/04/05 23:09:36.961 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:36.961 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:36.961 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:36.961 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:36.962 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [error="context canceled"] [2025/04/05 23:09:36.962 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [2025/04/05 23:09:36.962 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [error="context canceled"] [2025/04/05 23:09:36.962 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=eeac8ded-d682-4f89-b3a3-df5c398d6e97] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.984 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:36.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:37.023 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:37.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:37.034 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.934278ms] [2025/04/05 23:09:37.036 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:37.036 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:37.036 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:37.036 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:37.036 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:37.036 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:37.036 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:37.036 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.036 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.036 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.036 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:37.037 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:37.038 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPrepareFlashbackFailed (2.71s) === NAME === RUN TestFlashbackAddDropIndex [2025/04/05 23:09:37.046 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:37.046 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:37.047 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:37.048 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:37.048 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:37.048 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:37.048 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:37.048 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:37.048 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:37.049 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:37.049 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:37.053 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:37.058 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:37.058 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:37.059 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:37.069 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:37.079 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:37.113 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1360] ["lease id"=6f18960835af6fb0] [2025/04/05 23:09:37.115 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:37.251 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=133.693842ms] [2025/04/05 23:09:37.251 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:37.256 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:37.264 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:37.264 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:37.266 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:37.267 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:37.267 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245942665216/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:37.267 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:37.267 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:37.267 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:37.267 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:37.267 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:37.268 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:37.268 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:37.268 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:37.268 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:37.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:37.268 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:37.268 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:37.268 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [2025/04/05 23:09:37.270 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af6fb5] [ownerID=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [op=none] [2025/04/05 23:09:37.270 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:37.270 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [ownerKey=/tidb/ddl/fg/owner/6f18960835af6fb5] [currRev=355] [2025/04/05 23:09:37.270 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:37.271 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:37.271 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:37.272 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af6fb4] [ownerID=c050881b-d6a8-4e05-8f85-fcfec96a1948] [op=none] [2025/04/05 23:09:37.272 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [2025/04/05 23:09:37.272 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [ownerKey=/tidb/br-stream/owner/3eaa960835af6fb4] [currRev=356] [2025/04/05 23:09:37.272 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af6fb5] [ownerID=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [op=none] [2025/04/05 23:09:37.272 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [op=none] [2025/04/05 23:09:37.272 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:37.280 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:37.281 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:37.281 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:37.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:37.300 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:37.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:37.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:37.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:37.310 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:37.310 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:37.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:37.310 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:37.310 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:37.310 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:37.311 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:37.311 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:37.313 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:37.313 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:37.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:37.315 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af6fbd] [ownerID=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [op=none] [2025/04/05 23:09:37.315 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:37.315 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [ownerKey=/tidb/stats/owner/6f18960835af6fbd] [currRev=358] [2025/04/05 23:09:37.317 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/bbabfa9c-4b5a-4df5-91e5-8f4278cddafa] [2025/04/05 23:09:37.317 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [ttl-worker=task-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [originalCount=0] [newCount=4] [2025/04/05 23:09:37.318 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [ttl-worker=task-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [originalCount=0] [newCount=4] [2025/04/05 23:09:37.318 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:37.321 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:37.328 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:37.329 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:37.335 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:37.335 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] testkit.go:123: RefreshSession rand seed: 1743894577335574488 [2025/04/05 23:09:37.335 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:09:37.335 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.986216ms] [2025/04/05 23:09:37.336 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:37.336 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:37.356 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:37.361 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:37.375 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:37.375 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.379 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.400 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=2.365488ms] [gotSchemaVersion=65] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=65] [2025/04/05 23:09:37.406 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=10.366915ms] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=2.341244ms] [gotSchemaVersion=66] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=66] [2025/04/05 23:09:37.438 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=9.837323ms] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.454 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 116, Old Table Name: t)"] [2025/04/05 23:09:37.471 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.340654ms] [gotSchemaVersion=67] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=67] [2025/04/05 23:09:37.476 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=8.744985ms] [job="ID:119, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.486 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="drop table: table ID"] [2025/04/05 23:09:37.495 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="drop table"] [2025/04/05 23:09:37.496 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 23:09:37.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=67] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894577523301553 [2025/04/05 23:09:37.538 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:37.551 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 23:09:37.551 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/05 23:09:37.578 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.040505ms] [gotSchemaVersion=68] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:37.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=68] [2025/04/05 23:09:37.583 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=9.420212ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.606 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/05 23:09:37.607 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=68] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 23:09:38.283 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:38.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:38.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:38.284 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:38.318 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:38.318 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:38.318 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bbabfa9c-4b5a-4df5-91e5-8f4278cddafa] [watcherID=b14173bf-b82e-4ca3-8281-90ce5df14956] [2025/04/05 23:09:38.335 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:38.340 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:38.340 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:38.340 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:38.340 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:38.620 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/05 23:09:38.632 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/05 23:09:38.632 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:09:38.638 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.640 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/05 23:09:38.655 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=2.197848ms] [gotSchemaVersion=69] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:09:38.659 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=69] [2025/04/05 23:09:38.661 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=9.714711ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.671 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.919466ms] [gotSchemaVersion=70] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:09:38.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=70] [2025/04/05 23:09:38.692 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=8.496395ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.997721ms] [gotSchemaVersion=71] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:09:38.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=71] [2025/04/05 23:09:38.723 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=9.281192ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.734 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/05 23:09:38.736 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=120] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000300] [2025/04/05 23:09:38.750 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=122] [2025/04/05 23:09:38.756 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151500445810691, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:38.758 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/05 23:09:38.784 +00:00] [INFO] [index.go:2593] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/122] [2025/04/05 23:09:38.794 +00:00] [INFO] [index.go:2804] ["estimate row size"] [tableID=120] [size=0] [error="less than 3 regions"] [2025/04/05 23:09:38.834 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:38.834 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2025/04/05 23:09:39.053 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:39.268 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:39.336 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2025/04/05 23:09:39.336 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:39.339 +00:00] [INFO] [backfilling_dist_scheduler.go:125] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [2025/04/05 23:09:39.339 +00:00] [INFO] [backfilling_dist_scheduler.go:132] ["available local disk space resource"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [size=25GiB] [2025/04/05 23:09:39.341 +00:00] [INFO] [backfilling_dist_scheduler.go:318] ["calculate region batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [totalRegionCnt=1] [regionBatch=1] [instanceCnt=1] [useCloud=false] [2025/04/05 23:09:39.342 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2025/04/05 23:09:39.448 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [concurrency=4] [remaining-slots=12] [2025/04/05 23:09:39.759 +00:00] [INFO] [backfilling_read_index.go:93] ["read index executor init subtask exec env"] [category=ddl] [2025/04/05 23:09:39.759 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:39.760 +00:00] [INFO] [config.go:181] ["change memory setting for ingest"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["worker concurrency"=8] [2025/04/05 23:09:39.760 +00:00] [INFO] [backend_mgr.go:181] ["create local backend for adding index"] [category=ddl-ingest] [sortDir=/tmp/tidb/tmp_ddl-4000/122] [keyspaceName=] ["job ID"=122] ["current memory usage"=0] ["max memory quota"=17179869184] ["has unique index"=false] [2025/04/05 23:09:39.767 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:39.767 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:39.767 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:39.767 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:39.767 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:39.767 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:39.767 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:39.768 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:39.768 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:39.768 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:39.781 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:39.783 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:39.783 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=8GiB]"] [2025/04/05 23:09:39.791 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=backfill] [server-id=:4000] [subtaskID=1] [step=read-index] [2025/04/05 23:09:39.791 +00:00] [INFO] [backfilling_read_index.go:107] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2025/04/05 23:09:39.791 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:39.794 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/05 23:09:39.795 +00:00] [INFO] [engine_mgr.go:93] ["open an engine for index reorg task"] ["job ID"=122] ["index IDs"="[2]"] ["current memory usage"=0] ["memory limitation"=17179869184] [2025/04/05 23:09:39.795 +00:00] [INFO] [backfilling_operators.go:192] ["build add index local storage operators"] [task-id=1] [subtask-id=1] [jobID=122] [avgRowSize=0] [reader=2] [writer=4] [2025/04/05 23:09:39.795 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=120] ["start key"=7480000000000000785f728000000000000001] ["end key"=7480000000000000785f72800000000000000300] [2025/04/05 23:09:39.795 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=1] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 23:09:39.796 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=2] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 23:09:39.798 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=120] ["range start"=7480000000000000785f728000000000000001] ["range end"=7480000000000000785f72800000000000000300] ["range count"=1] [2025/04/05 23:09:39.799 +00:00] [INFO] [backfilling_operators.go:561] ["start a table scan task"] [task-id=1] [subtask-id=1] [id=0] [task="TableScanTask: id=0, startKey=7480000000000000785f728000000000000001, endKey=7480000000000000785f72800000000000000300"] [2025/04/05 23:09:39.809 +00:00] [INFO] [backfilling_operators.go:796] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=0] [2025/04/05 23:09:39.815 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=3] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 23:09:39.827 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=4] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 23:09:39.827 +00:00] [INFO] [backfilling_operators.go:520] ["table scan operator total count"] [task-id=1] [subtask-id=1] [count=3] [2025/04/05 23:09:39.828 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=114] [kvs=3] [files=1] [sstFileSize=1015] [file=/tmp/tidb/tmp_ddl-4000/122/8de86ffa-82e6-5f82-9981-8310a1aa3f1d.sst/867b8d96-5ddd-4b4f-a0e1-df0dfc06ccd3.sst] [firstKey=7480000000000000785F698000000000000002038000000000000001038000000000000001] [lastKey=7480000000000000785F698000000000000002038000000000000003038000000000000003] [2025/04/05 23:09:39.832 +00:00] [INFO] [manager.go:654] ["acquire distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/05 23:09:39.832 +00:00] [INFO] [backend.go:283] ["do a partial import data into the storage"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] ["index ID"=2] ["usage info"="disk usage: 245942075392/940431265792, backend usage: 0"] [2025/04/05 23:09:39.832 +00:00] [INFO] [backend.go:289] ["set ingest ts before import"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [jobID=122] [ts=457151500603097093] [2025/04/05 23:09:39.833 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [2025/04/05 23:09:39.837 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:39.859 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] ["region ranges"=1] [count=3] [size=114] [2025/04/05 23:09:39.859 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:39.861 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f698000000000000002038000000000000001038000000000000001] [endOfAllRanges=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [startKeyOfFirstRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000303800000ff0000000003000000fd] [2025/04/05 23:09:39.877 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [size=114] [kvs=3] [importedSize=114] [importedCount=3] [2025/04/05 23:09:39.879 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [takeTime=46.667927ms] [] [2025/04/05 23:09:39.884 +00:00] [INFO] [manager.go:660] ["release distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/05 23:09:39.885 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/05 23:09:39.886 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=1.432071ms] [] [2025/04/05 23:09:39.887 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/05 23:09:39.887 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=863.667µs] [] [2025/04/05 23:09:39.887 +00:00] [INFO] [backend.go:360] ["close one backend for DDL job"] [jobID=122] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 23:09:39.893 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=backfill] [server-id=:4000] [subtaskID=1] [step=read-index] [takeTime=102.341021ms] [] [2025/04/05 23:09:40.316 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=112] [columnID=1] [2025/04/05 23:09:40.317 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=116] [indexID=1] [2025/04/05 23:09:40.319 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=112] [indexID=1] [2025/04/05 23:09:40.319 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=80] [indexID=2] [2025/04/05 23:09:40.320 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:09:40.342 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2025/04/05 23:09:40.652 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/05 23:09:40.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=2.033513ms] [gotSchemaVersion=72] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:09:40.678 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=72] [2025/04/05 23:09:40.679 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=8.77469ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151500445810691, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:40.687 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151500445810691, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:40.689 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=k] [2025/04/05 23:09:40.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.857044ms] [gotSchemaVersion=73] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:09:40.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=73] [2025/04/05 23:09:40.708 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=8.696242ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:40.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:40.720 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=122] [table=t] [2025/04/05 23:09:40.723 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 120, Table Name: t, Index ID: 2, Index Name: k)"] [2025/04/05 23:09:40.725 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/05 23:09:40.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.806912ms] [gotSchemaVersion=74] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:09:40.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=74] [2025/04/05 23:09:40.742 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=8.212535ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:40.751 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=120] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2025/04/05 23:09:40.756 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2025/04/05 23:09:40.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 23:09:38.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:40.777 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 23:09:40.777 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 2.158598991\n# Parse_time: 0.000102024\n# Compile_time: 0.000371875\n# Rewrite_time: 0.000004897\n# Optimize_time: 0.000693817\n# Wait_TS: 0.000391414\n# DB: test\n# Is_internal: false\n# Digest: 1fbe1c4139cd04724109d4c37ad89fa611eb1f981f53303829eaf6e89580a83a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t add index k(a);"] [2025/04/05 23:09:40.777 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=74] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/05 23:09:40.793 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:40.793 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop index i"] [2025/04/05 23:09:40.799 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=2.004149ms] [gotSchemaVersion=75] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 23:09:40.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=75] [2025/04/05 23:09:40.820 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=8.938025ms] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.820 +00:00] [INFO] [backfilling_read_index.go:175] ["read index executor cleanup subtask exec env"] [2025/04/05 23:09:40.823 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:40.823 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:40.823 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:40.823 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:40.823 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:40.823 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:40.823 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:40.823 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:40.824 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:40.823 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:40.824 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:40.824 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:40.826 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:40.826 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:40.826 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:40.826 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:40.826 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=8GiB]"] [takeTime=1.042574202s] [] [2025/04/05 23:09:40.826 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2025/04/05 23:09:40.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.836 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:40.842 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:40.842 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:40.845 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.900616ms] [gotSchemaVersion=76] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 23:09:40.848 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=76] [2025/04/05 23:09:40.850 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=8.921644ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.858 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.864 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:40.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.893821ms] [gotSchemaVersion=77] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 23:09:40.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=77] [2025/04/05 23:09:40.878 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=8.578466ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.723537ms] [gotSchemaVersion=78] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 23:09:40.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=78] [2025/04/05 23:09:40.906 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=8.408094ms] [job="ID:123, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.915 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=120] [indexIDs="[1]"] [comment="drop index: table ID"] [2025/04/05 23:09:40.919 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop index"] [2025/04/05 23:09:40.920 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.937 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 23:09:40.937 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=78] [cur_db=test] [sql="alter table t drop index i"] [user=] [2025/04/05 23:09:40.938 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'i' doesn't exist in table 't'"] [SQL="select max(a) from t use index(i)"] [2025/04/05 23:09:40.946 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:38.577 +0000 UTC"] [2025/04/05 23:09:40.956 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:40.956 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:38.577000'"] [2025/04/05 23:09:40.961 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.967 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/05 23:09:40.974 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.157 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=125.948µs] [gotSchemaVersion=79] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:41.161 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79] [2025/04/05 23:09:41.162 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=7.069711ms] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:41.205 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:41.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.16937ms] ["completed regions"=1] [2025/04/05 23:09:41.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:41.210 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:41.211 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.10502ms] ["completed regions"=1] [2025/04/05 23:09:41.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:41.214 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:41.215 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.938551ms] ["completed regions"=1] [2025/04/05 23:09:41.216 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:41.219 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:41.220 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.678417ms] ["completed regions"=1] [2025/04/05 23:09:41.220 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:41.223 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:41.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.696133ms] ["completed regions"=1] [2025/04/05 23:09:41.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:41.227 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:41.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.94604ms] ["completed regions"=1] [2025/04/05 23:09:41.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:41.231 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:41.232 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.838973ms] ["completed regions"=1] [2025/04/05 23:09:41.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:41.235 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:41.236 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.739982ms] ["completed regions"=1] [2025/04/05 23:09:41.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:41.240 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:41.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.709513ms] ["completed regions"=1] [2025/04/05 23:09:41.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:41.244 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:41.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.802863ms] ["completed regions"=1] [2025/04/05 23:09:41.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:41.248 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:41.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.467636ms] ["completed regions"=1] [2025/04/05 23:09:41.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:41.252 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:41.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.959997ms] ["completed regions"=1] [2025/04/05 23:09:41.253 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:41.256 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:41.257 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.300795ms] ["completed regions"=1] [2025/04/05 23:09:41.257 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:41.260 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:41.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.525214ms] ["completed regions"=1] [2025/04/05 23:09:41.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:41.264 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:41.265 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.379066ms] ["completed regions"=1] [2025/04/05 23:09:41.265 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:41.267 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:41.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.272579ms] ["completed regions"=1] [2025/04/05 23:09:41.268 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:41.271 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:41.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.556262ms] ["completed regions"=1] [2025/04/05 23:09:41.272 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:41.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:41.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.196593ms] ["completed regions"=1] [2025/04/05 23:09:41.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:41.278 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:41.279 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.119898ms] ["completed regions"=1] [2025/04/05 23:09:41.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:41.282 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:41.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.063762ms] ["completed regions"=1] [2025/04/05 23:09:41.283 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:41.285 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:41.286 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.103544ms] ["completed regions"=1] [2025/04/05 23:09:41.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:41.289 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:41.290 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.890029ms] ["completed regions"=1] [2025/04/05 23:09:41.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:41.292 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:41.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.6695ms] ["completed regions"=1] [2025/04/05 23:09:41.293 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:41.295 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:41.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.657293ms] ["completed regions"=1] [2025/04/05 23:09:41.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:41.298 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:41.299 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.739333ms] ["completed regions"=1] [2025/04/05 23:09:41.299 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:41.301 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:41.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.653457ms] ["completed regions"=1] [2025/04/05 23:09:41.302 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:41.304 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:41.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.608357ms] ["completed regions"=1] [2025/04/05 23:09:41.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:41.307 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:41.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.438749ms] ["completed regions"=1] [2025/04/05 23:09:41.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:41.310 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:41.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.667677ms] ["completed regions"=1] [2025/04/05 23:09:41.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:41.313 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:41.314 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.445268ms] ["completed regions"=1] [2025/04/05 23:09:41.314 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:41.316 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:41.317 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.39215ms] ["completed regions"=1] [2025/04/05 23:09:41.317 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:41.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:41.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.402902ms] ["completed regions"=1] [2025/04/05 23:09:41.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:41.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:41.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.825735ms] ["completed regions"=1] [2025/04/05 23:09:41.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:41.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:41.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.356853ms] ["completed regions"=1] [2025/04/05 23:09:41.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:41.327 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:41.329 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.43089ms] ["completed regions"=1] [2025/04/05 23:09:41.329 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:41.330 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:41.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.098228ms] ["completed regions"=1] [2025/04/05 23:09:41.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:41.333 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:41.334 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.206251ms] ["completed regions"=1] [2025/04/05 23:09:41.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:41.335 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:41.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.046789ms] ["completed regions"=1] [2025/04/05 23:09:41.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:41.338 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:41.339 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.943727ms] ["completed regions"=1] [2025/04/05 23:09:41.339 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:41.340 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:41.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.871661ms] ["completed regions"=1] [2025/04/05 23:09:41.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:41.342 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:41.343 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.912652ms] ["completed regions"=1] [2025/04/05 23:09:41.343 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:41.344 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:41.345 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.735449ms] ["completed regions"=1] [2025/04/05 23:09:41.346 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:41.347 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:41.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:41.349 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:41.350 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.582776ms] ["completed regions"=3] [2025/04/05 23:09:41.356 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/05 23:09:41.363 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.363 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:41.368 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:41.370 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:09:41.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.801452ms] ["completed regions"=1] [2025/04/05 23:09:41.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:41.373 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:41.374 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:09:41.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.521782ms] ["completed regions"=1] [2025/04/05 23:09:41.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:41.378 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:41.379 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:09:41.379 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.232242ms] ["completed regions"=1] [2025/04/05 23:09:41.379 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:41.383 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:41.384 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:09:41.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.026096ms] ["completed regions"=1] [2025/04/05 23:09:41.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:41.387 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:41.388 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:09:41.388 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.762692ms] ["completed regions"=1] [2025/04/05 23:09:41.388 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:41.391 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:41.392 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:09:41.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.142151ms] ["completed regions"=1] [2025/04/05 23:09:41.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:41.396 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:41.397 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:09:41.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.960716ms] ["completed regions"=1] [2025/04/05 23:09:41.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:41.400 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:41.401 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:09:41.401 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.807387ms] ["completed regions"=1] [2025/04/05 23:09:41.401 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:41.404 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:41.405 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:09:41.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.791741ms] ["completed regions"=1] [2025/04/05 23:09:41.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:41.408 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:41.409 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:09:41.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.69101ms] ["completed regions"=1] [2025/04/05 23:09:41.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:41.412 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:41.413 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:09:41.413 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.540004ms] ["completed regions"=1] [2025/04/05 23:09:41.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:41.416 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:41.418 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:09:41.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.877309ms] ["completed regions"=1] [2025/04/05 23:09:41.418 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:41.421 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:41.422 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:09:41.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.634862ms] ["completed regions"=1] [2025/04/05 23:09:41.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:41.425 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:41.426 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:09:41.426 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.301401ms] ["completed regions"=1] [2025/04/05 23:09:41.426 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:41.429 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:41.430 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:09:41.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.314247ms] ["completed regions"=1] [2025/04/05 23:09:41.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:41.432 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:41.433 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:09:41.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.259211ms] ["completed regions"=1] [2025/04/05 23:09:41.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:41.436 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:41.437 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:09:41.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.35318ms] ["completed regions"=1] [2025/04/05 23:09:41.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:41.439 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:41.440 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:09:41.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.152933ms] ["completed regions"=1] [2025/04/05 23:09:41.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:41.443 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:41.444 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:09:41.444 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.19048ms] ["completed regions"=1] [2025/04/05 23:09:41.444 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:41.447 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:41.448 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:09:41.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.064823ms] ["completed regions"=1] [2025/04/05 23:09:41.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:41.450 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:41.451 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:09:41.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.976391ms] ["completed regions"=1] [2025/04/05 23:09:41.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:41.453 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:41.454 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:09:41.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.016755ms] ["completed regions"=1] [2025/04/05 23:09:41.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:41.457 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:41.458 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:09:41.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.915504ms] ["completed regions"=1] [2025/04/05 23:09:41.458 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:41.460 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:41.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:09:41.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.749423ms] ["completed regions"=1] [2025/04/05 23:09:41.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:41.463 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:41.464 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:09:41.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.672443ms] ["completed regions"=1] [2025/04/05 23:09:41.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:41.466 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:41.467 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:09:41.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.589202ms] ["completed regions"=1] [2025/04/05 23:09:41.467 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:41.469 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:41.470 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:09:41.470 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.549777ms] ["completed regions"=1] [2025/04/05 23:09:41.470 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:41.472 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:41.473 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:09:41.473 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.566615ms] ["completed regions"=1] [2025/04/05 23:09:41.473 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:41.475 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:41.476 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:09:41.476 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.791716ms] ["completed regions"=1] [2025/04/05 23:09:41.476 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:41.478 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:41.479 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:09:41.479 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.473634ms] ["completed regions"=1] [2025/04/05 23:09:41.479 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:41.480 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:41.481 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:09:41.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.535361ms] ["completed regions"=1] [2025/04/05 23:09:41.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:41.483 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:41.484 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:09:41.484 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.37673ms] ["completed regions"=1] [2025/04/05 23:09:41.484 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:41.486 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:41.487 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:09:41.487 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.230149ms] ["completed regions"=1] [2025/04/05 23:09:41.487 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:41.489 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:41.490 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:09:41.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.383681ms] ["completed regions"=1] [2025/04/05 23:09:41.490 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:41.491 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:41.492 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:09:41.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.286993ms] ["completed regions"=1] [2025/04/05 23:09:41.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:41.494 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:41.495 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:09:41.495 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.260935ms] ["completed regions"=1] [2025/04/05 23:09:41.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:41.497 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:41.498 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:09:41.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.244585ms] ["completed regions"=1] [2025/04/05 23:09:41.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:41.499 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:41.500 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:09:41.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.192927ms] ["completed regions"=1] [2025/04/05 23:09:41.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:41.502 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:41.503 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:09:41.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.031183ms] ["completed regions"=1] [2025/04/05 23:09:41.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:41.504 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:41.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:09:41.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.87511ms] ["completed regions"=1] [2025/04/05 23:09:41.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:41.506 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:41.507 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:09:41.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.878092ms] ["completed regions"=1] [2025/04/05 23:09:41.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:41.508 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:41.509 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:09:41.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.719678ms] ["completed regions"=1] [2025/04/05 23:09:41.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:41.510 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:41.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:41.514 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:41.516 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:09:41.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.005484ms] ["completed regions"=3] [2025/04/05 23:09:41.516 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:41.530 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:41.665 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=134.421158ms] [2025/04/05 23:09:41.665 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:41.671 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=80] [2025/04/05 23:09:41.673 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=144.596812ms] [job="ID:124, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.802 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.820 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 23:09:41.821 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 0.876081008\n# Parse_time: 0.000074477\n# Compile_time: 0.000271957\n# Rewrite_time: 0.000003232\n# Optimize_time: 0.000674369\n# Wait_TS: 0.000401579\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-05 23:09:38.577000';"] [2025/04/05 23:09:41.825 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [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`, `a`)))), ((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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:41.846 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'k' doesn't exist in table 't'"] [SQL="select max(a) from t use index(k)"] [2025/04/05 23:09:41.853 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:41.853 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:41.853 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [] [2025/04/05 23:09:41.853 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.854 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:41.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp add index"] ["take time"=82.387µs] [2025/04/05 23:09:41.854 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:41.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=59.015µs] [2025/04/05 23:09:41.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=60.858µs] [2025/04/05 23:09:41.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=65.129µs] [2025/04/05 23:09:41.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=38.148µs] [2025/04/05 23:09:41.855 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.855 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.856 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:41.856 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:41.861 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] ["take time"=7.616133ms] [2025/04/05 23:09:41.861 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.861 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:41.861 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:41.861 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bbabfa9c-4b5a-4df5-91e5-8f4278cddafa] [watcherID=b14173bf-b82e-4ca3-8281-90ce5df14956] [2025/04/05 23:09:41.861 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/bbabfa9c-4b5a-4df5-91e5-8f4278cddafa] [2025/04/05 23:09:41.861 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [ttl-worker=task-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [originalCount=4] [newCount=0] [2025/04/05 23:09:41.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.861 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [ttl-worker=task-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [originalCount=4] [newCount=0] [2025/04/05 23:09:41.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.867 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.867 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1360] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:41.869 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:41.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:41.869 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:41.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.869 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:41.869 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [] [2025/04/05 23:09:41.870 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:41.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.870 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.870 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.870 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:41.870 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.870 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:41.870 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:41.870 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:41.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:41.871 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:41.871 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:41.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:41.871 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:41.871 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c050881b-d6a8-4e05-8f85-fcfec96a1948] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:41.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:41.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:41.871 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [error="context canceled"] [2025/04/05 23:09:41.871 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:41.871 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:41.871 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:41.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:41.872 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [error="context canceled"] [2025/04/05 23:09:41.872 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [2025/04/05 23:09:41.894 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:41.894 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:41.933 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c0730b49-7b82-4f1d-9fab-9ab615ed4bbc] [error="context canceled"] [2025/04/05 23:09:41.933 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:41.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:41.944 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.45449ms] [2025/04/05 23:09:41.947 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:41.947 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:41.947 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:41.947 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:41.947 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:41.947 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:41.947 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:41.947 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:41.947 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:41.947 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:41.947 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:41.947 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:41.974 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropIndex (4.94s) === NAME === RUN TestFlashbackAddDropModifyColumn [2025/04/05 23:09:41.983 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:41.983 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:41.984 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:41.985 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:41.985 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:41.985 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:41.985 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:41.985 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:41.985 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:41.986 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:41.986 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:41.990 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:41.995 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:41.996 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:41.996 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:42.007 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:42.017 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:42.051 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=348] ["lease id"=6f18960835af6fee] [2025/04/05 23:09:42.053 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:42.189 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=80] ["elapsed time"=132.866377ms] [2025/04/05 23:09:42.189 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:42.194 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:42.201 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:42.201 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:42.203 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:42.204 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:42.205 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245942771712/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:42.205 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:42.205 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:42.205 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [2025/04/05 23:09:42.207 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6a6a] [ownerID=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [op=none] [2025/04/05 23:09:42.207 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:42.207 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [ownerKey=/tidb/ddl/fg/owner/2231960835af6a6a] [currRev=426] [2025/04/05 23:09:42.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:42.208 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:42.209 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:42.209 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af6fee] [ownerID=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [op=none] [2025/04/05 23:09:42.209 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [2025/04/05 23:09:42.209 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [ownerKey=/tidb/br-stream/owner/3eaa960835af6fee] [currRev=427] [2025/04/05 23:09:42.209 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6a6a] [ownerID=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [op=none] [2025/04/05 23:09:42.209 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [op=none] [2025/04/05 23:09:42.210 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:42.218 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:42.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:42.219 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:42.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:42.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:42.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:42.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:42.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:42.248 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:42.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:42.248 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:42.248 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:42.248 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:42.248 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:42.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:42.250 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:42.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:42.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:42.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:42.252 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:42.252 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:42.252 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:42.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:42.254 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:42.254 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af6ff9] [ownerID=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [op=none] [2025/04/05 23:09:42.254 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:42.254 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [ownerKey=/tidb/stats/owner/6f18960835af6ff9] [currRev=429] [2025/04/05 23:09:42.256 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/961a03ff-17c3-48d2-9859-89960e42eea1] [2025/04/05 23:09:42.256 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [ttl-worker=task-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [originalCount=0] [newCount=4] [2025/04/05 23:09:42.257 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [ttl-worker=task-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [originalCount=0] [newCount=4] [2025/04/05 23:09:42.257 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:42.259 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:42.261 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:42.261 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:42.261 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894582261462353 [2025/04/05 23:09:42.268 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:42.274 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.226416ms] [2025/04/05 23:09:42.274 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:42.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:42.282 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:42.286 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=80] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:42.299 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:42.299 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:42.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.218315ms] [gotSchemaVersion=81] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:42.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=81] [2025/04/05 23:09:42.330 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=9.978338ms] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=2.187395ms] [gotSchemaVersion=82] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:42.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=82] [2025/04/05 23:09:42.361 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=9.320307ms] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.370 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.376 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 120, Old Table Name: t)"] [2025/04/05 23:09:42.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.32173ms] [gotSchemaVersion=83] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:42.395 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=83] [2025/04/05 23:09:42.397 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=8.483573ms] [job="ID:125, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.406 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[120]"] [comment="drop table: table ID"] [2025/04/05 23:09:42.416 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="drop table"] [2025/04/05 23:09:42.417 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.443 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 23:09:42.443 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=83] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894582443902963 [2025/04/05 23:09:42.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=83] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:42.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, b int, index i(a))"] [2025/04/05 23:09:42.471 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:42.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:42.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.481 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 126, Table Name: t)"] [2025/04/05 23:09:42.497 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.953837ms] [gotSchemaVersion=84] [phyTblIDs="[126]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:42.500 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=84] [2025/04/05 23:09:42.502 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=8.89424ms] [job="ID:127, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:42.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.513 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:42.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.524 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/05 23:09:42.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=84] [cur_db=test] [sql="create table t(a int, b int, index i(a))"] [user=] [2025/04/05 23:09:43.221 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:43.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:43.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:43.221 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:43.257 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:43.257 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:43.257 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/961a03ff-17c3-48d2-9859-89960e42eea1] [watcherID=5ce0b879-4e4f-4ee9-a5eb-d828ee1fa6f0] [2025/04/05 23:09:43.261 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:43.266 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:43.266 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:43.266 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:43.266 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:43.545 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column c int"] [2025/04/05 23:09:43.545 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:43.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.553 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:128, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:09:43.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.089702ms] [gotSchemaVersion=85] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:09:43.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=85] [2025/04/05 23:09:43.573 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=9.382971ms] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.583 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.600 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=2.139687ms] [gotSchemaVersion=86] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:09:43.603 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=86] [2025/04/05 23:09:43.605 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=9.295355ms] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.613 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.629 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=2.099135ms] [gotSchemaVersion=87] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:09:43.633 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=87] [2025/04/05 23:09:43.635 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=9.170889ms] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.643 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.648 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 126, Table Name: t, Column ID: 3, Column Name: c)"] [2025/04/05 23:09:43.664 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=2.163343ms] [gotSchemaVersion=88] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:09:43.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=88] [2025/04/05 23:09:43.669 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=9.182603ms] [job="ID:128, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.679 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.691 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 23:09:43.691 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=88] [cur_db=test] [sql="alter table t add column c int"] [user=] [2025/04/05 23:09:43.703 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop column b"] [2025/04/05 23:09:43.703 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:43.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.727 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.138849ms] [gotSchemaVersion=89] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 23:09:43.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=89] [2025/04/05 23:09:43.732 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=9.54291ms] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.742 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=2.231693ms] [gotSchemaVersion=90] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 23:09:43.764 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=90] [2025/04/05 23:09:43.766 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=9.978575ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.774 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=2.330037ms] [gotSchemaVersion=91] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 23:09:43.796 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=91] [2025/04/05 23:09:43.797 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=9.705001ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.824 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.981266ms] [gotSchemaVersion=92] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 23:09:43.827 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=92] [2025/04/05 23:09:43.829 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=9.169238ms] [job="ID:129, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.839 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop column"] [2025/04/05 23:09:43.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.857 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 23:09:43.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=92] [cur_db=test] [sql="alter table t drop column b"] [user=] [2025/04/05 23:09:43.860 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:09:43.871 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:09:43.871 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a tinyint"] [2025/04/05 23:09:43.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.894 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.286458ms] [gotSchemaVersion=93] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:09:43.898 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=93] [2025/04/05 23:09:43.899 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=9.068981ms] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=2.404909ms] [gotSchemaVersion=94] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:09:43.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=94] [2025/04/05 23:09:43.933 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=9.511774ms] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.959 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=2.297257ms] [gotSchemaVersion=95] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:09:43.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=95] [2025/04/05 23:09:43.964 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=9.509883ms] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:43.977 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=130] [physicalTableID=126] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:43.990 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:43.991 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=130] [2025/04/05 23:09:43.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151501808959507, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:44.004 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151501808959507, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:4,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/05 23:09:44.007 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.008 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/05 23:09:44.008 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.009 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.009 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=130] [2025/04/05 23:09:44.009 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=130] [2025/04/05 23:09:44.009 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=130] [2025/04/05 23:09:44.014 +00:00] [INFO] [backfilling.go:398] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 0, physicalTableID: 126, range: [74800000000000007e5f728000000000000001, 74800000000000007e5f72800000000000000300), jobID: 130"] ["added count"=3] ["scan count"=3] ["next key"=74800000000000007e5f7280000000000000030000] ["take time"=4.598246ms] [2025/04/05 23:09:44.014 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=130] [2025/04/05 23:09:44.014 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_col_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/05 23:09:44.023 +00:00] [INFO] [column.go:583] ["update column and indexes"] [category=ddl] ["job ID"=130] [element=ID:2,TypeKey:_idx_] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.023 +00:00] [INFO] [index.go:2404] ["start to add table index"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151501808959507, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/05 23:09:44.026 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.027 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/05 23:09:44.027 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.027 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/05 23:09:44.028 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=130] [2025/04/05 23:09:44.028 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=130] [2025/04/05 23:09:44.028 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=130] [2025/04/05 23:09:44.032 +00:00] [INFO] [backfilling.go:398] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 0, physicalTableID: 126, range: [74800000000000007e5f728000000000000001, 74800000000000007e5f72800000000000000300), jobID: 130"] ["added count"=3] ["scan count"=3] ["next key"=74800000000000007e5f72800000000000000300] ["take time"=4.274205ms] [2025/04/05 23:09:44.032 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=130] [2025/04/05 23:09:44.032 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/05 23:09:44.032 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/05 23:09:44.042 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: modify column, Table ID: 126, Table Name: t, Column ID: 4, Column Name: a)"] [2025/04/05 23:09:44.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.007131ms] [gotSchemaVersion=96] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:09:44.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=96] [2025/04/05 23:09:44.063 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=9.188403ms] [job="ID:130, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151501808959507, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:44.073 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=130] [tableID=126] [indexIDs="[1]"] [comment="modify column: table ID"] [2025/04/05 23:09:44.078 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="modify column"] [2025/04/05 23:09:44.079 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-05 23:09:43.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457151501808959507, Version: v2, UniqueWarnings:0"] [2025/04/05 23:09:44.109 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/05 23:09:44.109 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=96] [cur_db=test] [sql="alter table t modify column a tinyint"] [user=] [2025/04/05 23:09:44.115 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:43.527 +0000 UTC"] [2025/04/05 23:09:44.127 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:43.527000'"] [2025/04/05 23:09:44.127 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:44.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.139 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/05 23:09:44.146 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.204 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:44.220 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=556ms] [requiredStaleness=656ms] [prevState=normal] [newState=adapting] [2025/04/05 23:09:44.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=169.215µs] [gotSchemaVersion=97] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:44.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=97] [2025/04/05 23:09:44.338 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=7.581625ms] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.347 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:44.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:44.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.435299ms] ["completed regions"=1] [2025/04/05 23:09:44.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:44.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:44.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.438535ms] ["completed regions"=1] [2025/04/05 23:09:44.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:44.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:44.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.203216ms] ["completed regions"=1] [2025/04/05 23:09:44.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:44.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:44.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.08092ms] ["completed regions"=1] [2025/04/05 23:09:44.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:44.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:44.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.883568ms] ["completed regions"=1] [2025/04/05 23:09:44.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:44.409 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:44.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.089818ms] ["completed regions"=1] [2025/04/05 23:09:44.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:44.414 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:44.415 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.867477ms] ["completed regions"=1] [2025/04/05 23:09:44.415 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:44.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:44.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.92851ms] ["completed regions"=1] [2025/04/05 23:09:44.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:44.423 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:44.424 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.714237ms] ["completed regions"=1] [2025/04/05 23:09:44.424 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:44.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:44.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.588081ms] ["completed regions"=1] [2025/04/05 23:09:44.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:44.431 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:44.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.781323ms] ["completed regions"=1] [2025/04/05 23:09:44.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:44.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:44.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.072387ms] ["completed regions"=1] [2025/04/05 23:09:44.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:44.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:44.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.381681ms] ["completed regions"=1] [2025/04/05 23:09:44.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:44.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:44.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.508385ms] ["completed regions"=1] [2025/04/05 23:09:44.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:44.448 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:44.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.360128ms] ["completed regions"=1] [2025/04/05 23:09:44.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:44.451 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:44.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.249164ms] ["completed regions"=1] [2025/04/05 23:09:44.452 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:44.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:44.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.290414ms] ["completed regions"=1] [2025/04/05 23:09:44.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:44.459 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:44.460 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.037435ms] ["completed regions"=1] [2025/04/05 23:09:44.460 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:44.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:44.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.287892ms] ["completed regions"=1] [2025/04/05 23:09:44.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:44.466 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:44.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.958536ms] ["completed regions"=1] [2025/04/05 23:09:44.467 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:44.470 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:44.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.109895ms] ["completed regions"=1] [2025/04/05 23:09:44.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:44.473 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:44.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.944002ms] ["completed regions"=1] [2025/04/05 23:09:44.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:44.477 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:44.478 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.904255ms] ["completed regions"=1] [2025/04/05 23:09:44.478 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:44.480 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:44.481 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.01301ms] ["completed regions"=1] [2025/04/05 23:09:44.481 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:44.483 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:44.484 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.703543ms] ["completed regions"=1] [2025/04/05 23:09:44.484 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:44.487 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:44.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.717748ms] ["completed regions"=1] [2025/04/05 23:09:44.488 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:44.490 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:44.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.68823ms] ["completed regions"=1] [2025/04/05 23:09:44.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:44.493 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:44.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.642394ms] ["completed regions"=1] [2025/04/05 23:09:44.494 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:44.496 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:44.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.640808ms] ["completed regions"=1] [2025/04/05 23:09:44.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:44.499 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:44.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.418233ms] ["completed regions"=1] [2025/04/05 23:09:44.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:44.502 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:44.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.324582ms] ["completed regions"=1] [2025/04/05 23:09:44.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:44.504 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:44.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.422368ms] ["completed regions"=1] [2025/04/05 23:09:44.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:44.507 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:44.508 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.389294ms] ["completed regions"=1] [2025/04/05 23:09:44.508 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:44.510 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:44.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.184591ms] ["completed regions"=1] [2025/04/05 23:09:44.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:44.513 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:44.514 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.277302ms] ["completed regions"=1] [2025/04/05 23:09:44.514 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:44.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:44.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.189507ms] ["completed regions"=1] [2025/04/05 23:09:44.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:44.518 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:44.519 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.190716ms] ["completed regions"=1] [2025/04/05 23:09:44.519 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:44.520 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:44.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.174773ms] ["completed regions"=1] [2025/04/05 23:09:44.522 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:44.523 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:44.524 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.986906ms] ["completed regions"=1] [2025/04/05 23:09:44.524 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:44.525 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:44.526 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.89481ms] ["completed regions"=1] [2025/04/05 23:09:44.526 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:44.527 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:44.528 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.921449ms] ["completed regions"=1] [2025/04/05 23:09:44.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:44.530 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:44.531 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.840383ms] ["completed regions"=1] [2025/04/05 23:09:44.531 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:44.532 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:44.533 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:44.534 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:44.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.896944ms] ["completed regions"=3] [2025/04/05 23:09:44.541 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/05 23:09:44.548 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.549 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:44.552 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:44.554 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:09:44.554 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.888914ms] ["completed regions"=1] [2025/04/05 23:09:44.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:44.557 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:44.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:09:44.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.244856ms] ["completed regions"=1] [2025/04/05 23:09:44.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:44.562 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:44.563 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:09:44.563 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.31477ms] ["completed regions"=1] [2025/04/05 23:09:44.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:44.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:44.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:09:44.568 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.033404ms] ["completed regions"=1] [2025/04/05 23:09:44.568 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:44.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:44.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:09:44.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.864942ms] ["completed regions"=1] [2025/04/05 23:09:44.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:44.575 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:44.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:09:44.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.940832ms] ["completed regions"=1] [2025/04/05 23:09:44.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:44.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:44.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:09:44.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.96185ms] ["completed regions"=1] [2025/04/05 23:09:44.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:44.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:44.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:09:44.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.936294ms] ["completed regions"=1] [2025/04/05 23:09:44.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:44.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:44.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:09:44.590 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.679956ms] ["completed regions"=1] [2025/04/05 23:09:44.590 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:44.592 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:44.593 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:09:44.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.55683ms] ["completed regions"=1] [2025/04/05 23:09:44.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:44.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:44.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:09:44.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.509535ms] ["completed regions"=1] [2025/04/05 23:09:44.598 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:44.600 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:44.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:09:44.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.431551ms] ["completed regions"=1] [2025/04/05 23:09:44.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:44.605 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:44.606 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:09:44.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.489124ms] ["completed regions"=1] [2025/04/05 23:09:44.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:44.609 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:44.610 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:09:44.610 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.717383ms] ["completed regions"=1] [2025/04/05 23:09:44.610 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:44.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:44.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:09:44.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.534759ms] ["completed regions"=1] [2025/04/05 23:09:44.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:44.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:44.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:09:44.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.425371ms] ["completed regions"=1] [2025/04/05 23:09:44.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:44.621 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:44.622 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:09:44.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.230285ms] ["completed regions"=1] [2025/04/05 23:09:44.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:44.624 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:44.625 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:09:44.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.030966ms] ["completed regions"=1] [2025/04/05 23:09:44.625 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:44.628 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:44.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:09:44.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.130007ms] ["completed regions"=1] [2025/04/05 23:09:44.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:44.631 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:44.632 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:09:44.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.168233ms] ["completed regions"=1] [2025/04/05 23:09:44.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:44.635 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:44.636 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:09:44.636 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.043171ms] ["completed regions"=1] [2025/04/05 23:09:44.636 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:44.638 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:44.639 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:09:44.639 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.012798ms] ["completed regions"=1] [2025/04/05 23:09:44.639 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:44.642 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:44.643 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:09:44.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.859286ms] ["completed regions"=1] [2025/04/05 23:09:44.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:44.645 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:44.646 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:09:44.646 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.848643ms] ["completed regions"=1] [2025/04/05 23:09:44.646 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:44.648 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:44.649 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:09:44.649 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.787836ms] ["completed regions"=1] [2025/04/05 23:09:44.649 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:44.651 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:44.652 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:09:44.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.700036ms] ["completed regions"=1] [2025/04/05 23:09:44.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:44.654 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:44.655 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:09:44.655 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.751684ms] ["completed regions"=1] [2025/04/05 23:09:44.655 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:44.657 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:44.658 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:09:44.658 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.649147ms] ["completed regions"=1] [2025/04/05 23:09:44.658 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:44.660 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:44.661 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:09:44.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.731769ms] ["completed regions"=1] [2025/04/05 23:09:44.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:44.663 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:44.664 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:09:44.665 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.684671ms] ["completed regions"=1] [2025/04/05 23:09:44.665 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:44.666 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:44.667 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:09:44.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.472734ms] ["completed regions"=1] [2025/04/05 23:09:44.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:44.669 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:44.670 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:09:44.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.551254ms] ["completed regions"=1] [2025/04/05 23:09:44.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:44.672 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:44.673 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:09:44.673 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.459446ms] ["completed regions"=1] [2025/04/05 23:09:44.673 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:44.675 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:44.676 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:09:44.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.823685ms] ["completed regions"=1] [2025/04/05 23:09:44.677 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:44.678 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:44.679 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:09:44.679 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.387213ms] ["completed regions"=1] [2025/04/05 23:09:44.679 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:44.681 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:44.682 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:09:44.682 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.26134ms] ["completed regions"=1] [2025/04/05 23:09:44.682 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:44.684 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:44.685 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:09:44.685 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.219899ms] ["completed regions"=1] [2025/04/05 23:09:44.685 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:44.686 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:44.687 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:09:44.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.155232ms] ["completed regions"=1] [2025/04/05 23:09:44.687 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:44.689 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:44.690 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:09:44.690 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.016047ms] ["completed regions"=1] [2025/04/05 23:09:44.690 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:44.691 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:44.692 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:09:44.692 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.004979ms] ["completed regions"=1] [2025/04/05 23:09:44.692 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:44.693 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:44.694 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:09:44.694 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.016137ms] ["completed regions"=1] [2025/04/05 23:09:44.694 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:44.696 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:44.697 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:09:44.697 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.964215ms] ["completed regions"=1] [2025/04/05 23:09:44.697 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:44.698 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:44.699 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:44.700 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:44.702 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:09:44.702 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.002861ms] ["completed regions"=3] [2025/04/05 23:09:44.702 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:44.718 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:44.865 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=147.36555ms] [2025/04/05 23:09:44.866 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:44.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=98] [2025/04/05 23:09:44.874 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=157.49245ms] [job="ID:131, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.948 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.967 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 23:09:44.967 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 8\n# Query_time: 0.852656365\n# Parse_time: 0.000063064\n# Compile_time: 0.000298773\n# Rewrite_time: 0.000003625\n# Optimize_time: 0.000040472\n# Wait_TS: 0.000404747\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:43.527000';"] [2025/04/05 23:09:44.971 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [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`, `a`)))), ((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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:44.991 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:44.991 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [] [2025/04/05 23:09:44.991 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:44.991 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:44.991 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:44.991 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp add index"] ["take time"=102.998µs] [2025/04/05 23:09:44.991 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:44.991 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=62.236µs] [2025/04/05 23:09:44.992 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=60.736µs] [2025/04/05 23:09:44.992 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=36.434µs] [2025/04/05 23:09:44.992 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=66.776µs] [2025/04/05 23:09:44.992 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=49.046µs] [2025/04/05 23:09:44.992 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:44.992 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:44.993 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:44.993 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:44.997 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f4dcce06-db74-4891-ad55-76e1e6b5cf78] ["take time"=6.404523ms] [2025/04/05 23:09:44.997 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:44.997 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:44.997 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:44.997 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/961a03ff-17c3-48d2-9859-89960e42eea1] [watcherID=5ce0b879-4e4f-4ee9-a5eb-d828ee1fa6f0] [2025/04/05 23:09:44.998 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/961a03ff-17c3-48d2-9859-89960e42eea1] [2025/04/05 23:09:44.998 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [ttl-worker=task-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [originalCount=4] [newCount=0] [2025/04/05 23:09:44.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:44.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:44.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:44.998 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:44.998 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [ttl-worker=task-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [originalCount=4] [newCount=0] [2025/04/05 23:09:45.000 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:45.000 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:45.001 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:45.001 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:45.003 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.003 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=348] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:45.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:45.004 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:45.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:45.005 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:45.005 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [] [2025/04/05 23:09:45.005 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:45.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:45.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:45.004 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:45.005 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:45.005 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:45.006 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:45.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:45.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:45.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:45.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:45.007 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=fe75b47b-2a0c-49b5-900d-3dffe56e4d00] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:45.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:45.007 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:45.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:45.007 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:45.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:45.007 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [error="context canceled"] [2025/04/05 23:09:45.007 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:45.007 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:45.007 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:45.007 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:45.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:45.008 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [error="context canceled"] [2025/04/05 23:09:45.008 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [2025/04/05 23:09:45.009 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [error="context canceled"] [2025/04/05 23:09:45.009 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f4dcce06-db74-4891-ad55-76e1e6b5cf78] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:45.032 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:45.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:45.069 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:45.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:45.080 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.357378ms] [2025/04/05 23:09:45.084 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:45.084 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:45.084 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:45.084 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:45.084 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:45.084 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:45.084 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:45.084 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:45.084 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:45.084 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:45.084 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:45.084 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:45.085 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropModifyColumn (3.11s) === NAME === RUN TestFlashbackBasicRenameDropCreateTable [2025/04/05 23:09:45.095 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:45.095 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:45.096 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:45.096 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:45.096 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:45.097 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:45.097 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:45.097 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:45.097 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:45.097 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:45.098 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:45.101 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:45.106 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:45.107 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:45.108 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:45.120 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:45.130 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:45.164 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=584] ["lease id"=6f18960835af7024] [2025/04/05 23:09:45.165 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:45.297 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=98] ["elapsed time"=129.211108ms] [2025/04/05 23:09:45.297 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:45.302 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:45.309 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:45.309 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:45.311 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:45.312 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:45.313 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245942919168/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:45.313 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:45.313 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:45.313 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [2025/04/05 23:09:45.315 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835af701f] [ownerID=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [op=none] [2025/04/05 23:09:45.315 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:45.315 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [ownerKey=/tidb/ddl/fg/owner/3eaa960835af701f] [currRev=497] [2025/04/05 23:09:45.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:45.316 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=751725ae-6f0b-43fd-8968-f200e309939b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:45.316 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:45.316 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af7021] [ownerID=751725ae-6f0b-43fd-8968-f200e309939b] [op=none] [2025/04/05 23:09:45.317 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [2025/04/05 23:09:45.317 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [ownerKey=/tidb/br-stream/owner/3eaa960835af7021] [currRev=498] [2025/04/05 23:09:45.317 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835af701f] [ownerID=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [op=none] [2025/04/05 23:09:45.317 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [op=none] [2025/04/05 23:09:45.317 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:45.324 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:45.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:45.325 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:45.337 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:45.344 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:45.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:45.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:45.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:45.355 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:45.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:45.355 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:45.355 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:45.355 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:45.355 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:45.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:45.356 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:45.357 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:45.357 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:45.357 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:45.357 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:45.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:45.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:45.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:45.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:45.359 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:45.360 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af702f] [ownerID=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [op=none] [2025/04/05 23:09:45.360 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:45.360 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [ownerKey=/tidb/stats/owner/6f18960835af702f] [currRev=500] [2025/04/05 23:09:45.362 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f9ebd091-5151-422b-8967-b4306d493b26] [2025/04/05 23:09:45.362 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [ttl-worker=task-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [originalCount=0] [newCount=4] [2025/04/05 23:09:45.362 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [ttl-worker=task-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [originalCount=0] [newCount=4] [2025/04/05 23:09:45.363 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:45.365 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:45.365 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:45.365 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894585366106708 [2025/04/05 23:09:45.366 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:45.374 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:45.380 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.995995ms] [2025/04/05 23:09:45.380 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:45.380 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:45.380 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:45.385 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=98] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:45.398 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:45.398 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:45.403 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.423 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.413519ms] [gotSchemaVersion=99] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:45.426 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=99] [2025/04/05 23:09:45.428 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=9.872291ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.433083ms] [gotSchemaVersion=100] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:45.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=100] [2025/04/05 23:09:45.460 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=9.377065ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.474 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 126, Old Table Name: t)"] [2025/04/05 23:09:45.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.693896ms] [gotSchemaVersion=101] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:45.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=101] [2025/04/05 23:09:45.500 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=11.320844ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.510 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[126]"] [comment="drop table: table ID"] [2025/04/05 23:09:45.520 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/05 23:09:45.522 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.550 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 23:09:45.551 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=101] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894585551331310 [2025/04/05 23:09:45.572 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:09:45.586 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=101] [cur_db=test] [sql="drop table if exists t, t1, t2, t3"] [user=] [2025/04/05 23:09:45.600 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:45.600 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 23:09:45.606 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.611 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/05 23:09:45.651 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=101] ["elapsed time"=86.09142ms] [2025/04/05 23:09:45.651 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:09:45.651 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:45.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.754824ms] [gotSchemaVersion=102] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:45.662 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=102] [2025/04/05 23:09:45.664 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=41.730993ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.675 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 23:09:45.690 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=102] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 23:09:45.710 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:45.710 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, index i(a))"] [2025/04/05 23:09:45.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.720 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t1)"] [2025/04/05 23:09:45.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.734662ms] [gotSchemaVersion=103] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:45.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=103] [2025/04/05 23:09:45.740 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=8.847089ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.767 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/05 23:09:45.767 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=103] [cur_db=test] [sql="create table t1(a int, index i(a))"] [user=] [2025/04/05 23:09:46.323 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:46.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:46.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:46.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:46.363 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:46.363 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:46.363 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f9ebd091-5151-422b-8967-b4306d493b26] [watcherID=0eaef367-0361-43a3-9604-b332a0ba48d8] [2025/04/05 23:09:46.366 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:46.372 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:46.372 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:46.372 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:46.372 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:46.796 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="rename table t to t3"] [2025/04/05 23:09:46.796 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:46.802 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.823 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.843354ms] [gotSchemaVersion=104] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/05 23:09:46.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=104] [2025/04/05 23:09:46.828 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=10.024161ms] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.838 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.855 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.764774ms] [gotSchemaVersion=105] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/05 23:09:46.858 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=105] [2025/04/05 23:09:46.860 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=9.033269ms] [job="ID:137, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.870 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.882 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 23:09:46.882 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=105] [cur_db=test] [sql="rename table t to t3"] [user=] [2025/04/05 23:09:46.893 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:46.893 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t1"] [2025/04/05 23:09:46.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=2.192384ms] [gotSchemaVersion=106] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:46.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=106] [2025/04/05 23:09:46.921 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=9.771644ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=2.123798ms] [gotSchemaVersion=107] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:46.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=107] [2025/04/05 23:09:46.952 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=9.577224ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.960 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.967 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/05 23:09:46.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.155401ms] [gotSchemaVersion=108] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:46.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=108] [2025/04/05 23:09:46.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=8.647556ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.996 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/05 23:09:47.004 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/05 23:09:47.005 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/05 23:09:47.024 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=108] [cur_db=test] [sql="drop table t1"] [user=] [2025/04/05 23:09:47.037 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:47.037 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, index i(a))"] [2025/04/05 23:09:47.043 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.048 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t2)"] [2025/04/05 23:09:47.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.76599ms] [gotSchemaVersion=109] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:47.067 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=109] [2025/04/05 23:09:47.069 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=9.739802ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.082 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 23:09:47.094 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=109] [cur_db=test] [sql="create table t2(a int, index i(a))"] [user=] [2025/04/05 23:09:47.102 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:47.114 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:46.777 +0000 UTC"] [2025/04/05 23:09:47.126 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:47.126 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:46.777000'"] [2025/04/05 23:09:47.131 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.137 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/05 23:09:47.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.225 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=400ms] [prevState=normal] [newState=adapting] [2025/04/05 23:09:47.259 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=166.793µs] [gotSchemaVersion=110] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:47.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=110] [2025/04/05 23:09:47.265 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=7.781594ms] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.274 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:47.311 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:47.313 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:47.313 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.205123ms] ["completed regions"=1] [2025/04/05 23:09:47.314 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:47.318 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:47.319 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.814673ms] ["completed regions"=1] [2025/04/05 23:09:47.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:47.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:47.324 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.226437ms] ["completed regions"=1] [2025/04/05 23:09:47.324 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:47.327 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:47.329 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.491838ms] ["completed regions"=1] [2025/04/05 23:09:47.329 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:47.332 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:47.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.291952ms] ["completed regions"=1] [2025/04/05 23:09:47.333 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:47.337 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:47.338 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.084782ms] ["completed regions"=1] [2025/04/05 23:09:47.338 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:47.342 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:47.343 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.964422ms] ["completed regions"=1] [2025/04/05 23:09:47.343 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:47.346 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:47.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.756913ms] ["completed regions"=1] [2025/04/05 23:09:47.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:47.350 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:47.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.659399ms] ["completed regions"=1] [2025/04/05 23:09:47.352 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:47.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:47.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.784121ms] ["completed regions"=1] [2025/04/05 23:09:47.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:47.359 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:47.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.695338ms] ["completed regions"=1] [2025/04/05 23:09:47.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:47.363 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:47.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.434858ms] ["completed regions"=1] [2025/04/05 23:09:47.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:47.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:47.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.541221ms] ["completed regions"=1] [2025/04/05 23:09:47.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:47.373 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:47.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.7918ms] ["completed regions"=1] [2025/04/05 23:09:47.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:47.377 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:47.379 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.640115ms] ["completed regions"=1] [2025/04/05 23:09:47.379 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:47.382 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:47.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.422881ms] ["completed regions"=1] [2025/04/05 23:09:47.383 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:47.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:47.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.316645ms] ["completed regions"=1] [2025/04/05 23:09:47.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:47.389 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:47.390 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.286639ms] ["completed regions"=1] [2025/04/05 23:09:47.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:47.393 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:47.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.211432ms] ["completed regions"=1] [2025/04/05 23:09:47.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:47.397 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:47.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.347291ms] ["completed regions"=1] [2025/04/05 23:09:47.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:47.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:47.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.189126ms] ["completed regions"=1] [2025/04/05 23:09:47.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:47.404 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:47.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.909944ms] ["completed regions"=1] [2025/04/05 23:09:47.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:47.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:47.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.999681ms] ["completed regions"=1] [2025/04/05 23:09:47.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:47.411 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:47.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.603372ms] ["completed regions"=1] [2025/04/05 23:09:47.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:47.415 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:47.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.688212ms] ["completed regions"=1] [2025/04/05 23:09:47.416 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:47.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:47.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.770908ms] ["completed regions"=1] [2025/04/05 23:09:47.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:47.421 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:47.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.682051ms] ["completed regions"=1] [2025/04/05 23:09:47.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:47.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:47.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.701587ms] ["completed regions"=1] [2025/04/05 23:09:47.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:47.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:47.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.628285ms] ["completed regions"=1] [2025/04/05 23:09:47.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:47.431 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:47.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.516217ms] ["completed regions"=1] [2025/04/05 23:09:47.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:47.433 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:47.434 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.365726ms] ["completed regions"=1] [2025/04/05 23:09:47.434 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:47.436 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:47.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.615577ms] ["completed regions"=1] [2025/04/05 23:09:47.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:47.439 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:47.440 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.295139ms] ["completed regions"=1] [2025/04/05 23:09:47.440 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:47.442 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:47.443 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.237563ms] ["completed regions"=1] [2025/04/05 23:09:47.443 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:47.445 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:47.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.305101ms] ["completed regions"=1] [2025/04/05 23:09:47.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:47.447 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:47.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.120901ms] ["completed regions"=1] [2025/04/05 23:09:47.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:47.450 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:47.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.80004ms] ["completed regions"=1] [2025/04/05 23:09:47.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:47.453 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:47.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.025174ms] ["completed regions"=1] [2025/04/05 23:09:47.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:47.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:47.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.172733ms] ["completed regions"=1] [2025/04/05 23:09:47.457 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:47.458 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:47.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.973708ms] ["completed regions"=1] [2025/04/05 23:09:47.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:47.460 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:47.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.92142ms] ["completed regions"=1] [2025/04/05 23:09:47.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:47.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:47.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.801211ms] ["completed regions"=1] [2025/04/05 23:09:47.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:47.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:47.466 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:47.467 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:47.468 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.164867ms] ["completed regions"=3] [2025/04/05 23:09:47.478 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/05 23:09:47.485 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:47.490 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:47.492 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:09:47.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.957634ms] ["completed regions"=1] [2025/04/05 23:09:47.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:47.496 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:47.497 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:09:47.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.656766ms] ["completed regions"=1] [2025/04/05 23:09:47.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:47.501 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:47.502 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:09:47.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.234364ms] ["completed regions"=1] [2025/04/05 23:09:47.502 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:47.505 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:47.507 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:09:47.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.245266ms] ["completed regions"=1] [2025/04/05 23:09:47.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:47.510 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:47.511 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:09:47.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.024042ms] ["completed regions"=1] [2025/04/05 23:09:47.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:47.514 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:47.516 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:09:47.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.155574ms] ["completed regions"=1] [2025/04/05 23:09:47.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:47.519 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:47.520 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:09:47.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.938577ms] ["completed regions"=1] [2025/04/05 23:09:47.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:47.523 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:47.524 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:09:47.524 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.714505ms] ["completed regions"=1] [2025/04/05 23:09:47.524 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:47.527 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:47.528 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:09:47.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.865436ms] ["completed regions"=1] [2025/04/05 23:09:47.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:47.531 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:47.533 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:09:47.533 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.733811ms] ["completed regions"=1] [2025/04/05 23:09:47.533 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:47.536 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:47.537 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:09:47.537 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.673398ms] ["completed regions"=1] [2025/04/05 23:09:47.537 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:47.540 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:47.542 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:09:47.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.515444ms] ["completed regions"=1] [2025/04/05 23:09:47.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:47.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:47.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:09:47.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.909777ms] ["completed regions"=1] [2025/04/05 23:09:47.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:47.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:47.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:09:47.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.718668ms] ["completed regions"=1] [2025/04/05 23:09:47.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:47.553 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:47.554 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:09:47.554 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.460915ms] ["completed regions"=1] [2025/04/05 23:09:47.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:47.557 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:47.558 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:09:47.558 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.408212ms] ["completed regions"=1] [2025/04/05 23:09:47.558 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:47.561 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:47.562 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:09:47.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.417466ms] ["completed regions"=1] [2025/04/05 23:09:47.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:47.564 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:47.565 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:09:47.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.287342ms] ["completed regions"=1] [2025/04/05 23:09:47.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:47.568 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:47.569 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:09:47.569 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.549443ms] ["completed regions"=1] [2025/04/05 23:09:47.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:47.572 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:47.573 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:09:47.573 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.176928ms] ["completed regions"=1] [2025/04/05 23:09:47.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:47.576 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:47.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:09:47.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.144485ms] ["completed regions"=1] [2025/04/05 23:09:47.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:47.579 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:47.580 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:09:47.580 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.173435ms] ["completed regions"=1] [2025/04/05 23:09:47.580 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:47.583 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:47.584 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:09:47.584 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.019623ms] ["completed regions"=1] [2025/04/05 23:09:47.584 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:47.586 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:47.587 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:09:47.587 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.900571ms] ["completed regions"=1] [2025/04/05 23:09:47.587 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:47.589 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:47.590 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:09:47.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.039034ms] ["completed regions"=1] [2025/04/05 23:09:47.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:47.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:47.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:09:47.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.72555ms] ["completed regions"=1] [2025/04/05 23:09:47.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:47.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:47.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:09:47.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.737896ms] ["completed regions"=1] [2025/04/05 23:09:47.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:47.599 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:47.600 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:09:47.600 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.884976ms] ["completed regions"=1] [2025/04/05 23:09:47.600 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:47.602 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:47.603 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:09:47.603 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.742828ms] ["completed regions"=1] [2025/04/05 23:09:47.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:47.605 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:47.606 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:09:47.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.581532ms] ["completed regions"=1] [2025/04/05 23:09:47.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:47.608 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:47.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:09:47.610 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.745269ms] ["completed regions"=1] [2025/04/05 23:09:47.610 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:47.611 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:47.612 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:09:47.612 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.5536ms] ["completed regions"=1] [2025/04/05 23:09:47.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:47.614 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:47.615 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:09:47.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.609425ms] ["completed regions"=1] [2025/04/05 23:09:47.616 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:47.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:47.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:09:47.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.568277ms] ["completed regions"=1] [2025/04/05 23:09:47.619 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:47.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:47.621 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:09:47.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.530092ms] ["completed regions"=1] [2025/04/05 23:09:47.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:47.623 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:47.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:09:47.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.183825ms] ["completed regions"=1] [2025/04/05 23:09:47.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:47.626 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:47.627 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:09:47.627 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.259441ms] ["completed regions"=1] [2025/04/05 23:09:47.627 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:47.628 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:47.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:09:47.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.418728ms] ["completed regions"=1] [2025/04/05 23:09:47.630 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:47.631 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:47.632 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:09:47.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.047289ms] ["completed regions"=1] [2025/04/05 23:09:47.632 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:47.634 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:47.635 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:09:47.635 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.302275ms] ["completed regions"=1] [2025/04/05 23:09:47.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:47.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:47.637 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:09:47.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.096918ms] ["completed regions"=1] [2025/04/05 23:09:47.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:47.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:47.639 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:09:47.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.920221ms] ["completed regions"=1] [2025/04/05 23:09:47.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:47.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:47.642 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:47.643 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:47.645 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:09:47.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.102332ms] ["completed regions"=3] [2025/04/05 23:09:47.645 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:47.663 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:47.748 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=84.530562ms] [2025/04/05 23:09:47.748 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:47.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=111] [2025/04/05 23:09:47.754 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=92.340655ms] [job="ID:141, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.827 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/05 23:09:47.840 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.72626167\n# Parse_time: 0.000092652\n# Compile_time: 0.000279256\n# Rewrite_time: 0.000003747\n# Optimize_time: 0.000713689\n# Wait_TS: 0.000475279\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:46.777000';"] [2025/04/05 23:09:47.841 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [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`, `a`)))), ((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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:47.862 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t1] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t1`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` 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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:47.884 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:47.884 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:47.884 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [] [2025/04/05 23:09:47.884 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.884 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:47.884 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=70.73µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=52.41µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=70.146µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=38.433µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=31.712µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=31.178µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=32.617µs] [2025/04/05 23:09:47.885 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.885 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.886 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:47.887 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:47.889 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f27fd259-1dc4-4086-9691-6cd18ec3aabf] ["take time"=5.410325ms] [2025/04/05 23:09:47.889 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.890 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:47.890 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f9ebd091-5151-422b-8967-b4306d493b26] [watcherID=0eaef367-0361-43a3-9604-b332a0ba48d8] [2025/04/05 23:09:47.890 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:47.890 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f9ebd091-5151-422b-8967-b4306d493b26] [2025/04/05 23:09:47.890 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [ttl-worker=task-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [originalCount=4] [newCount=0] [2025/04/05 23:09:47.890 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:47.890 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:47.890 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:47.890 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:47.890 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [ttl-worker=task-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [originalCount=4] [newCount=0] [2025/04/05 23:09:47.893 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:47.893 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:47.893 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:47.893 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:47.895 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.895 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=584] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:47.897 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:47.896 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:47.896 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:47.897 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [2025/04/05 23:09:47.897 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=751725ae-6f0b-43fd-8968-f200e309939b] [2025/04/05 23:09:47.897 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.896 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:47.897 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:47.897 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:47.897 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:47.897 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:47.897 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:47.897 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [] [2025/04/05 23:09:47.897 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:47.897 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.897 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:47.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:47.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:47.897 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:47.898 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.898 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.898 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.898 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:47.898 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:47.898 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:47.898 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:47.898 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:47.898 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:47.898 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:47.898 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=751725ae-6f0b-43fd-8968-f200e309939b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:47.898 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:47.898 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:47.898 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:47.899 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:47.899 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:47.899 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [error="context canceled"] [2025/04/05 23:09:47.899 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:47.899 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:47.899 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:47.900 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [error="context canceled"] [2025/04/05 23:09:47.900 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [2025/04/05 23:09:47.900 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [error="context canceled"] [2025/04/05 23:09:47.900 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f27fd259-1dc4-4086-9691-6cd18ec3aabf] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:47.918 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:47.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:47.959 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:47.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:47.970 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.374116ms] [2025/04/05 23:09:47.973 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:47.973 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:47.973 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:47.973 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:47.973 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:47.973 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:47.973 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:47.973 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:47.973 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:47.973 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:47.973 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:47.973 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:47.975 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackBasicRenameDropCreateTable (2.89s) === NAME === RUN TestFlashbackCreateDropTableWithData [2025/04/05 23:09:47.984 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:47.984 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:47.986 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:47.986 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:47.986 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:47.986 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:47.986 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:47.986 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:47.986 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:47.987 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:47.987 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:47.991 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:47.996 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:47.997 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:47.998 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:48.007 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:48.018 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:48.051 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=270] ["lease id"=3eaa960835af7049] [2025/04/05 23:09:48.053 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:48.169 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=111] ["elapsed time"=113.831719ms] [2025/04/05 23:09:48.169 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:48.172 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:48.179 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2943865f-8958-4024-94c1-85fbac66442b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:48.179 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:48.182 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:48.183 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:48.183 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245943455744/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:48.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:48.183 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:48.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:48.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:48.184 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:48.184 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [2025/04/05 23:09:48.185 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af705b] [ownerID=2943865f-8958-4024-94c1-85fbac66442b] [op=none] [2025/04/05 23:09:48.185 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:48.186 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [ownerKey=/tidb/ddl/fg/owner/6f18960835af705b] [currRev=561] [2025/04/05 23:09:48.187 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:48.187 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f728f68e-e62a-4782-9569-466184efe9fb] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:48.188 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:48.189 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835af6ad4] [ownerID=f728f68e-e62a-4782-9569-466184efe9fb] [op=none] [2025/04/05 23:09:48.189 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [2025/04/05 23:09:48.189 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [ownerKey=/tidb/br-stream/owner/2231960835af6ad4] [currRev=562] [2025/04/05 23:09:48.189 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af705b] [ownerID=2943865f-8958-4024-94c1-85fbac66442b] [op=none] [2025/04/05 23:09:48.189 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [op=none] [2025/04/05 23:09:48.190 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:48.193 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:48.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:48.195 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:48.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:48.212 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:48.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:48.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:48.218 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:48.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:48.218 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:48.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:48.218 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:48.218 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:48.218 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:48.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:48.219 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:48.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:48.221 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:48.221 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:48.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:48.223 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:48.223 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835af7053] [ownerID=2943865f-8958-4024-94c1-85fbac66442b] [op=none] [2025/04/05 23:09:48.223 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:48.223 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [ownerKey=/tidb/stats/owner/3eaa960835af7053] [currRev=564] [2025/04/05 23:09:48.226 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e0e73f0f-df09-4f16-8d21-4d5c74195a40] [2025/04/05 23:09:48.226 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:48.226 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [ttl-worker=task-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [originalCount=0] [newCount=4] [2025/04/05 23:09:48.227 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [ttl-worker=task-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [originalCount=0] [newCount=4] [2025/04/05 23:09:48.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:48.227 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:48.227 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:48.227 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894588227409889 [2025/04/05 23:09:48.232 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:48.241 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.19502ms] [2025/04/05 23:09:48.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:48.241 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:48.249 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:09:48.271 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:48.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:48.275 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:09:48.288 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:48.289 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/05 23:09:48.294 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.028771ms] [gotSchemaVersion=112] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:48.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=112] [2025/04/05 23:09:48.318 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=9.60289ms] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.113794ms] [gotSchemaVersion=113] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:48.349 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=113] [2025/04/05 23:09:48.350 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=9.495481ms] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.359 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.366 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/05 23:09:48.379 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.272904ms] [gotSchemaVersion=114] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:48.383 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=114] [2025/04/05 23:09:48.384 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=8.170832ms] [job="ID:142, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.394 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=142] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/05 23:09:48.402 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="drop table"] [2025/04/05 23:09:48.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/05 23:09:48.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/05 23:09:48.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:48.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.455 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.021482ms] [gotSchemaVersion=115] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:48.459 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=115] [2025/04/05 23:09:48.461 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=9.240875ms] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.471 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.021819ms] [gotSchemaVersion=116] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:48.490 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=116] [2025/04/05 23:09:48.491 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=8.668956ms] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.506 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/05 23:09:48.520 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.210429ms] [gotSchemaVersion=117] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:48.523 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=117] [2025/04/05 23:09:48.525 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=8.406386ms] [job="ID:143, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.534 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=143] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/05 23:09:48.539 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="drop table"] [2025/04/05 23:09:48.540 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.558 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/05 23:09:48.558 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=117] [cur_db=test] [sql="drop table `t`,`t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894588559243216 [2025/04/05 23:09:48.585 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:48.585 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/05 23:09:48.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.595 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 144, Table Name: t)"] [2025/04/05 23:09:48.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.596323ms] [gotSchemaVersion=118] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:48.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=145] [version=118] [2025/04/05 23:09:48.614 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=8.392475ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:48.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:48.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.635 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=145] [2025/04/05 23:09:48.635 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=118] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/05 23:09:49.195 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:49.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:49.196 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:49.196 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:49.227 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:49.227 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:49.227 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:49.228 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e0e73f0f-df09-4f16-8d21-4d5c74195a40] [watcherID=4dc19a25-1baf-415d-ab09-04f6e14467cd] [2025/04/05 23:09:49.234 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:49.234 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:49.234 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:49.234 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:49.659 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:49.659 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/05 23:09:49.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.683 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.241444ms] [gotSchemaVersion=119] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:49.687 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=119] [2025/04/05 23:09:49.689 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=10.413659ms] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=2.058184ms] [gotSchemaVersion=120] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:49.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=120] [2025/04/05 23:09:49.723 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=9.88584ms] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.733 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.740 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/05 23:09:49.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.404299ms] [gotSchemaVersion=121] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:49.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=121] [2025/04/05 23:09:49.760 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=9.241402ms] [job="ID:146, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.771 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/05 23:09:49.776 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="drop table"] [2025/04/05 23:09:49.777 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.798 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 23:09:49.798 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=121] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 23:09:49.811 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:49.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(b int)"] [2025/04/05 23:09:49.818 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.823 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 147, Table Name: t)"] [2025/04/05 23:09:49.839 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.800884ms] [gotSchemaVersion=122] [phyTblIDs="[147]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:49.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=122] [2025/04/05 23:09:49.845 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=9.943113ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.868 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/05 23:09:49.869 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=122] [cur_db=test] [sql="create table t(b int)"] [user=] [2025/04/05 23:09:49.876 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:49.627 +0000 UTC"] [2025/04/05 23:09:49.887 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:49.887 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:49.627000'"] [2025/04/05 23:09:49.892 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.898 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/05 23:09:49.905 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.991 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:49.993 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=351ms] [prevState=normal] [newState=adapting] [2025/04/05 23:09:50.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=159.967µs] [gotSchemaVersion=123] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:50.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=123] [2025/04/05 23:09:50.032 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=7.134269ms] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.041 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.077 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:50.081 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:50.083 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.692973ms] ["completed regions"=1] [2025/04/05 23:09:50.083 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:50.087 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:50.088 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.752126ms] ["completed regions"=1] [2025/04/05 23:09:50.088 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:50.092 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:50.094 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.850308ms] ["completed regions"=1] [2025/04/05 23:09:50.094 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:50.097 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:50.098 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.155851ms] ["completed regions"=1] [2025/04/05 23:09:50.099 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:50.102 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:50.103 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.964448ms] ["completed regions"=1] [2025/04/05 23:09:50.103 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:50.106 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:50.108 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.400524ms] ["completed regions"=1] [2025/04/05 23:09:50.108 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:50.111 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:50.112 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.233385ms] ["completed regions"=1] [2025/04/05 23:09:50.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:50.116 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:50.117 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.06957ms] ["completed regions"=1] [2025/04/05 23:09:50.117 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:50.121 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:50.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.214247ms] ["completed regions"=1] [2025/04/05 23:09:50.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:50.125 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:50.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.902554ms] ["completed regions"=1] [2025/04/05 23:09:50.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:50.130 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:50.131 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.273139ms] ["completed regions"=1] [2025/04/05 23:09:50.131 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:50.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:50.137 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.693412ms] ["completed regions"=1] [2025/04/05 23:09:50.137 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:50.140 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:50.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.802552ms] ["completed regions"=1] [2025/04/05 23:09:50.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:50.145 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:50.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.072518ms] ["completed regions"=1] [2025/04/05 23:09:50.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:50.150 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:50.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.19377ms] ["completed regions"=1] [2025/04/05 23:09:50.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:50.154 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:50.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.62741ms] ["completed regions"=1] [2025/04/05 23:09:50.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:50.158 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:50.159 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.643663ms] ["completed regions"=1] [2025/04/05 23:09:50.159 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:50.162 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:50.163 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.552668ms] ["completed regions"=1] [2025/04/05 23:09:50.163 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:50.166 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:50.167 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.43649ms] ["completed regions"=1] [2025/04/05 23:09:50.167 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:50.170 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:50.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.538086ms] ["completed regions"=1] [2025/04/05 23:09:50.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:50.174 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:50.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.359199ms] ["completed regions"=1] [2025/04/05 23:09:50.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:50.177 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:50.178 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.9843ms] ["completed regions"=1] [2025/04/05 23:09:50.178 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:50.181 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:50.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.311651ms] ["completed regions"=1] [2025/04/05 23:09:50.182 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:50.183 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:50.185 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:50.186 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.486416ms] ["completed regions"=1] [2025/04/05 23:09:50.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:50.188 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:50.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.046389ms] ["completed regions"=1] [2025/04/05 23:09:50.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:50.192 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:50.193 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.185398ms] ["completed regions"=1] [2025/04/05 23:09:50.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:50.195 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:50.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.942264ms] ["completed regions"=1] [2025/04/05 23:09:50.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:50.199 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:50.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.020879ms] ["completed regions"=1] [2025/04/05 23:09:50.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:50.202 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:50.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.134173ms] ["completed regions"=1] [2025/04/05 23:09:50.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:50.206 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:50.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.693226ms] ["completed regions"=1] [2025/04/05 23:09:50.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:50.209 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:50.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.636121ms] ["completed regions"=1] [2025/04/05 23:09:50.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:50.212 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:50.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.901771ms] ["completed regions"=1] [2025/04/05 23:09:50.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:50.215 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:50.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.773387ms] ["completed regions"=1] [2025/04/05 23:09:50.217 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:50.218 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:50.219 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.539104ms] ["completed regions"=1] [2025/04/05 23:09:50.220 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:50.221 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:50.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.562777ms] ["completed regions"=1] [2025/04/05 23:09:50.223 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:50.224 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:50.226 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.589977ms] ["completed regions"=1] [2025/04/05 23:09:50.226 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:50.227 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:50.229 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.666439ms] ["completed regions"=1] [2025/04/05 23:09:50.229 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:50.230 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:50.232 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.582589ms] ["completed regions"=1] [2025/04/05 23:09:50.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:50.233 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:50.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.288149ms] ["completed regions"=1] [2025/04/05 23:09:50.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:50.236 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:50.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.551501ms] ["completed regions"=1] [2025/04/05 23:09:50.238 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:50.239 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:50.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.460597ms] ["completed regions"=1] [2025/04/05 23:09:50.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:50.242 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:50.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.287355ms] ["completed regions"=1] [2025/04/05 23:09:50.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:50.245 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:50.246 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:50.247 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:50.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.126732ms] ["completed regions"=3] [2025/04/05 23:09:50.256 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/05 23:09:50.263 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:50.268 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:50.271 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:09:50.271 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.876899ms] ["completed regions"=1] [2025/04/05 23:09:50.271 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:50.275 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:50.276 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:09:50.277 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.931058ms] ["completed regions"=1] [2025/04/05 23:09:50.277 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:50.280 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:50.281 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:09:50.281 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.508707ms] ["completed regions"=1] [2025/04/05 23:09:50.282 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:50.285 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:50.286 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:09:50.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.701576ms] ["completed regions"=1] [2025/04/05 23:09:50.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:50.290 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:50.291 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:09:50.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.569538ms] ["completed regions"=1] [2025/04/05 23:09:50.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:50.295 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:50.296 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:09:50.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.176134ms] ["completed regions"=1] [2025/04/05 23:09:50.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:50.300 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:50.301 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:09:50.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.448909ms] ["completed regions"=1] [2025/04/05 23:09:50.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:50.304 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:50.306 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:09:50.306 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.118443ms] ["completed regions"=1] [2025/04/05 23:09:50.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:50.309 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:50.310 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:09:50.310 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.13345ms] ["completed regions"=1] [2025/04/05 23:09:50.310 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:50.314 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:50.315 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:09:50.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.22747ms] ["completed regions"=1] [2025/04/05 23:09:50.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:50.318 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:50.319 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:09:50.319 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.95714ms] ["completed regions"=1] [2025/04/05 23:09:50.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:50.322 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:50.324 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:09:50.324 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.690904ms] ["completed regions"=1] [2025/04/05 23:09:50.324 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:50.327 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:50.328 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:09:50.328 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.794287ms] ["completed regions"=1] [2025/04/05 23:09:50.329 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:50.332 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:50.333 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:09:50.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.80924ms] ["completed regions"=1] [2025/04/05 23:09:50.333 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:50.335 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:50.337 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:09:50.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.453446ms] ["completed regions"=1] [2025/04/05 23:09:50.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:50.339 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:50.341 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:09:50.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.618319ms] ["completed regions"=1] [2025/04/05 23:09:50.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:50.344 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:50.345 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:09:50.345 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.738181ms] ["completed regions"=1] [2025/04/05 23:09:50.345 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:50.348 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:50.349 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:09:50.349 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.203323ms] ["completed regions"=1] [2025/04/05 23:09:50.349 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:50.351 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:50.352 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:09:50.352 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.245557ms] ["completed regions"=1] [2025/04/05 23:09:50.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:50.355 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:50.356 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:09:50.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.26482ms] ["completed regions"=1] [2025/04/05 23:09:50.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:50.359 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:50.360 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:09:50.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.135395ms] ["completed regions"=1] [2025/04/05 23:09:50.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:50.362 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:50.364 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:09:50.364 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.466543ms] ["completed regions"=1] [2025/04/05 23:09:50.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:50.366 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:50.367 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:09:50.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.035462ms] ["completed regions"=1] [2025/04/05 23:09:50.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:50.369 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:50.370 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:09:50.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.085645ms] ["completed regions"=1] [2025/04/05 23:09:50.371 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:50.373 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:50.374 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:09:50.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.241759ms] ["completed regions"=1] [2025/04/05 23:09:50.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:50.376 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:50.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:09:50.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.029066ms] ["completed regions"=1] [2025/04/05 23:09:50.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:50.380 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:50.381 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:09:50.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.731645ms] ["completed regions"=1] [2025/04/05 23:09:50.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:50.383 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:50.384 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:09:50.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.743475ms] ["completed regions"=1] [2025/04/05 23:09:50.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:50.386 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:50.387 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:09:50.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.881396ms] ["completed regions"=1] [2025/04/05 23:09:50.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:50.390 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:50.391 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:09:50.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.305794ms] ["completed regions"=1] [2025/04/05 23:09:50.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:50.393 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:50.394 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:09:50.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.81552ms] ["completed regions"=1] [2025/04/05 23:09:50.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:50.396 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:50.397 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:09:50.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.591162ms] ["completed regions"=1] [2025/04/05 23:09:50.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:50.399 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:50.400 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:09:50.400 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.548458ms] ["completed regions"=1] [2025/04/05 23:09:50.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:50.402 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:50.403 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:09:50.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.654635ms] ["completed regions"=1] [2025/04/05 23:09:50.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:50.405 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:50.407 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:09:50.407 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=3.322777ms] ["completed regions"=1] [2025/04/05 23:09:50.407 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:50.409 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:50.410 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:09:50.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.598253ms] ["completed regions"=1] [2025/04/05 23:09:50.410 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:50.412 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:50.413 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:09:50.413 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.882401ms] ["completed regions"=1] [2025/04/05 23:09:50.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:50.415 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:50.416 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:09:50.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.449608ms] ["completed regions"=1] [2025/04/05 23:09:50.416 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:50.418 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:50.419 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:09:50.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.215684ms] ["completed regions"=1] [2025/04/05 23:09:50.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:50.420 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:50.422 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:09:50.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.138214ms] ["completed regions"=1] [2025/04/05 23:09:50.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:50.423 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:50.424 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:09:50.424 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.310971ms] ["completed regions"=1] [2025/04/05 23:09:50.424 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:50.426 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:50.427 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:09:50.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.024253ms] ["completed regions"=1] [2025/04/05 23:09:50.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:50.428 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:50.429 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:50.430 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:50.432 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:09:50.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.167221ms] ["completed regions"=3] [2025/04/05 23:09:50.432 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:50.449 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:50.534 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=85.243532ms] [2025/04/05 23:09:50.534 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:50.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=124] [2025/04/05 23:09:50.540 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=93.73996ms] [job="ID:149, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.619 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.632 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/05 23:09:50.632 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.75741406\n# Parse_time: 0.000087161\n# Compile_time: 0.000286311\n# Rewrite_time: 0.000003332\n# Optimize_time: 0.000078957\n# Wait_TS: 0.000490063\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:49.627000';"] [2025/04/05 23:09:50.637 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:50.637 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [] [2025/04/05 23:09:50.637 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:50.637 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.637 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:50.637 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:50.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=75.348µs] [2025/04/05 23:09:50.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=73.338µs] [2025/04/05 23:09:50.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=62.568µs] [2025/04/05 23:09:50.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=45.02µs] [2025/04/05 23:09:50.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=35.361µs] [2025/04/05 23:09:50.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=28.001µs] [2025/04/05 23:09:50.638 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.638 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.639 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:50.639 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:50.643 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2943865f-8958-4024-94c1-85fbac66442b] ["take time"=5.837239ms] [2025/04/05 23:09:50.643 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.643 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:50.643 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e0e73f0f-df09-4f16-8d21-4d5c74195a40] [watcherID=4dc19a25-1baf-415d-ab09-04f6e14467cd] [2025/04/05 23:09:50.643 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:50.643 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e0e73f0f-df09-4f16-8d21-4d5c74195a40] [2025/04/05 23:09:50.643 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [ttl-worker=task-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [originalCount=4] [newCount=0] [2025/04/05 23:09:50.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:50.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:50.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:50.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:50.644 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [ttl-worker=task-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [originalCount=4] [newCount=0] [2025/04/05 23:09:50.646 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:50.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:50.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:50.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:50.649 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.649 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=270] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [] [2025/04/05 23:09:50.651 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:50.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:50.651 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:50.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:50.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:50.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:50.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:50.652 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:50.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.651 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:50.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:50.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:50.651 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:50.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:50.651 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:50.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:50.651 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f728f68e-e62a-4782-9569-466184efe9fb] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:50.650 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:50.652 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.652 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:50.652 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:50.652 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:50.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:50.654 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:50.654 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f728f68e-e62a-4782-9569-466184efe9fb] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:50.654 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:50.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:50.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:50.654 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:50.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:50.654 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [error="context canceled"] [2025/04/05 23:09:50.654 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:50.654 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:50.654 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:50.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:50.655 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [error="context canceled"] [2025/04/05 23:09:50.655 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [2025/04/05 23:09:50.655 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [error="context canceled"] [2025/04/05 23:09:50.655 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=2943865f-8958-4024-94c1-85fbac66442b] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:50.673 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:50.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:50.723 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:50.723 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:50.734 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=97.492628ms] [2025/04/05 23:09:50.737 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:50.737 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:50.737 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:50.737 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:50.737 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:50.737 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:50.737 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:50.738 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:50.737 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:50.738 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:50.738 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:50.738 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:50.739 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropTableWithData (2.76s) === NAME === RUN TestFlashbackCreateDropSchema [2025/04/05 23:09:50.749 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:50.749 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:50.750 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:50.750 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:50.751 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:50.751 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:50.751 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:50.751 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:50.751 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:50.751 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:50.751 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:50.755 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:50.761 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:50.761 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:50.762 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:50.772 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:50.782 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:50.824 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1277] ["lease id"=6f18960835af708a] [2025/04/05 23:09:50.826 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:50.928 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=124] ["elapsed time"=98.979751ms] [2025/04/05 23:09:50.928 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:50.930 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:50.937 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5c7f0df7-7d3f-4359-99be-3c901862c817] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:50.937 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:50.939 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:50.940 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:50.941 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245946650624/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:50.941 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:50.941 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:50.941 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [2025/04/05 23:09:50.943 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835af707f] [ownerID=5c7f0df7-7d3f-4359-99be-3c901862c817] [op=none] [2025/04/05 23:09:50.943 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:50.943 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [ownerKey=/tidb/ddl/fg/owner/3eaa960835af707f] [currRev=626] [2025/04/05 23:09:50.944 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:50.944 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:50.945 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af7081] [ownerID=93ae28c3-12ee-4c53-a99e-6d61367a0271] [op=none] [2025/04/05 23:09:50.945 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [2025/04/05 23:09:50.945 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [ownerKey=/tidb/br-stream/owner/3eaa960835af7081] [currRev=626] [2025/04/05 23:09:50.945 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:50.946 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835af707f] [ownerID=5c7f0df7-7d3f-4359-99be-3c901862c817] [op=none] [2025/04/05 23:09:50.946 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [op=none] [2025/04/05 23:09:50.946 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:50.949 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:50.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:50.950 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:50.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:50.967 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:50.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:50.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:50.973 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:50.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:50.973 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:50.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:50.973 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:50.973 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:50.973 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:50.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:50.974 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:50.975 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:50.975 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:50.975 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:50.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:50.976 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:50.977 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:50.977 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af7094] [ownerID=5c7f0df7-7d3f-4359-99be-3c901862c817] [op=none] [2025/04/05 23:09:50.977 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:50.977 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [ownerKey=/tidb/stats/owner/6f18960835af7094] [currRev=628] [2025/04/05 23:09:50.979 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f2b10db0-6eea-4238-9d28-714d5930fc34] [2025/04/05 23:09:50.980 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [ttl-worker=task-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [originalCount=0] [newCount=4] [2025/04/05 23:09:50.980 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [ttl-worker=task-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [originalCount=0] [newCount=4] [2025/04/05 23:09:50.980 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:50.981 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:50.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:50.981 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:50.981 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894590982004306 [2025/04/05 23:09:50.986 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:50.995 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.391769ms] [2025/04/05 23:09:50.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:50.995 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:51.003 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:51.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=124] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:51.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:51.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:51.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.934609ms] [gotSchemaVersion=125] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:51.045 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=125] [2025/04/05 23:09:51.047 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=9.707146ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.074 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.775521ms] [gotSchemaVersion=126] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:51.078 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=126] [2025/04/05 23:09:51.079 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=9.033422ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.089 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.095 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/05 23:09:51.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.206429ms] [gotSchemaVersion=127] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:51.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=127] [2025/04/05 23:09:51.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=8.341418ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.122 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/05 23:09:51.129 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/05 23:09:51.130 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.149 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 23:09:51.149 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=127] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894591149829721 [2025/04/05 23:09:51.175 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:51.175 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index k(a))"] [2025/04/05 23:09:51.180 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.185 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/05 23:09:51.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.876721ms] [gotSchemaVersion=128] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:51.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=128] [2025/04/05 23:09:51.207 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=11.464205ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.218 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 23:09:51.229 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=128] [cur_db=test] [sql="create table t(a int, index k(a))"] [user=] [2025/04/05 23:09:51.951 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:51.951 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:51.951 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:51.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:51.980 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:51.980 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:51.980 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f2b10db0-6eea-4238-9d28-714d5930fc34] [watcherID=b410c542-5abf-4d95-a37c-fe727d3ca5bb] [2025/04/05 23:09:51.981 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:51.987 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:51.987 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:51.987 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:51.987 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:52.253 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.253 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test"] [2025/04/05 23:09:52.259 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.276 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=162.628µs] [gotSchemaVersion=129] [phyTblIDs="[151]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:52.280 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=129] [2025/04/05 23:09:52.282 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=8.120535ms] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=135.785µs] [gotSchemaVersion=130] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:52.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=130] [2025/04/05 23:09:52.312 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=7.464311ms] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.320 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.326 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:09:52.337 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=140.6µs] [gotSchemaVersion=131] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:52.341 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=131] [2025/04/05 23:09:52.343 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=7.915464ms] [job="ID:153, Type:drop schema, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.352 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop schema: table IDs"] [2025/04/05 23:09:52.357 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop schema"] [2025/04/05 23:09:52.358 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.375 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/05 23:09:52.376 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=131] [cur_db=] [sql="drop schema test"] [user=] [2025/04/05 23:09:52.388 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.388 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test1"] [2025/04/05 23:09:52.394 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.409 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=773.024µs] [gotSchemaVersion=132] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:52.413 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=132] [2025/04/05 23:09:52.415 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=8.032385ms] [job="ID:155, Type:create schema, State:done, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.430 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:synced, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 23:09:52.443 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=132] [cur_db=] [sql="create schema test1"] [user=] [2025/04/05 23:09:52.457 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.457 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test2"] [2025/04/05 23:09:52.462 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.478 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=890.561µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:52.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=133] [2025/04/05 23:09:52.484 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=9.20451ms] [job="ID:157, Type:create schema, State:done, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.495 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:synced, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.506 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/05 23:09:52.506 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=133] [cur_db=] [sql="create schema test2"] [user=] [2025/04/05 23:09:52.507 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:52.508 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=133] [error="[schema:1049]Unknown database 'test'"] [errorVerbose="[schema:1049]Unknown database 'test'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:337\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:09:52.520 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.520 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test2"] [2025/04/05 23:09:52.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=153.773µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:52.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=134] [2025/04/05 23:09:52.545 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=7.767436ms] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.556 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=156.751µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:52.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=135] [2025/04/05 23:09:52.577 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=8.323606ms] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.586 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=143.863µs] [gotSchemaVersion=136] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:52.605 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=136] [2025/04/05 23:09:52.606 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=7.457555ms] [job="ID:158, Type:drop schema, State:done, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.616 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop schema"] [2025/04/05 23:09:52.617 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:synced, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.634 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 23:09:52.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=136] [cur_db=] [sql="drop schema test2"] [user=] [2025/04/05 23:09:52.636 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:52.227 +0000 UTC"] [2025/04/05 23:09:52.647 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.647 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:52.227000'"] [2025/04/05 23:09:52.652 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.658 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/05 23:09:52.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.749 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=500ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:09:52.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=138.621µs] [gotSchemaVersion=137] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:52.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=137] [2025/04/05 23:09:52.790 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=7.293859ms] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.801 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=26] ["first split key"=6d44423a3135340000fd0000000000000068] [2025/04/05 23:09:52.803 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=26] ["first at"=6d44423a3135340000fd0000000000000068] ["first new region left"="{Id:378 StartKey: EndKey:6d44423a31353400ff00fd000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:8} Peers:[id:379 store_id:1 id:380 store_id:7 id:381 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2025/04/05 23:09:52.804 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[378]"] [2025/04/05 23:09:52.836 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:52.840 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=26] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/05 23:09:52.841 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:52.843 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.634917ms] ["completed regions"=2] [2025/04/05 23:09:52.843 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:52.847 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:52.849 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.066045ms] ["completed regions"=1] [2025/04/05 23:09:52.849 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:52.852 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:52.854 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.205624ms] ["completed regions"=1] [2025/04/05 23:09:52.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:52.857 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:52.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.012404ms] ["completed regions"=1] [2025/04/05 23:09:52.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:52.861 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:52.863 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.961837ms] ["completed regions"=1] [2025/04/05 23:09:52.863 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:52.866 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:52.867 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.047514ms] ["completed regions"=1] [2025/04/05 23:09:52.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:52.870 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:52.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.754793ms] ["completed regions"=1] [2025/04/05 23:09:52.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:52.874 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:52.875 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.85722ms] ["completed regions"=1] [2025/04/05 23:09:52.876 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:52.879 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:52.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.922672ms] ["completed regions"=1] [2025/04/05 23:09:52.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:52.883 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:52.884 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.833983ms] ["completed regions"=1] [2025/04/05 23:09:52.884 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:52.887 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:52.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.54047ms] ["completed regions"=1] [2025/04/05 23:09:52.889 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:52.891 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:52.893 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.215278ms] ["completed regions"=1] [2025/04/05 23:09:52.893 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:52.896 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:52.897 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.556353ms] ["completed regions"=1] [2025/04/05 23:09:52.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:52.900 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:52.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.720607ms] ["completed regions"=1] [2025/04/05 23:09:52.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:52.904 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:52.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.663092ms] ["completed regions"=1] [2025/04/05 23:09:52.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:52.908 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:52.909 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.534972ms] ["completed regions"=1] [2025/04/05 23:09:52.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:52.912 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:52.913 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.632867ms] ["completed regions"=1] [2025/04/05 23:09:52.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:52.916 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:52.917 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.039423ms] ["completed regions"=1] [2025/04/05 23:09:52.917 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:52.919 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:52.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.25819ms] ["completed regions"=1] [2025/04/05 23:09:52.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:52.923 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:52.924 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.070648ms] ["completed regions"=1] [2025/04/05 23:09:52.924 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:52.927 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:52.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.812757ms] ["completed regions"=1] [2025/04/05 23:09:52.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:52.931 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:52.932 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.05055ms] ["completed regions"=1] [2025/04/05 23:09:52.932 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:52.934 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:52.935 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.730534ms] ["completed regions"=1] [2025/04/05 23:09:52.935 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:52.937 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:52.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.91589ms] ["completed regions"=1] [2025/04/05 23:09:52.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:52.941 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:52.941 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:52.942 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.870733ms] ["completed regions"=1] [2025/04/05 23:09:52.942 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:52.944 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:52.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.797128ms] ["completed regions"=1] [2025/04/05 23:09:52.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:52.947 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:52.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.98322ms] ["completed regions"=1] [2025/04/05 23:09:52.949 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:52.951 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:52.952 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.815756ms] ["completed regions"=1] [2025/04/05 23:09:52.952 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:52.954 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:52.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.828866ms] ["completed regions"=1] [2025/04/05 23:09:52.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:52.957 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:52.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.820809ms] ["completed regions"=1] [2025/04/05 23:09:52.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:52.960 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:52.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.551973ms] ["completed regions"=1] [2025/04/05 23:09:52.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:52.963 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:52.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.637785ms] ["completed regions"=1] [2025/04/05 23:09:52.965 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:52.966 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:52.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.483214ms] ["completed regions"=1] [2025/04/05 23:09:52.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:52.969 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:52.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.378373ms] ["completed regions"=1] [2025/04/05 23:09:52.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:52.972 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:52.973 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.273262ms] ["completed regions"=1] [2025/04/05 23:09:52.973 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:52.974 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:52.976 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.296399ms] ["completed regions"=1] [2025/04/05 23:09:52.976 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:52.977 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:52.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.158605ms] ["completed regions"=1] [2025/04/05 23:09:52.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:52.979 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:52.981 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.047931ms] ["completed regions"=1] [2025/04/05 23:09:52.981 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:52.982 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:52.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.032526ms] ["completed regions"=1] [2025/04/05 23:09:52.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:52.984 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:52.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.105608ms] ["completed regions"=1] [2025/04/05 23:09:52.986 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:52.987 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:52.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.293409ms] ["completed regions"=1] [2025/04/05 23:09:52.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:52.990 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:52.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.082586ms] ["completed regions"=1] [2025/04/05 23:09:52.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:52.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:52.994 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:52.995 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:52.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.184474ms] ["completed regions"=3] [2025/04/05 23:09:53.002 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/05 23:09:53.009 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:53.014 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=26] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/05 23:09:53.015 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:53.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=46] [] [2025/04/05 23:09:53.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=7.050732ms] ["completed regions"=2] [2025/04/05 23:09:53.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:53.021 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:53.027 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=46] [] [2025/04/05 23:09:53.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=9.088466ms] ["completed regions"=1] [2025/04/05 23:09:53.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:53.030 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:53.031 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=46] [] [2025/04/05 23:09:53.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.155293ms] ["completed regions"=1] [2025/04/05 23:09:53.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:53.035 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:53.036 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=46] [] [2025/04/05 23:09:53.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.219403ms] ["completed regions"=1] [2025/04/05 23:09:53.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:53.039 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:53.040 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=46] [] [2025/04/05 23:09:53.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.073225ms] ["completed regions"=1] [2025/04/05 23:09:53.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:53.044 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:53.045 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=46] [] [2025/04/05 23:09:53.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.358905ms] ["completed regions"=1] [2025/04/05 23:09:53.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:53.049 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:53.050 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=46] [] [2025/04/05 23:09:53.050 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.985397ms] ["completed regions"=1] [2025/04/05 23:09:53.050 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:53.053 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:53.054 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=46] [] [2025/04/05 23:09:53.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.941314ms] ["completed regions"=1] [2025/04/05 23:09:53.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:53.057 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:53.059 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=46] [] [2025/04/05 23:09:53.059 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.895922ms] ["completed regions"=1] [2025/04/05 23:09:53.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:53.062 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:53.063 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=46] [] [2025/04/05 23:09:53.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.096073ms] ["completed regions"=1] [2025/04/05 23:09:53.063 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:53.066 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:53.067 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=46] [] [2025/04/05 23:09:53.067 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.862899ms] ["completed regions"=1] [2025/04/05 23:09:53.067 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:53.070 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:53.072 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=46] [] [2025/04/05 23:09:53.072 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.606899ms] ["completed regions"=1] [2025/04/05 23:09:53.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:53.075 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:53.076 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=46] [] [2025/04/05 23:09:53.077 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.80192ms] ["completed regions"=1] [2025/04/05 23:09:53.077 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:53.079 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:53.081 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=46] [] [2025/04/05 23:09:53.081 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.691969ms] ["completed regions"=1] [2025/04/05 23:09:53.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:53.083 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:53.085 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=46] [] [2025/04/05 23:09:53.085 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.802801ms] ["completed regions"=1] [2025/04/05 23:09:53.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:53.088 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:53.089 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=46] [] [2025/04/05 23:09:53.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.58871ms] ["completed regions"=1] [2025/04/05 23:09:53.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:53.091 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:53.092 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=46] [] [2025/04/05 23:09:53.092 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.302631ms] ["completed regions"=1] [2025/04/05 23:09:53.093 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:53.095 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:53.096 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=46] [] [2025/04/05 23:09:53.096 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.228521ms] ["completed regions"=1] [2025/04/05 23:09:53.096 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:53.098 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:53.100 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=46] [] [2025/04/05 23:09:53.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.253566ms] ["completed regions"=1] [2025/04/05 23:09:53.100 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:53.102 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:53.103 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=46] [] [2025/04/05 23:09:53.103 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.16118ms] ["completed regions"=1] [2025/04/05 23:09:53.103 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:53.105 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:53.106 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=46] [] [2025/04/05 23:09:53.107 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.053312ms] ["completed regions"=1] [2025/04/05 23:09:53.107 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:53.109 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:53.110 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=46] [] [2025/04/05 23:09:53.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.018977ms] ["completed regions"=1] [2025/04/05 23:09:53.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:53.112 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:53.113 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=46] [] [2025/04/05 23:09:53.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.058946ms] ["completed regions"=1] [2025/04/05 23:09:53.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:53.115 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:53.117 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=46] [] [2025/04/05 23:09:53.117 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.894569ms] ["completed regions"=1] [2025/04/05 23:09:53.117 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:53.119 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:53.120 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=46] [] [2025/04/05 23:09:53.120 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.966509ms] ["completed regions"=1] [2025/04/05 23:09:53.120 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:53.122 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:53.123 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=46] [] [2025/04/05 23:09:53.123 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.997819ms] ["completed regions"=1] [2025/04/05 23:09:53.123 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:53.125 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:53.127 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=46] [] [2025/04/05 23:09:53.127 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.940717ms] ["completed regions"=1] [2025/04/05 23:09:53.127 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:53.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:53.130 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=46] [] [2025/04/05 23:09:53.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.827068ms] ["completed regions"=1] [2025/04/05 23:09:53.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:53.132 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:53.133 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=46] [] [2025/04/05 23:09:53.133 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.656934ms] ["completed regions"=1] [2025/04/05 23:09:53.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:53.135 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:53.136 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=46] [] [2025/04/05 23:09:53.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.729404ms] ["completed regions"=1] [2025/04/05 23:09:53.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:53.138 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:53.139 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=46] [] [2025/04/05 23:09:53.139 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.626897ms] ["completed regions"=1] [2025/04/05 23:09:53.139 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:53.141 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:53.142 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=46] [] [2025/04/05 23:09:53.142 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.588102ms] ["completed regions"=1] [2025/04/05 23:09:53.142 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:53.144 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:53.145 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=46] [] [2025/04/05 23:09:53.145 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.585657ms] ["completed regions"=1] [2025/04/05 23:09:53.145 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:53.147 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:53.148 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=46] [] [2025/04/05 23:09:53.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.830864ms] ["completed regions"=1] [2025/04/05 23:09:53.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:53.150 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:53.151 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=46] [] [2025/04/05 23:09:53.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.59113ms] ["completed regions"=1] [2025/04/05 23:09:53.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:53.153 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:53.154 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=46] [] [2025/04/05 23:09:53.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.284777ms] ["completed regions"=1] [2025/04/05 23:09:53.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:53.156 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:53.157 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=46] [] [2025/04/05 23:09:53.157 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.43285ms] ["completed regions"=1] [2025/04/05 23:09:53.157 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:53.159 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:53.160 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=46] [] [2025/04/05 23:09:53.160 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.253666ms] ["completed regions"=1] [2025/04/05 23:09:53.160 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:53.161 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:53.162 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=46] [] [2025/04/05 23:09:53.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.186596ms] ["completed regions"=1] [2025/04/05 23:09:53.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:53.164 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:53.165 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=46] [] [2025/04/05 23:09:53.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.106614ms] ["completed regions"=1] [2025/04/05 23:09:53.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:53.166 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:53.167 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=46] [] [2025/04/05 23:09:53.167 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.069228ms] ["completed regions"=1] [2025/04/05 23:09:53.167 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:53.168 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:53.169 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=46] [] [2025/04/05 23:09:53.169 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.800886ms] ["completed regions"=1] [2025/04/05 23:09:53.169 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:53.170 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:53.171 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:53.172 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:53.173 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=46] ["total regions"=46] [] [2025/04/05 23:09:53.173 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.798423ms] ["completed regions"=3] [2025/04/05 23:09:53.173 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:53.190 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:53.277 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=87.177947ms] [2025/04/05 23:09:53.277 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:53.281 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=138] [2025/04/05 23:09:53.283 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=95.827573ms] [job="ID:159, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.363 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.376 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/05 23:09:53.376 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 14\n# Query_time: 0.741455719\n# Parse_time: 0.000069134\n# Compile_time: 0.000301162\n# Rewrite_time: 0.000003619\n# Optimize_time: 0.00009271\n# Wait_TS: 0.000500732\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 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 ;\nflashback cluster to timestamp '2025-04-05 23:09:52.227000';"] [2025/04/05 23:09:53.378 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=k] [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`, `a`)))), ((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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`k`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:09:53.399 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:53.399 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test1'"] [errorVerbose="[schema:1049]Unknown database 'test1'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:350\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:09:53.400 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:53.400 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test2'"] [errorVerbose="[schema:1049]Unknown database 'test2'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:351\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:09:53.400 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:53.400 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:53.400 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [] [2025/04/05 23:09:53.401 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.401 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:53.401 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=95.521µs] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=81.818µs] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=73.169µs] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=37.492µs] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=34.438µs] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=35.851µs] [2025/04/05 23:09:53.401 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=31.938µs] [2025/04/05 23:09:53.402 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.402 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.403 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:53.403 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:53.406 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5c7f0df7-7d3f-4359-99be-3c901862c817] ["take time"=5.822941ms] [2025/04/05 23:09:53.406 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.406 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:53.406 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f2b10db0-6eea-4238-9d28-714d5930fc34] [watcherID=b410c542-5abf-4d95-a37c-fe727d3ca5bb] [2025/04/05 23:09:53.406 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:53.407 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f2b10db0-6eea-4238-9d28-714d5930fc34] [2025/04/05 23:09:53.407 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [ttl-worker=task-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [originalCount=4] [newCount=0] [2025/04/05 23:09:53.407 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:53.407 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:53.407 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:53.407 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:53.407 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [ttl-worker=task-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [originalCount=4] [newCount=0] [2025/04/05 23:09:53.409 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:53.409 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:53.410 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:53.410 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:53.412 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.412 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1277] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:53.413 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:53.414 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:53.413 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:53.414 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:53.414 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:53.414 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:53.414 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:53.414 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:53.413 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:53.414 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [] [2025/04/05 23:09:53.414 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.413 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:53.413 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:53.413 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:53.413 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:53.414 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:53.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:53.414 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.414 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.414 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:53.414 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.414 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:53.414 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:53.415 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:53.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:53.415 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:53.415 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=93ae28c3-12ee-4c53-a99e-6d61367a0271] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:53.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:53.415 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:53.415 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:53.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:53.415 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [error="context canceled"] [2025/04/05 23:09:53.415 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:53.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:53.415 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:53.415 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:53.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:53.416 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [error="context canceled"] [2025/04/05 23:09:53.417 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [2025/04/05 23:09:53.417 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [error="context canceled"] [2025/04/05 23:09:53.417 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=5c7f0df7-7d3f-4359-99be-3c901862c817] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:53.434 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:53.434 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:53.476 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:53.476 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:53.487 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.385909ms] [2025/04/05 23:09:53.489 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:53.489 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:53.489 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:53.489 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:53.489 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:53.489 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:53.489 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:53.489 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:53.489 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:53.489 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:53.490 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:53.490 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:53.491 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropSchema (2.75s) === NAME === RUN TestFlashbackAutoID [2025/04/05 23:09:53.499 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:53.500 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:53.501 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:53.501 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:53.501 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:53.502 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:53.502 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:53.502 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:53.502 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:53.502 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:53.503 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:53.506 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:53.511 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:53.512 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:53.513 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:53.523 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:53.533 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:53.566 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=306] ["lease id"=6f18960835af70bb] [2025/04/05 23:09:53.568 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:53.667 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=138] ["elapsed time"=96.127954ms] [2025/04/05 23:09:53.667 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:53.669 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:53.676 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=eec46472-7b91-4df6-b3e9-1af54facb63b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:53.676 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:53.678 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:53.680 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:53.680 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245950992384/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:53.680 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:53.680 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:53.680 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [2025/04/05 23:09:53.682 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6b3f] [ownerID=eec46472-7b91-4df6-b3e9-1af54facb63b] [op=none] [2025/04/05 23:09:53.682 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:53.682 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [ownerKey=/tidb/ddl/fg/owner/2231960835af6b3f] [currRev=690] [2025/04/05 23:09:53.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:53.683 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:53.684 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:53.684 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af70b0] [ownerID=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [op=none] [2025/04/05 23:09:53.684 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [2025/04/05 23:09:53.684 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [ownerKey=/tidb/br-stream/owner/3eaa960835af70b0] [currRev=691] [2025/04/05 23:09:53.685 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6b3f] [ownerID=eec46472-7b91-4df6-b3e9-1af54facb63b] [op=none] [2025/04/05 23:09:53.685 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [op=none] [2025/04/05 23:09:53.685 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:53.688 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:53.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:53.690 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:53.699 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:53.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:53.712 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:53.712 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:53.712 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:53.712 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:53.712 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:53.712 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:53.712 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:53.712 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:53.712 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:53.713 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:53.713 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:53.715 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:53.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:53.717 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:53.717 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af70c5] [ownerID=eec46472-7b91-4df6-b3e9-1af54facb63b] [op=none] [2025/04/05 23:09:53.717 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:53.717 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [ownerKey=/tidb/stats/owner/6f18960835af70c5] [currRev=693] [2025/04/05 23:09:53.720 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6b1724a9-d135-41a7-9986-791e113f67e5] [2025/04/05 23:09:53.720 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [ttl-worker=task-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [originalCount=0] [newCount=4] [2025/04/05 23:09:53.720 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [ttl-worker=task-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [originalCount=0] [newCount=4] [2025/04/05 23:09:53.720 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:53.720 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:53.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:53.721 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:53.721 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894593721720582 [2025/04/05 23:09:53.726 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:53.732 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.520457ms] [2025/04/05 23:09:53.732 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:53.732 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:53.736 +00:00] [INFO] [set.go:172] ["set global var"] [conn=15] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:53.739 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=138] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:53.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:53.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:53.760 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.780 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=2.282432ms] [gotSchemaVersion=139] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:53.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=139] [2025/04/05 23:09:53.787 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=11.73794ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.798 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=2.068396ms] [gotSchemaVersion=140] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:53.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=140] [2025/04/05 23:09:53.825 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=14.075908ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.834 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.841 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/05 23:09:53.855 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.335429ms] [gotSchemaVersion=141] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:53.859 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=141] [2025/04/05 23:09:53.861 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=9.430612ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.871 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=160] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/05 23:09:53.879 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2025/04/05 23:09:53.880 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.900 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/05 23:09:53.900 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=141] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894593900769702 [2025/04/05 23:09:53.928 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:53.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:53.928 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [2025/04/05 23:09:53.934 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.939 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 161, Table Name: t)"] [2025/04/05 23:09:53.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.59711ms] [gotSchemaVersion=142] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:53.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=142] [2025/04/05 23:09:53.958 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=8.676774ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.981 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/05 23:09:53.981 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=142] [cur_db=test] [sql="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [user=] [2025/04/05 23:09:54.690 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:54.690 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:54.690 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:54.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:54.720 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:54.720 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:54.720 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6b1724a9-d135-41a7-9986-791e113f67e5] [watcherID=f4863df2-3043-4d70-8cc8-70d372314705] [2025/04/05 23:09:54.721 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:54.726 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:54.726 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:54.726 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:54.726 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:55.012 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:55.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/05 23:09:55.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.035 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.909355ms] [gotSchemaVersion=143] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:55.039 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=143] [2025/04/05 23:09:55.041 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=9.944327ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.872215ms] [gotSchemaVersion=144] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:55.072 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=144] [2025/04/05 23:09:55.074 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=9.381323ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.083 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.090 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/05 23:09:55.105 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.234402ms] [gotSchemaVersion=145] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:55.108 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=145] [2025/04/05 23:09:55.110 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=145] ["take time"=8.656811ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.120 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/05 23:09:55.125 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2025/04/05 23:09:55.126 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.144 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/05 23:09:55.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=145] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 23:09:55.145 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:54.977 +0000 UTC"] [2025/04/05 23:09:55.157 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:55.157 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:54.977000'"] [2025/04/05 23:09:55.163 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.169 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/05 23:09:55.177 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.266 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=258ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:09:55.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=148.984µs] [gotSchemaVersion=146] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:55.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=146] [2025/04/05 23:09:55.305 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=8.030912ms] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.352 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:55.356 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:55.358 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.744459ms] ["completed regions"=1] [2025/04/05 23:09:55.358 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:55.363 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:55.364 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.92356ms] ["completed regions"=1] [2025/04/05 23:09:55.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:55.368 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:55.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.543734ms] ["completed regions"=1] [2025/04/05 23:09:55.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:55.372 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:55.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.276654ms] ["completed regions"=1] [2025/04/05 23:09:55.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:55.377 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:55.379 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.54762ms] ["completed regions"=1] [2025/04/05 23:09:55.379 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:55.382 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:55.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.317874ms] ["completed regions"=1] [2025/04/05 23:09:55.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:55.387 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:55.388 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.326494ms] ["completed regions"=1] [2025/04/05 23:09:55.388 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:55.392 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:55.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.6749ms] ["completed regions"=1] [2025/04/05 23:09:55.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:55.397 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:55.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.241094ms] ["completed regions"=1] [2025/04/05 23:09:55.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:55.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:55.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.982975ms] ["completed regions"=1] [2025/04/05 23:09:55.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:55.406 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:55.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.393129ms] ["completed regions"=1] [2025/04/05 23:09:55.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:55.411 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:55.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.311491ms] ["completed regions"=1] [2025/04/05 23:09:55.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:55.415 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:55.417 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.686624ms] ["completed regions"=1] [2025/04/05 23:09:55.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:55.420 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:55.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.674206ms] ["completed regions"=1] [2025/04/05 23:09:55.421 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:55.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:55.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.738624ms] ["completed regions"=1] [2025/04/05 23:09:55.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:55.428 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:55.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.59875ms] ["completed regions"=1] [2025/04/05 23:09:55.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:55.432 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:55.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.645557ms] ["completed regions"=1] [2025/04/05 23:09:55.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:55.436 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:55.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.628028ms] ["completed regions"=1] [2025/04/05 23:09:55.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:55.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:55.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.674318ms] ["completed regions"=1] [2025/04/05 23:09:55.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:55.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:55.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.459951ms] ["completed regions"=1] [2025/04/05 23:09:55.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:55.448 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:55.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.002616ms] ["completed regions"=1] [2025/04/05 23:09:55.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:55.451 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:55.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.316119ms] ["completed regions"=1] [2025/04/05 23:09:55.452 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:55.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:55.457 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=4.554886ms] ["completed regions"=1] [2025/04/05 23:09:55.457 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:55.460 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:55.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.200369ms] ["completed regions"=1] [2025/04/05 23:09:55.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:55.463 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:55.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.892709ms] ["completed regions"=1] [2025/04/05 23:09:55.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:55.467 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:55.468 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.961822ms] ["completed regions"=1] [2025/04/05 23:09:55.468 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:55.470 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:55.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.669839ms] ["completed regions"=1] [2025/04/05 23:09:55.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:55.473 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:55.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.626467ms] ["completed regions"=1] [2025/04/05 23:09:55.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:55.476 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:55.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.58786ms] ["completed regions"=1] [2025/04/05 23:09:55.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:55.479 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:55.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.521353ms] ["completed regions"=1] [2025/04/05 23:09:55.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:55.482 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:55.483 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.557962ms] ["completed regions"=1] [2025/04/05 23:09:55.483 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:55.484 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:55.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.533905ms] ["completed regions"=1] [2025/04/05 23:09:55.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:55.488 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:55.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.642946ms] ["completed regions"=1] [2025/04/05 23:09:55.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:55.491 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:55.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.754338ms] ["completed regions"=1] [2025/04/05 23:09:55.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:55.494 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:55.495 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.422214ms] ["completed regions"=1] [2025/04/05 23:09:55.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:55.497 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:55.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.664084ms] ["completed regions"=1] [2025/04/05 23:09:55.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:55.500 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:55.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.532155ms] ["completed regions"=1] [2025/04/05 23:09:55.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:55.503 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:55.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.408669ms] ["completed regions"=1] [2025/04/05 23:09:55.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:55.505 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:55.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.222081ms] ["completed regions"=1] [2025/04/05 23:09:55.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:55.508 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:55.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.093922ms] ["completed regions"=1] [2025/04/05 23:09:55.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:55.510 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:55.512 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.999835ms] ["completed regions"=1] [2025/04/05 23:09:55.512 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:55.513 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:55.514 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.943483ms] ["completed regions"=1] [2025/04/05 23:09:55.514 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:55.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:55.516 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:55.517 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:55.519 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.241711ms] ["completed regions"=3] [2025/04/05 23:09:55.525 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/05 23:09:55.532 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:55.538 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:55.540 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:09:55.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.928252ms] ["completed regions"=1] [2025/04/05 23:09:55.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:55.544 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:55.545 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:09:55.545 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.488107ms] ["completed regions"=1] [2025/04/05 23:09:55.545 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:55.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:55.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:09:55.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.455335ms] ["completed regions"=1] [2025/04/05 23:09:55.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:55.553 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:55.555 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:09:55.555 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.305899ms] ["completed regions"=1] [2025/04/05 23:09:55.555 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:55.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:55.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:09:55.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.049872ms] ["completed regions"=1] [2025/04/05 23:09:55.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:55.562 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:55.563 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:09:55.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.075693ms] ["completed regions"=1] [2025/04/05 23:09:55.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:55.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:55.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:09:55.568 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.13323ms] ["completed regions"=1] [2025/04/05 23:09:55.568 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:55.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:55.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:09:55.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.073613ms] ["completed regions"=1] [2025/04/05 23:09:55.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:55.576 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:55.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:09:55.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.131178ms] ["completed regions"=1] [2025/04/05 23:09:55.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:55.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:55.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:09:55.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.92099ms] ["completed regions"=1] [2025/04/05 23:09:55.582 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:55.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:55.586 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:09:55.586 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.825087ms] ["completed regions"=1] [2025/04/05 23:09:55.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:55.589 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:55.591 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:09:55.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.694891ms] ["completed regions"=1] [2025/04/05 23:09:55.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:55.594 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:55.595 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:09:55.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.678517ms] ["completed regions"=1] [2025/04/05 23:09:55.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:55.597 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:55.599 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:09:55.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.556367ms] ["completed regions"=1] [2025/04/05 23:09:55.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:55.601 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:55.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:09:55.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.482819ms] ["completed regions"=1] [2025/04/05 23:09:55.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:55.605 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:55.606 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:09:55.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.468693ms] ["completed regions"=1] [2025/04/05 23:09:55.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:55.609 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:55.610 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:09:55.610 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.421981ms] ["completed regions"=1] [2025/04/05 23:09:55.610 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:55.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:55.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:09:55.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.238373ms] ["completed regions"=1] [2025/04/05 23:09:55.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:55.616 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:55.617 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:09:55.617 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.381803ms] ["completed regions"=1] [2025/04/05 23:09:55.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:55.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:55.621 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:09:55.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.744378ms] ["completed regions"=1] [2025/04/05 23:09:55.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:55.624 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:55.625 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:09:55.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.186956ms] ["completed regions"=1] [2025/04/05 23:09:55.625 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:55.628 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:55.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:09:55.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.196384ms] ["completed regions"=1] [2025/04/05 23:09:55.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:55.631 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:55.632 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:09:55.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.049399ms] ["completed regions"=1] [2025/04/05 23:09:55.632 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:55.634 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:55.635 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:09:55.635 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.896372ms] ["completed regions"=1] [2025/04/05 23:09:55.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:55.638 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:55.639 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:09:55.639 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.976018ms] ["completed regions"=1] [2025/04/05 23:09:55.639 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:55.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:55.642 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:09:55.642 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.865846ms] ["completed regions"=1] [2025/04/05 23:09:55.642 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:55.644 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:55.645 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:09:55.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.80846ms] ["completed regions"=1] [2025/04/05 23:09:55.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:55.647 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:55.648 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:09:55.648 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.7693ms] ["completed regions"=1] [2025/04/05 23:09:55.648 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:55.651 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:55.652 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:09:55.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.04454ms] ["completed regions"=1] [2025/04/05 23:09:55.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:55.654 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:55.655 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:09:55.655 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.667536ms] ["completed regions"=1] [2025/04/05 23:09:55.655 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:55.657 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:55.658 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:09:55.658 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.587821ms] ["completed regions"=1] [2025/04/05 23:09:55.658 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:55.660 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:55.661 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:09:55.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.554124ms] ["completed regions"=1] [2025/04/05 23:09:55.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:55.662 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:55.663 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:09:55.664 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.540927ms] ["completed regions"=1] [2025/04/05 23:09:55.664 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:55.665 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:55.666 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:09:55.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.569471ms] ["completed regions"=1] [2025/04/05 23:09:55.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:55.668 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:55.669 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:09:55.669 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.514516ms] ["completed regions"=1] [2025/04/05 23:09:55.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:55.671 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:55.672 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:09:55.672 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.465191ms] ["completed regions"=1] [2025/04/05 23:09:55.672 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:55.674 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:55.675 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:09:55.675 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.308722ms] ["completed regions"=1] [2025/04/05 23:09:55.675 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:55.677 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:55.678 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:09:55.678 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.332758ms] ["completed regions"=1] [2025/04/05 23:09:55.678 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:55.679 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:55.680 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:55.680 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:09:55.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.078805ms] ["completed regions"=1] [2025/04/05 23:09:55.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:55.682 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:55.683 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:09:55.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.065456ms] ["completed regions"=1] [2025/04/05 23:09:55.683 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:55.684 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:55.685 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:09:55.686 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.29447ms] ["completed regions"=1] [2025/04/05 23:09:55.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:55.687 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:55.688 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:09:55.688 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.06586ms] ["completed regions"=1] [2025/04/05 23:09:55.688 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:55.689 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:55.690 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:55.692 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:55.693 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:09:55.694 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.037702ms] ["completed regions"=3] [2025/04/05 23:09:55.694 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:55.711 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:55.797 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=86.167888ms] [2025/04/05 23:09:55.797 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:55.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=147] [2025/04/05 23:09:55.803 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=94.710698ms] [job="ID:164, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.884 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:55.897 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/05 23:09:55.898 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 16\n# Query_time: 0.753253141\n# Parse_time: 0.000067872\n# Compile_time: 0.000281417\n# Rewrite_time: 0.000002777\n# Optimize_time: 0.00075311\n# Wait_TS: 0.000468946\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:54.977000';"] [2025/04/05 23:09:55.913 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:55.913 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:55.913 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [] [2025/04/05 23:09:55.913 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.913 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:55.913 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:55.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=75.204µs] [2025/04/05 23:09:55.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=76.219µs] [2025/04/05 23:09:55.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=78.507µs] [2025/04/05 23:09:55.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=28.043µs] [2025/04/05 23:09:55.914 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.914 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.915 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:55.915 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:55.919 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=eec46472-7b91-4df6-b3e9-1af54facb63b] ["take time"=5.754227ms] [2025/04/05 23:09:55.919 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.919 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:55.919 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6b1724a9-d135-41a7-9986-791e113f67e5] [watcherID=f4863df2-3043-4d70-8cc8-70d372314705] [2025/04/05 23:09:55.919 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:55.919 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6b1724a9-d135-41a7-9986-791e113f67e5] [2025/04/05 23:09:55.919 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [ttl-worker=task-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [originalCount=4] [newCount=0] [2025/04/05 23:09:55.919 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:55.919 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:55.919 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:55.919 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:55.919 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [ttl-worker=task-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [originalCount=4] [newCount=0] [2025/04/05 23:09:55.922 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:55.922 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:55.922 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:55.922 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:55.925 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.925 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=306] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:55.926 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [] [2025/04/05 23:09:55.926 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [2025/04/05 23:09:55.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:55.926 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:55.926 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:55.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:55.926 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:55.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [2025/04/05 23:09:55.927 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.927 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:55.927 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:55.927 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:55.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:55.928 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:55.928 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:55.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:55.929 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:55.929 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:55.929 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:55.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:55.929 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=04ecdc83-29bc-4f83-8caa-d9751b64fd1b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:55.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:55.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:55.929 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:55.930 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [error="context canceled"] [2025/04/05 23:09:55.930 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [2025/04/05 23:09:55.930 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [error="context canceled"] [2025/04/05 23:09:55.930 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=eec46472-7b91-4df6-b3e9-1af54facb63b] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:55.947 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:55.947 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:55.993 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:55.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:56.004 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.374546ms] [2025/04/05 23:09:56.007 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:56.007 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:56.007 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:56.007 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:56.007 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:56.007 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:56.007 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:56.007 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:56.007 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:56.007 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:56.008 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:56.008 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:56.009 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAutoID (2.52s) === NAME === RUN TestFlashbackSequence [2025/04/05 23:09:56.018 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:56.018 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:56.020 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:56.020 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:56.020 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:56.021 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:56.021 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:56.021 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:56.021 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:56.021 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:56.021 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:56.025 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:56.030 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:56.030 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:56.031 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:56.041 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:56.051 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:56.256 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1078] ["lease id"=2231960835af6b64] [2025/04/05 23:09:56.258 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:56.365 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=147] ["elapsed time"=102.883904ms] [2025/04/05 23:09:56.365 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:56.367 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:56.375 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a4373216-99cb-4080-983e-ef9fc51f37c2] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:56.375 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:56.377 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:56.378 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:56.378 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245951184896/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:56.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:56.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:56.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:56.379 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:56.379 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:56.379 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:56.379 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [2025/04/05 23:09:56.380 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6b6a] [ownerID=a4373216-99cb-4080-983e-ef9fc51f37c2] [op=none] [2025/04/05 23:09:56.381 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:56.381 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [ownerKey=/tidb/ddl/fg/owner/2231960835af6b6a] [currRev=743] [2025/04/05 23:09:56.382 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:56.382 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:56.382 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:56.382 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835af70e6] [ownerID=14a01713-20e1-4441-8a8c-d71ff43206a6] [op=none] [2025/04/05 23:09:56.382 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [2025/04/05 23:09:56.383 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [ownerKey=/tidb/br-stream/owner/6f18960835af70e6] [currRev=744] [2025/04/05 23:09:56.383 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835af6b6a] [ownerID=a4373216-99cb-4080-983e-ef9fc51f37c2] [op=none] [2025/04/05 23:09:56.383 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [op=none] [2025/04/05 23:09:56.383 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:56.388 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:56.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:56.389 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:56.400 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:56.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:56.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:56.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:56.415 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:56.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:56.415 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:56.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:56.415 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:56.415 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:56.415 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:56.416 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:56.416 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:56.417 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:56.417 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:56.417 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:56.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:56.418 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:56.419 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:56.419 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835af6b72] [ownerID=a4373216-99cb-4080-983e-ef9fc51f37c2] [op=none] [2025/04/05 23:09:56.419 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:56.419 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [ownerKey=/tidb/stats/owner/2231960835af6b72] [currRev=746] [2025/04/05 23:09:56.422 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/93b413b3-2aeb-488b-9190-5c7f822b727b] [2025/04/05 23:09:56.422 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [ttl-worker=task-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [originalCount=0] [newCount=4] [2025/04/05 23:09:56.422 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [ttl-worker=task-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [originalCount=0] [newCount=4] [2025/04/05 23:09:56.422 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:56.423 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:56.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:56.423 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:56.423 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894596423899181 [2025/04/05 23:09:56.429 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:56.436 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.778447ms] [2025/04/05 23:09:56.436 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:56.436 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:56.438 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:09:56.459 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:09:56.461 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=147] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:09:56.475 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:56.475 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:09:56.481 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.498 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.770693ms] [gotSchemaVersion=148] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:56.502 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=148] [2025/04/05 23:09:56.503 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=148] ["take time"=9.339552ms] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.513 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.528 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.794075ms] [gotSchemaVersion=149] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:56.532 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=149] [2025/04/05 23:09:56.534 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=8.914584ms] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.542 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.549 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/05 23:09:56.563 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.336535ms] [gotSchemaVersion=150] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:56.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=150] [2025/04/05 23:09:56.569 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=9.101684ms] [job="ID:165, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.579 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/05 23:09:56.587 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="drop table"] [2025/04/05 23:09:56.587 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.606 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/05 23:09:56.606 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=150] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894596606750685 [2025/04/05 23:09:56.632 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:56.632 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create sequence seq cache 100"] [2025/04/05 23:09:56.638 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:56.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.655 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.536ms] [gotSchemaVersion=151] [phyTblIDs="[166]"] [actionTypes="[34]"] [diffTypes="[\"create sequence\"]"] [2025/04/05 23:09:56.658 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=151] [2025/04/05 23:09:56.660 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=8.82362ms] [job="ID:167, Type:create sequence, State:done, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:56.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.671 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:synced, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:56.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:56.682 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/05 23:09:57.390 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:57.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:57.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:57.390 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:57.422 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:57.422 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:57.422 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/93b413b3-2aeb-488b-9190-5c7f822b727b] [watcherID=cbd7f1b2-1d81-4ec3-85da-9f59f9bfcab7] [2025/04/05 23:09:57.423 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:57.430 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:57.430 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:57.430 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:57.430 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:57.702 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:57.702 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/05 23:09:57.707 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.722 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.695879ms] [gotSchemaVersion=152] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 23:09:57.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=152] [2025/04/05 23:09:57.728 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=152] ["take time"=8.919252ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.737 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.627693ms] [gotSchemaVersion=153] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 23:09:57.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=153] [2025/04/05 23:09:57.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=8.772492ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.766 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.783 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=1.228031ms] [gotSchemaVersion=154] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 23:09:57.786 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=154] [2025/04/05 23:09:57.788 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=154] ["take time"=8.462714ms] [job="ID:168, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.797 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.807 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/05 23:09:57.809 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:09:57.677 +0000 UTC"] [2025/04/05 23:09:57.819 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:57.819 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:09:57.677000'"] [2025/04/05 23:09:57.824 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.831 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/05 23:09:57.838 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.921 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=207ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:09:57.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=140.305µs] [gotSchemaVersion=155] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:09:57.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=155] [2025/04/05 23:09:57.957 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=7.363077ms] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.966 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:58.001 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:58.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.623331ms] ["completed regions"=1] [2025/04/05 23:09:58.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:58.007 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:58.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.751995ms] ["completed regions"=1] [2025/04/05 23:09:58.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:58.012 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:58.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.391129ms] ["completed regions"=1] [2025/04/05 23:09:58.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:58.017 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:58.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.070087ms] ["completed regions"=1] [2025/04/05 23:09:58.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:58.022 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:58.023 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.157889ms] ["completed regions"=1] [2025/04/05 23:09:58.023 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:58.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:58.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.939294ms] ["completed regions"=1] [2025/04/05 23:09:58.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:58.030 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:58.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.980349ms] ["completed regions"=1] [2025/04/05 23:09:58.032 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:58.035 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:58.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.122848ms] ["completed regions"=1] [2025/04/05 23:09:58.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:58.040 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:58.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.820659ms] ["completed regions"=1] [2025/04/05 23:09:58.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:58.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:58.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.663446ms] ["completed regions"=1] [2025/04/05 23:09:58.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:58.048 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:58.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.47192ms] ["completed regions"=1] [2025/04/05 23:09:58.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:58.052 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:58.053 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.943073ms] ["completed regions"=1] [2025/04/05 23:09:58.053 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:58.056 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:58.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.515194ms] ["completed regions"=1] [2025/04/05 23:09:58.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:58.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:58.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.272595ms] ["completed regions"=1] [2025/04/05 23:09:58.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:58.063 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:58.065 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.362848ms] ["completed regions"=1] [2025/04/05 23:09:58.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:58.067 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:58.069 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.483568ms] ["completed regions"=1] [2025/04/05 23:09:58.069 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:58.071 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:58.072 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.20315ms] ["completed regions"=1] [2025/04/05 23:09:58.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:58.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:58.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.12826ms] ["completed regions"=1] [2025/04/05 23:09:58.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:58.078 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:58.079 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.072801ms] ["completed regions"=1] [2025/04/05 23:09:58.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:58.082 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:58.083 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.265228ms] ["completed regions"=1] [2025/04/05 23:09:58.083 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:58.086 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:58.087 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.629727ms] ["completed regions"=1] [2025/04/05 23:09:58.087 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:58.089 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:58.091 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.141449ms] ["completed regions"=1] [2025/04/05 23:09:58.091 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:58.093 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:58.094 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.940563ms] ["completed regions"=1] [2025/04/05 23:09:58.094 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:58.097 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:58.098 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.026112ms] ["completed regions"=1] [2025/04/05 23:09:58.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:58.100 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:58.101 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.148809ms] ["completed regions"=1] [2025/04/05 23:09:58.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:58.104 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:58.105 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.972857ms] ["completed regions"=1] [2025/04/05 23:09:58.105 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:58.107 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:58.109 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.21459ms] ["completed regions"=1] [2025/04/05 23:09:58.109 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:58.111 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:58.112 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.749396ms] ["completed regions"=1] [2025/04/05 23:09:58.112 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:58.114 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:58.115 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.907939ms] ["completed regions"=1] [2025/04/05 23:09:58.115 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:58.117 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:58.119 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.789264ms] ["completed regions"=1] [2025/04/05 23:09:58.119 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:58.120 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:58.121 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.349845ms] ["completed regions"=1] [2025/04/05 23:09:58.121 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:58.123 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:58.124 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.56148ms] ["completed regions"=1] [2025/04/05 23:09:58.124 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:58.126 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:58.127 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.418919ms] ["completed regions"=1] [2025/04/05 23:09:58.127 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:58.129 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:58.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.66639ms] ["completed regions"=1] [2025/04/05 23:09:58.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:58.132 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:58.133 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.316405ms] ["completed regions"=1] [2025/04/05 23:09:58.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:58.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:58.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.258761ms] ["completed regions"=1] [2025/04/05 23:09:58.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:58.137 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:58.138 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.191208ms] ["completed regions"=1] [2025/04/05 23:09:58.138 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:58.140 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:58.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.136903ms] ["completed regions"=1] [2025/04/05 23:09:58.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:58.142 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:58.143 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.065649ms] ["completed regions"=1] [2025/04/05 23:09:58.143 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:58.145 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:58.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.024539ms] ["completed regions"=1] [2025/04/05 23:09:58.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:58.147 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:58.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.921762ms] ["completed regions"=1] [2025/04/05 23:09:58.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:58.149 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:58.150 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.766607ms] ["completed regions"=1] [2025/04/05 23:09:58.150 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:58.151 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:58.152 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:58.153 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:58.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.620061ms] ["completed regions"=3] [2025/04/05 23:09:58.160 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/05 23:09:58.167 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:09:58.171 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:09:58.174 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:09:58.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.632512ms] ["completed regions"=1] [2025/04/05 23:09:58.174 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:09:58.177 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:09:58.179 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:09:58.179 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.52296ms] ["completed regions"=1] [2025/04/05 23:09:58.179 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:09:58.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:09:58.183 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:09:58.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.315511ms] ["completed regions"=1] [2025/04/05 23:09:58.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:09:58.187 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:09:58.187 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:09:58.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.90907ms] ["completed regions"=1] [2025/04/05 23:09:58.188 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:09:58.191 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:09:58.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:09:58.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.491527ms] ["completed regions"=1] [2025/04/05 23:09:58.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:09:58.196 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:09:58.197 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:09:58.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.191098ms] ["completed regions"=1] [2025/04/05 23:09:58.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:09:58.200 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:09:58.201 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:09:58.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.87126ms] ["completed regions"=1] [2025/04/05 23:09:58.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:09:58.204 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:09:58.205 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:09:58.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.838065ms] ["completed regions"=1] [2025/04/05 23:09:58.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:09:58.208 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:09:58.210 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:09:58.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.818278ms] ["completed regions"=1] [2025/04/05 23:09:58.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:09:58.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:09:58.214 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:09:58.214 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.583571ms] ["completed regions"=1] [2025/04/05 23:09:58.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:09:58.216 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:09:58.217 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:09:58.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.547438ms] ["completed regions"=1] [2025/04/05 23:09:58.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:09:58.220 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:09:58.221 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:09:58.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.67244ms] ["completed regions"=1] [2025/04/05 23:09:58.222 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:09:58.224 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:09:58.225 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:09:58.225 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.604765ms] ["completed regions"=1] [2025/04/05 23:09:58.226 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:09:58.228 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:09:58.229 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:09:58.229 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.598046ms] ["completed regions"=1] [2025/04/05 23:09:58.230 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:09:58.232 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:09:58.233 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:09:58.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.532094ms] ["completed regions"=1] [2025/04/05 23:09:58.234 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:09:58.236 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:09:58.238 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:09:58.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.700192ms] ["completed regions"=1] [2025/04/05 23:09:58.238 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:09:58.240 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:09:58.242 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:09:58.242 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.650452ms] ["completed regions"=1] [2025/04/05 23:09:58.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:09:58.244 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:09:58.245 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:09:58.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.482931ms] ["completed regions"=1] [2025/04/05 23:09:58.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:09:58.248 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:09:58.251 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:09:58.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=5.569152ms] ["completed regions"=1] [2025/04/05 23:09:58.252 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:09:58.254 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:09:58.256 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:09:58.256 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.7715ms] ["completed regions"=1] [2025/04/05 23:09:58.256 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:09:58.258 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:09:58.260 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:09:58.260 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.625889ms] ["completed regions"=1] [2025/04/05 23:09:58.260 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:09:58.262 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:09:58.263 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:09:58.263 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.331532ms] ["completed regions"=1] [2025/04/05 23:09:58.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:09:58.266 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:09:58.267 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:09:58.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.047697ms] ["completed regions"=1] [2025/04/05 23:09:58.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:09:58.269 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:09:58.270 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:09:58.270 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.93539ms] ["completed regions"=1] [2025/04/05 23:09:58.270 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:09:58.272 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:09:58.273 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:09:58.273 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.934172ms] ["completed regions"=1] [2025/04/05 23:09:58.274 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:09:58.276 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:09:58.277 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:09:58.277 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.057687ms] ["completed regions"=1] [2025/04/05 23:09:58.277 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:09:58.279 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:09:58.280 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:09:58.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.846809ms] ["completed regions"=1] [2025/04/05 23:09:58.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:09:58.282 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:09:58.283 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:09:58.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.834527ms] ["completed regions"=1] [2025/04/05 23:09:58.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:09:58.285 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:09:58.287 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:09:58.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.842641ms] ["completed regions"=1] [2025/04/05 23:09:58.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:09:58.289 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:09:58.290 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:09:58.290 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.643836ms] ["completed regions"=1] [2025/04/05 23:09:58.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:09:58.291 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:09:58.293 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:09:58.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.663605ms] ["completed regions"=1] [2025/04/05 23:09:58.293 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:09:58.295 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:09:58.296 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:09:58.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.907055ms] ["completed regions"=1] [2025/04/05 23:09:58.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:09:58.298 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:09:58.299 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:09:58.300 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.833686ms] ["completed regions"=1] [2025/04/05 23:09:58.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:09:58.301 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:09:58.302 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:09:58.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.465141ms] ["completed regions"=1] [2025/04/05 23:09:58.303 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:09:58.304 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:09:58.305 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:09:58.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.545314ms] ["completed regions"=1] [2025/04/05 23:09:58.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:09:58.307 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:09:58.308 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:09:58.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.344764ms] ["completed regions"=1] [2025/04/05 23:09:58.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:09:58.310 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:09:58.311 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:09:58.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.127683ms] ["completed regions"=1] [2025/04/05 23:09:58.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:09:58.312 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:09:58.313 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:09:58.313 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.107463ms] ["completed regions"=1] [2025/04/05 23:09:58.313 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:09:58.315 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:09:58.316 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:09:58.316 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.057357ms] ["completed regions"=1] [2025/04/05 23:09:58.316 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:09:58.317 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:09:58.318 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:09:58.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.047394ms] ["completed regions"=1] [2025/04/05 23:09:58.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:09:58.319 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:09:58.320 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:09:58.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.026744ms] ["completed regions"=1] [2025/04/05 23:09:58.321 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:09:58.322 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:09:58.323 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:09:58.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.887354ms] ["completed regions"=1] [2025/04/05 23:09:58.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:09:58.324 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:09:58.325 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:09:58.326 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:09:58.327 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:09:58.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.862673ms] ["completed regions"=3] [2025/04/05 23:09:58.327 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:09:58.345 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:09:58.379 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:58.433 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=88.110216ms] [2025/04/05 23:09:58.433 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:58.437 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=156] [2025/04/05 23:09:58.439 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=96.482963ms] [job="ID:169, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.508 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.520 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/05 23:09:58.520 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 18\n# Query_time: 0.712030585\n# Parse_time: 0.000075632\n# Compile_time: 0.00030905\n# Rewrite_time: 0.000003648\n# Optimize_time: 0.000109636\n# Wait_TS: 0.000421656\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:09:57.677000';"] [2025/04/05 23:09:58.535 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:58.535 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/05 23:09:58.543 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.562498ms] [gotSchemaVersion=157] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 23:09:58.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=157] [2025/04/05 23:09:58.562 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=9.094228ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.572 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.606591ms] [gotSchemaVersion=158] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 23:09:58.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=158] [2025/04/05 23:09:58.591 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=8.676831ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.599 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.093202ms] [gotSchemaVersion=159] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 23:09:58.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=159] [2025/04/05 23:09:58.619 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=159] ["take time"=7.670285ms] [job="ID:170, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.628 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.638 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 23:09:58.638 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:58.638 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:58.638 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [] [2025/04/05 23:09:58.638 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.638 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=170] [error="context canceled"] [2025/04/05 23:09:58.638 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:58.638 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:58.638 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=76.739µs] [2025/04/05 23:09:58.639 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=42.486µs] [2025/04/05 23:09:58.639 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=41.988µs] [2025/04/05 23:09:58.639 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=29.069µs] [2025/04/05 23:09:58.639 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=28.193µs] [2025/04/05 23:09:58.639 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.639 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.640 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:58.640 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:58.642 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a4373216-99cb-4080-983e-ef9fc51f37c2] ["take time"=4.471304ms] [2025/04/05 23:09:58.642 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.642 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:58.643 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:58.643 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/93b413b3-2aeb-488b-9190-5c7f822b727b] [watcherID=cbd7f1b2-1d81-4ec3-85da-9f59f9bfcab7] [2025/04/05 23:09:58.643 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/93b413b3-2aeb-488b-9190-5c7f822b727b] [2025/04/05 23:09:58.643 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [ttl-worker=task-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [originalCount=4] [newCount=0] [2025/04/05 23:09:58.643 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:58.643 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:58.643 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:58.643 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:58.643 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [ttl-worker=task-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [originalCount=4] [newCount=0] [2025/04/05 23:09:58.645 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:58.645 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:58.646 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:58.646 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:58.648 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.648 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1078] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:58.649 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:58.649 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:58.649 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.649 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:58.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:58.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:58.649 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:58.649 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:58.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:58.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:58.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:58.649 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:58.649 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:58.650 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [2025/04/05 23:09:58.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:58.650 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:58.649 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:58.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:58.649 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:58.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:58.649 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:58.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:58.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:58.649 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:58.649 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:58.649 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:58.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:58.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:58.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:58.650 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.650 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:58.650 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:58.650 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:58.650 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:58.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:58.651 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:58.651 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:58.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:58.651 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=14a01713-20e1-4441-8a8c-d71ff43206a6] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:58.651 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:58.651 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:58.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:58.651 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:58.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:58.651 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:58.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:58.652 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:58.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:58.652 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [error="context canceled"] [2025/04/05 23:09:58.652 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [2025/04/05 23:09:58.709 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a4373216-99cb-4080-983e-ef9fc51f37c2] [error="context canceled"] [2025/04/05 23:09:58.709 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:58.709 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:58.719 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.36159ms] [2025/04/05 23:09:58.722 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:58.722 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:58.722 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:58.722 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:58.722 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:58.722 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:58.722 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:58.722 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:58.722 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:58.722 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:58.722 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:58.722 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:58.723 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackSequence (2.71s) === NAME === RUN TestFlashbackPartitionTable [2025/04/05 23:09:58.733 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:58.733 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:58.734 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:09:58.735 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:58.735 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:58.735 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:58.735 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:58.735 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:58.735 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:58.735 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:58.736 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:58.740 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:58.745 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:58.746 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:58.746 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:58.757 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:58.767 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:58.802 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=799] ["lease id"=6f18960835af710f] [2025/04/05 23:09:58.803 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:58.898 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=159] ["elapsed time"=92.165023ms] [2025/04/05 23:09:58.898 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:58.901 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:58.908 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8e037b4b-dbe1-4be8-b24c-52db564860c6] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:58.908 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:58.910 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:09:58.911 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:58.911 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245954641920/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:58.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:58.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:58.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:58.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:58.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:58.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:58.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:58.912 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:58.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:58.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:58.912 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:58.912 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [2025/04/05 23:09:58.914 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af7114] [ownerID=8e037b4b-dbe1-4be8-b24c-52db564860c6] [op=none] [2025/04/05 23:09:58.914 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:09:58.914 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:58.915 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [ownerKey=/tidb/ddl/fg/owner/6f18960835af7114] [currRev=803] [2025/04/05 23:09:58.915 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:58.916 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:58.916 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af7100] [ownerID=c6426968-c2ce-4cb7-a056-e58f95967bb3] [op=none] [2025/04/05 23:09:58.916 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [2025/04/05 23:09:58.916 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [ownerKey=/tidb/br-stream/owner/3eaa960835af7100] [currRev=804] [2025/04/05 23:09:58.917 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af7114] [ownerID=8e037b4b-dbe1-4be8-b24c-52db564860c6] [op=none] [2025/04/05 23:09:58.917 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [op=none] [2025/04/05 23:09:58.917 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:58.920 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:09:58.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:58.921 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:58.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:58.938 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:58.944 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:58.944 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:58.944 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:58.944 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:58.944 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:58.944 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:58.944 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:58.944 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:58.944 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:58.945 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:58.945 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:09:58.946 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:58.946 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:58.946 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:58.946 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:58.947 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:58.947 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:58.947 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:58.948 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:09:58.949 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af711c] [ownerID=8e037b4b-dbe1-4be8-b24c-52db564860c6] [op=none] [2025/04/05 23:09:58.949 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:09:58.949 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [ownerKey=/tidb/stats/owner/6f18960835af711c] [currRev=806] [2025/04/05 23:09:58.951 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3fc4ec69-aa15-4e96-ba5b-42a3d80dd383] [2025/04/05 23:09:58.951 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [ttl-worker=task-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [originalCount=0] [newCount=4] [2025/04/05 23:09:58.951 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [ttl-worker=task-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [originalCount=0] [newCount=4] [2025/04/05 23:09:58.952 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:09:58.952 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:58.953 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:58.953 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:58.953 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894598953548204 [2025/04/05 23:09:58.958 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:58.966 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.379883ms] [2025/04/05 23:09:58.966 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:58.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:58.968 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894598970005969 [2025/04/05 23:09:58.999 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:58.999 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [2025/04/05 23:09:59.005 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:59.010 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/05 23:09:59.026 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=2.144473ms] [gotSchemaVersion=160] [phyTblIDs="[171,172,173,174]"] [actionTypes="[3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:59.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=160] [2025/04/05 23:09:59.032 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=160] ["take time"=9.775407ms] [job="ID:175, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:59.043 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:59.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/05 23:09:59.056 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=160] [cur_db=test] [sql="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [user=] [2025/04/05 23:09:59.921 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:59.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:59.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:59.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:59.952 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:59.952 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:59.952 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3fc4ec69-aa15-4e96-ba5b-42a3d80dd383] [watcherID=5286024d-c6bd-4b64-bc87-c921671cc495] [2025/04/05 23:09:59.953 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:59.958 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:59.958 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:59.958 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:59.958 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:10:00.292 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop partition `a_3`"] [2025/04/05 23:10:00.292 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:00.298 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=2.396843ms] [gotSchemaVersion=161] [phyTblIDs="[171,172,173,174]"] [actionTypes="[20,20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 23:10:00.318 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=161] [2025/04/05 23:10:00.320 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=9.749603ms] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.330 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.348 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=1.971051ms] [gotSchemaVersion=162] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 23:10:00.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=162] [2025/04/05 23:10:00.353 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=8.949608ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=1.983565ms] [gotSchemaVersion=163] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 23:10:00.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=163] [2025/04/05 23:10:00.383 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=8.64143ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.391 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.396 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop partition, Table ID: 171, Table Name: t, Dropped Partition Name: a_3, Dropped Partition ID: 174)"] [2025/04/05 23:10:00.410 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.995638ms] [gotSchemaVersion=164] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 23:10:00.413 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=164] [2025/04/05 23:10:00.415 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=8.962547ms] [job="ID:176, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.424 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=176] [tableIDs="[174]"] [comment="drop partition: physical table ID(s)"] [2025/04/05 23:10:00.431 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=176] [jobType="drop partition"] [2025/04/05 23:10:00.433 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.451 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/05 23:10:00.451 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=164] [cur_db=test] [sql="alter table t drop partition `a_3`"] [user=] [2025/04/05 23:10:00.463 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:00.463 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add partition (partition `a_3` values less than (300))"] [2025/04/05 23:10:00.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.952547ms] [gotSchemaVersion=165] [phyTblIDs="[171,172,173]"] [actionTypes="[19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/05 23:10:00.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=165] [2025/04/05 23:10:00.490 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=8.677859ms] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.505 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add partition, Table ID: 171, Table Name: t, Partition Name: a_3, Partition ID: 177)"] [2025/04/05 23:10:00.520 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.224178ms] [gotSchemaVersion=166] [phyTblIDs="[171,172,173,177]"] [actionTypes="[19,19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/05 23:10:00.523 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=166] [2025/04/05 23:10:00.525 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=166] ["take time"=9.610914ms] [job="ID:178, Type:add partition, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.535 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.546 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/05 23:10:00.546 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=166] [cur_db=test] [sql="alter table t add partition (partition `a_3` values less than (300))"] [user=] [2025/04/05 23:10:00.563 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/05 23:10:00.563 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:00.569 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.552727ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:00.590 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=167] [2025/04/05 23:10:00.591 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=10.14259ms] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.602 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=2.657612ms] [gotSchemaVersion=168] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:00.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=168] [2025/04/05 23:10:00.623 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=10.00071ms] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.638 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/05 23:10:00.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.187301ms] [gotSchemaVersion=169] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:00.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=169] [2025/04/05 23:10:00.656 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=8.122855ms] [job="ID:179, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.665 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[172,173,177]"] [comment="drop table: partition table IDs"] [2025/04/05 23:10:00.671 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/05 23:10:00.675 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=179] [jobType="drop table"] [2025/04/05 23:10:00.676 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.694 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/05 23:10:00.694 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=169] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 23:10:00.696 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:10:00.277 +0000 UTC"] [2025/04/05 23:10:00.706 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:10:00.277000'"] [2025/04/05 23:10:00.707 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:00.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.717 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/05 23:10:00.725 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.740 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:10:00.807 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=507ms] [prevState=normal] [newState=adapting] [2025/04/05 23:10:00.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=142.845µs] [gotSchemaVersion=170] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:10:00.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=170] [2025/04/05 23:10:00.847 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=8.200528ms] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.857 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.891 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:00.895 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:00.897 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.470653ms] ["completed regions"=1] [2025/04/05 23:10:00.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:00.901 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:00.902 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.370892ms] ["completed regions"=1] [2025/04/05 23:10:00.902 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:00.906 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:00.907 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.961052ms] ["completed regions"=1] [2025/04/05 23:10:00.907 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:00.910 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:00.911 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.835694ms] ["completed regions"=1] [2025/04/05 23:10:00.911 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:00.911 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:10:00.915 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:00.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.388566ms] ["completed regions"=1] [2025/04/05 23:10:00.916 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:00.919 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:00.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.289257ms] ["completed regions"=1] [2025/04/05 23:10:00.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:00.924 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:00.926 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.136954ms] ["completed regions"=1] [2025/04/05 23:10:00.926 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:00.929 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:00.930 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.944736ms] ["completed regions"=1] [2025/04/05 23:10:00.930 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:00.933 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:00.934 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.703972ms] ["completed regions"=1] [2025/04/05 23:10:00.934 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:00.937 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:00.938 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.775692ms] ["completed regions"=1] [2025/04/05 23:10:00.938 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:00.941 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:00.942 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.662236ms] ["completed regions"=1] [2025/04/05 23:10:00.942 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:00.945 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:00.947 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.958478ms] ["completed regions"=1] [2025/04/05 23:10:00.947 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:00.950 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:00.951 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.554071ms] ["completed regions"=1] [2025/04/05 23:10:00.951 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:00.954 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:00.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.609624ms] ["completed regions"=1] [2025/04/05 23:10:00.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:00.958 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:00.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.939287ms] ["completed regions"=1] [2025/04/05 23:10:00.959 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:00.962 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:00.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.677132ms] ["completed regions"=1] [2025/04/05 23:10:00.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:00.966 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:00.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.330115ms] ["completed regions"=1] [2025/04/05 23:10:00.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:00.970 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:00.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.306224ms] ["completed regions"=1] [2025/04/05 23:10:00.971 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:00.973 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:00.975 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.297922ms] ["completed regions"=1] [2025/04/05 23:10:00.975 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:00.977 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:00.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.175444ms] ["completed regions"=1] [2025/04/05 23:10:00.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:00.981 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:00.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.961719ms] ["completed regions"=1] [2025/04/05 23:10:00.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:00.984 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:00.985 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.962086ms] ["completed regions"=1] [2025/04/05 23:10:00.985 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:00.988 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:00.989 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.064219ms] ["completed regions"=1] [2025/04/05 23:10:00.989 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:00.991 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:00.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.837404ms] ["completed regions"=1] [2025/04/05 23:10:00.992 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:00.994 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:00.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.637893ms] ["completed regions"=1] [2025/04/05 23:10:00.995 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:00.997 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:00.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.554726ms] ["completed regions"=1] [2025/04/05 23:10:00.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:01.000 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:01.001 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.611661ms] ["completed regions"=1] [2025/04/05 23:10:01.001 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:01.003 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:01.004 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.467289ms] ["completed regions"=1] [2025/04/05 23:10:01.004 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:01.006 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:01.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.532431ms] ["completed regions"=1] [2025/04/05 23:10:01.007 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:01.009 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:01.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.578664ms] ["completed regions"=1] [2025/04/05 23:10:01.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:01.012 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:01.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.300168ms] ["completed regions"=1] [2025/04/05 23:10:01.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:01.014 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:01.016 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.565203ms] ["completed regions"=1] [2025/04/05 23:10:01.016 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [4,631 / 4,642] [Prepa] Running nogo on //tests/realtikvtest/testutils:testutils ... (2 actions, 0 running) [2025/04/05 23:10:01.017 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:01.019 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.540776ms] ["completed regions"=1] [2025/04/05 23:10:01.019 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:01.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:01.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.264215ms] ["completed regions"=1] [2025/04/05 23:10:01.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:01.023 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:01.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.291313ms] ["completed regions"=1] [2025/04/05 23:10:01.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:01.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:01.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.112664ms] ["completed regions"=1] [2025/04/05 23:10:01.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:01.028 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:01.029 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.16373ms] ["completed regions"=1] [2025/04/05 23:10:01.029 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:01.030 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:01.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.930741ms] ["completed regions"=1] [2025/04/05 23:10:01.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:01.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:01.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.85768ms] ["completed regions"=1] [2025/04/05 23:10:01.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:01.035 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:01.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.730921ms] ["completed regions"=1] [2025/04/05 23:10:01.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:01.037 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:01.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.137788ms] ["completed regions"=1] [2025/04/05 23:10:01.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:01.039 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:01.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.818771ms] ["completed regions"=1] [2025/04/05 23:10:01.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:01.042 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:01.043 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:01.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:01.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.149238ms] ["completed regions"=3] [2025/04/05 23:10:01.051 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/05 23:10:01.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.059 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:01.062 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:01.064 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:10:01.064 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.406172ms] ["completed regions"=1] [2025/04/05 23:10:01.064 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:01.068 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:01.070 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:10:01.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.894387ms] ["completed regions"=1] [2025/04/05 23:10:01.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:01.073 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:01.074 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:10:01.074 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.991534ms] ["completed regions"=1] [2025/04/05 23:10:01.074 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:01.077 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:01.078 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:10:01.078 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.031569ms] ["completed regions"=1] [2025/04/05 23:10:01.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:01.082 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:01.083 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:10:01.083 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.295453ms] ["completed regions"=1] [2025/04/05 23:10:01.083 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:01.086 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:01.087 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:10:01.087 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.980958ms] ["completed regions"=1] [2025/04/05 23:10:01.088 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:01.091 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:01.092 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:10:01.092 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.887336ms] ["completed regions"=1] [2025/04/05 23:10:01.092 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:01.095 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:01.096 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:10:01.096 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.645946ms] ["completed regions"=1] [2025/04/05 23:10:01.096 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:01.098 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:01.099 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:10:01.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.573875ms] ["completed regions"=1] [2025/04/05 23:10:01.100 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:01.102 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:01.103 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:10:01.104 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.615797ms] ["completed regions"=1] [2025/04/05 23:10:01.104 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:01.106 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:01.107 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:10:01.107 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.439386ms] ["completed regions"=1] [2025/04/05 23:10:01.107 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:01.110 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:01.112 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:10:01.112 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.609869ms] ["completed regions"=1] [2025/04/05 23:10:01.112 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:01.115 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:01.116 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:10:01.116 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.265943ms] ["completed regions"=1] [2025/04/05 23:10:01.116 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:01.118 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:01.119 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:10:01.120 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.369375ms] ["completed regions"=1] [2025/04/05 23:10:01.120 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:01.122 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:01.123 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:10:01.123 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.497173ms] ["completed regions"=1] [2025/04/05 23:10:01.123 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:01.126 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:01.127 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:10:01.127 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.389537ms] ["completed regions"=1] [2025/04/05 23:10:01.127 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:01.130 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:01.131 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:10:01.131 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.501199ms] ["completed regions"=1] [2025/04/05 23:10:01.131 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:01.133 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:01.134 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:10:01.135 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.254377ms] ["completed regions"=1] [2025/04/05 23:10:01.135 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:01.137 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:01.138 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:10:01.138 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.405915ms] ["completed regions"=1] [2025/04/05 23:10:01.138 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:01.141 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:01.142 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:10:01.142 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.328915ms] ["completed regions"=1] [2025/04/05 23:10:01.142 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:01.145 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:01.146 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:10:01.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.345708ms] ["completed regions"=1] [2025/04/05 23:10:01.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:01.148 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:01.149 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:10:01.149 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.949333ms] ["completed regions"=1] [2025/04/05 23:10:01.149 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:01.151 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:01.152 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:10:01.152 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.961561ms] ["completed regions"=1] [2025/04/05 23:10:01.152 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:01.154 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:01.156 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:10:01.156 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.978129ms] ["completed regions"=1] [2025/04/05 23:10:01.156 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:01.158 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:01.159 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:10:01.159 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.784524ms] ["completed regions"=1] [2025/04/05 23:10:01.159 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:01.161 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:01.162 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:10:01.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.77728ms] ["completed regions"=1] [2025/04/05 23:10:01.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:01.164 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:01.165 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:10:01.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.62484ms] ["completed regions"=1] [2025/04/05 23:10:01.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:01.167 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:01.168 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:10:01.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.651428ms] ["completed regions"=1] [2025/04/05 23:10:01.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:01.170 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:01.171 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:10:01.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.729804ms] ["completed regions"=1] [2025/04/05 23:10:01.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:01.173 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:01.174 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:10:01.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.558933ms] ["completed regions"=1] [2025/04/05 23:10:01.174 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:01.176 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:01.177 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:10:01.177 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.427827ms] ["completed regions"=1] [2025/04/05 23:10:01.177 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:01.178 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:01.180 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:10:01.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.354377ms] ["completed regions"=1] [2025/04/05 23:10:01.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:01.181 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:01.182 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:10:01.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.182835ms] ["completed regions"=1] [2025/04/05 23:10:01.182 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:01.184 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:01.185 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:10:01.185 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.128664ms] ["completed regions"=1] [2025/04/05 23:10:01.185 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:01.186 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:01.187 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:10:01.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.086478ms] ["completed regions"=1] [2025/04/05 23:10:01.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:01.189 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:01.190 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:10:01.190 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.228771ms] ["completed regions"=1] [2025/04/05 23:10:01.190 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:01.192 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:01.193 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:10:01.193 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.53964ms] ["completed regions"=1] [2025/04/05 23:10:01.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:01.194 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:01.195 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:10:01.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.148325ms] ["completed regions"=1] [2025/04/05 23:10:01.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:01.197 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:01.198 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:10:01.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.978079ms] ["completed regions"=1] [2025/04/05 23:10:01.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:01.199 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:01.200 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:10:01.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.98295ms] ["completed regions"=1] [2025/04/05 23:10:01.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:01.201 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:01.202 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:10:01.202 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.057166ms] ["completed regions"=1] [2025/04/05 23:10:01.203 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:01.204 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:01.205 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:10:01.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.817582ms] ["completed regions"=1] [2025/04/05 23:10:01.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:01.206 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:01.207 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:01.208 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:01.209 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:10:01.209 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.8929ms] ["completed regions"=3] [2025/04/05 23:10:01.209 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:10:01.225 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:10:01.311 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=86.978313ms] [2025/04/05 23:10:01.312 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:10:01.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=171] [2025/04/05 23:10:01.317 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=94.535139ms] [job="ID:180, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.386 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/05 23:10:01.399 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 20\n# Query_time: 0.704313505\n# Parse_time: 0.000109059\n# Compile_time: 0.000308681\n# Rewrite_time: 0.000002746\n# Optimize_time: 0.000816198\n# Wait_TS: 0.000382041\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:10:00.277000';"] [2025/04/05 23:10:01.414 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:10:01.414 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [] [2025/04/05 23:10:01.414 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.414 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:10:01.414 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:10:01.414 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:10:01.414 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=56.195µs] [2025/04/05 23:10:01.414 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=32.327µs] [2025/04/05 23:10:01.415 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=38.497µs] [2025/04/05 23:10:01.415 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=35.675µs] [2025/04/05 23:10:01.415 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=43.396µs] [2025/04/05 23:10:01.415 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.415 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.416 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:10:01.416 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:10:01.418 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8e037b4b-dbe1-4be8-b24c-52db564860c6] ["take time"=3.913615ms] [2025/04/05 23:10:01.418 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.418 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:10:01.418 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3fc4ec69-aa15-4e96-ba5b-42a3d80dd383] [watcherID=5286024d-c6bd-4b64-bc87-c921671cc495] [2025/04/05 23:10:01.418 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:10:01.418 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3fc4ec69-aa15-4e96-ba5b-42a3d80dd383] [2025/04/05 23:10:01.418 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [ttl-worker=task-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [originalCount=4] [newCount=0] [2025/04/05 23:10:01.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:01.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:01.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:01.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:01.418 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [ttl-worker=task-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [originalCount=4] [newCount=0] [2025/04/05 23:10:01.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:01.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:01.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:01.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:01.423 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.423 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=799] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:10:01.424 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:10:01.424 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:10:01.425 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:01.424 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [] [2025/04/05 23:10:01.425 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:10:01.425 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:10:01.424 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:10:01.424 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:01.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:01.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:10:01.425 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:10:01.424 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:10:01.425 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:10:01.425 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.425 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.425 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:10:01.426 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.426 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:10:01.426 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:10:01.426 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:10:01.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:10:01.426 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:10:01.426 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c6426968-c2ce-4cb7-a056-e58f95967bb3] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:01.426 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:10:01.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:10:01.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:10:01.426 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:10:01.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:10:01.426 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [error="context canceled"] [2025/04/05 23:10:01.426 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:10:01.426 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:10:01.427 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:10:01.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:10:01.427 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [error="context canceled"] [2025/04/05 23:10:01.427 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [2025/04/05 23:10:01.446 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:10:01.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:10:01.489 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8e037b4b-dbe1-4be8-b24c-52db564860c6] [error="context canceled"] [2025/04/05 23:10:01.489 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:10:01.489 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:10:01.499 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.021907ms] [2025/04/05 23:10:01.501 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:01.501 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:01.501 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:01.501 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:01.501 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:01.501 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:01.501 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:01.502 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:01.502 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:01.501 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:01.502 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:01.502 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:01.503 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackPartitionTable (2.78s) === NAME === RUN TestFlashbackTmpTable [2025/04/05 23:10:01.511 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:10:01.511 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:10:01.513 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:10:01.513 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:01.513 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:10:01.513 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:01.513 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:01.513 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:01.514 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:01.514 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:01.514 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:01.518 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:10:01.523 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:10:01.524 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:10:01.525 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:10:01.534 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:10:01.544 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:10:01.577 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=753] ["lease id"=6f18960835af7143] [2025/04/05 23:10:01.579 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:10:01.673 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=171] ["elapsed time"=91.310115ms] [2025/04/05 23:10:01.673 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:10:01.676 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:10:01.684 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=cdae5875-61e7-4f87-aca7-51d3d6754f18] [runWorker=true] [jobVersion=v2] [2025/04/05 23:10:01.684 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:10:01.686 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:01.687 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:10:01.688 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245956984832/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:10:01.688 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:10:01.688 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:01.688 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [2025/04/05 23:10:01.690 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af7148] [ownerID=cdae5875-61e7-4f87-aca7-51d3d6754f18] [op=none] [2025/04/05 23:10:01.690 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:01.690 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [ownerKey=/tidb/ddl/fg/owner/6f18960835af7148] [currRev=861] [2025/04/05 23:10:01.690 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:10:01.690 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:01.691 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835af712f] [ownerID=c4426076-ec46-4d89-9055-a37c7a255d4e] [op=none] [2025/04/05 23:10:01.691 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [2025/04/05 23:10:01.691 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [ownerKey=/tidb/br-stream/owner/3eaa960835af712f] [currRev=862] [2025/04/05 23:10:01.692 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:10:01.692 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af7148] [ownerID=cdae5875-61e7-4f87-aca7-51d3d6754f18] [op=none] [2025/04/05 23:10:01.692 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [op=none] [2025/04/05 23:10:01.692 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:10:01.696 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:01.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:10:01.697 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:10:01.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:10:01.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:10:01.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:10:01.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:10:01.719 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:10:01.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:10:01.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:10:01.720 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:10:01.720 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:10:01.720 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:10:01.720 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:10:01.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:10:01.721 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:01.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:10:01.722 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:10:01.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:10:01.724 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:10:01.724 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835af7150] [ownerID=cdae5875-61e7-4f87-aca7-51d3d6754f18] [op=none] [2025/04/05 23:10:01.724 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:01.724 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [ownerKey=/tidb/stats/owner/6f18960835af7150] [currRev=864] [2025/04/05 23:10:01.726 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f50a93a0-c1ca-45fc-9d3f-82364c3a7eea] [2025/04/05 23:10:01.726 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [ttl-worker=task-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [originalCount=0] [newCount=4] [2025/04/05 23:10:01.727 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [ttl-worker=task-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [originalCount=0] [newCount=4] [2025/04/05 23:10:01.727 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:01.727 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:10:01.727 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:10:01.728 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:10:01.728 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894601728222337 [2025/04/05 23:10:01.733 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:10:01.740 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.820055ms] [2025/04/05 23:10:01.741 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:10:01.741 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:10:01.742 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:10:01.745 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=171] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:10:01.758 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:10:01.758 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:01.764 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=2.634243ms] [gotSchemaVersion=172] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:01.785 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=172] [2025/04/05 23:10:01.787 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=10.390727ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.813 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.509299ms] [gotSchemaVersion=173] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:01.817 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=173] [2025/04/05 23:10:01.818 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=9.533226ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.827 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.833 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/05 23:10:01.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.240531ms] [gotSchemaVersion=174] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:01.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=174] [2025/04/05 23:10:01.852 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=8.730434ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.862 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[172,173,174]"] [comment="drop table: partition table IDs"] [2025/04/05 23:10:01.870 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/05 23:10:01.874 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/05 23:10:01.875 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.894 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/05 23:10:01.895 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=174] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894601895479935 [2025/04/05 23:10:01.912 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=174] [cur_db=test] [sql="create temporary table t(a int)"] [user=] [2025/04/05 23:10:02.698 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:10:02.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:10:02.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:10:02.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:10:02.726 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:10:02.727 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:10:02.727 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f50a93a0-c1ca-45fc-9d3f-82364c3a7eea] [watcherID=4b4b015f-e263-42f6-9094-013921807f9a] [2025/04/05 23:10:02.728 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:10:02.733 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:10:02.733 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:10:02.733 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:10:02.733 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:10:02.915 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:10:02.877 +0000 UTC"] [2025/04/05 23:10:02.928 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:02.928 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:10:02.877000'"] [2025/04/05 23:10:02.934 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.940 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/05 23:10:02.948 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.034 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=107ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:10:03.063 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=147.44µs] [gotSchemaVersion=175] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:10:03.067 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=175] [2025/04/05 23:10:03.069 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=8.185777ms] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:03.115 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:03.117 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.93379ms] ["completed regions"=1] [2025/04/05 23:10:03.117 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:03.120 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:03.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.539339ms] ["completed regions"=1] [2025/04/05 23:10:03.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:03.125 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:03.127 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.514321ms] ["completed regions"=1] [2025/04/05 23:10:03.127 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:03.130 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:03.131 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.327785ms] ["completed regions"=1] [2025/04/05 23:10:03.131 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:03.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:03.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.025781ms] ["completed regions"=1] [2025/04/05 23:10:03.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:03.140 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:03.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.494473ms] ["completed regions"=1] [2025/04/05 23:10:03.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:03.144 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:03.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.345756ms] ["completed regions"=1] [2025/04/05 23:10:03.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:03.149 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:03.150 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.150424ms] ["completed regions"=1] [2025/04/05 23:10:03.150 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:03.153 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:03.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.6382ms] ["completed regions"=1] [2025/04/05 23:10:03.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:03.157 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:03.159 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.75741ms] ["completed regions"=1] [2025/04/05 23:10:03.159 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:03.162 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:03.163 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.588692ms] ["completed regions"=1] [2025/04/05 23:10:03.163 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:03.166 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:03.167 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.898213ms] ["completed regions"=1] [2025/04/05 23:10:03.167 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:03.170 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:03.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.554ms] ["completed regions"=1] [2025/04/05 23:10:03.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:03.174 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:03.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.474288ms] ["completed regions"=1] [2025/04/05 23:10:03.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:03.178 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:03.179 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.286924ms] ["completed regions"=1] [2025/04/05 23:10:03.179 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:03.181 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:03.182 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.079853ms] ["completed regions"=1] [2025/04/05 23:10:03.182 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:03.185 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:03.186 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.09055ms] ["completed regions"=1] [2025/04/05 23:10:03.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:03.188 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:03.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.220186ms] ["completed regions"=1] [2025/04/05 23:10:03.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:03.192 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:03.193 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.436071ms] ["completed regions"=1] [2025/04/05 23:10:03.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:03.196 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:03.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=4.036939ms] ["completed regions"=1] [2025/04/05 23:10:03.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:03.200 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:03.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.988214ms] ["completed regions"=1] [2025/04/05 23:10:03.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:03.203 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:03.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.169713ms] ["completed regions"=1] [2025/04/05 23:10:03.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:03.207 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:03.208 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.008581ms] ["completed regions"=1] [2025/04/05 23:10:03.208 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:03.210 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:03.211 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.848476ms] ["completed regions"=1] [2025/04/05 23:10:03.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:03.213 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:03.214 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.768094ms] ["completed regions"=1] [2025/04/05 23:10:03.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:03.216 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:03.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.765544ms] ["completed regions"=1] [2025/04/05 23:10:03.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:03.220 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:03.221 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.895521ms] ["completed regions"=1] [2025/04/05 23:10:03.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:03.223 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:03.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.796763ms] ["completed regions"=1] [2025/04/05 23:10:03.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:03.226 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:03.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.915322ms] ["completed regions"=1] [2025/04/05 23:10:03.227 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:03.229 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:03.230 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.579616ms] ["completed regions"=1] [2025/04/05 23:10:03.230 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:03.232 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:03.233 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.352977ms] ["completed regions"=1] [2025/04/05 23:10:03.233 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:03.235 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:03.236 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.608414ms] ["completed regions"=1] [2025/04/05 23:10:03.236 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:03.238 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:03.239 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.349113ms] ["completed regions"=1] [2025/04/05 23:10:03.239 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:03.241 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:03.242 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.751852ms] ["completed regions"=1] [2025/04/05 23:10:03.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:03.244 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:03.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.453567ms] ["completed regions"=1] [2025/04/05 23:10:03.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:03.247 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:03.248 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.340006ms] ["completed regions"=1] [2025/04/05 23:10:03.248 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:03.250 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:03.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.292557ms] ["completed regions"=1] [2025/04/05 23:10:03.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:03.252 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:03.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.061266ms] ["completed regions"=1] [2025/04/05 23:10:03.253 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:03.255 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:03.256 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.117141ms] ["completed regions"=1] [2025/04/05 23:10:03.256 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:03.257 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:03.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.250191ms] ["completed regions"=1] [2025/04/05 23:10:03.259 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:03.260 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:03.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.983308ms] ["completed regions"=1] [2025/04/05 23:10:03.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:03.262 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:03.263 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.859876ms] ["completed regions"=1] [2025/04/05 23:10:03.263 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:03.264 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:03.266 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:03.267 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:03.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.062696ms] ["completed regions"=3] [2025/04/05 23:10:03.274 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/05 23:10:03.281 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.282 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:03.285 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:03.287 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:10:03.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.918895ms] ["completed regions"=1] [2025/04/05 23:10:03.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:03.290 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:03.291 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:10:03.291 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.338496ms] ["completed regions"=1] [2025/04/05 23:10:03.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:03.295 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:03.296 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:10:03.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.324129ms] ["completed regions"=1] [2025/04/05 23:10:03.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:03.300 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:03.301 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:10:03.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.086298ms] ["completed regions"=1] [2025/04/05 23:10:03.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:03.304 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:03.305 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:10:03.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.054078ms] ["completed regions"=1] [2025/04/05 23:10:03.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:03.309 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:03.310 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:10:03.310 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.427157ms] ["completed regions"=1] [2025/04/05 23:10:03.310 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:03.313 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:03.314 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:10:03.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.008755ms] ["completed regions"=1] [2025/04/05 23:10:03.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:03.318 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:03.319 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:10:03.319 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.078727ms] ["completed regions"=1] [2025/04/05 23:10:03.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:03.322 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:03.323 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:10:03.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.984443ms] ["completed regions"=1] [2025/04/05 23:10:03.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:03.326 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:03.327 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:10:03.328 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.811033ms] ["completed regions"=1] [2025/04/05 23:10:03.328 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:03.331 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:03.332 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:10:03.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.792028ms] ["completed regions"=1] [2025/04/05 23:10:03.332 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:03.335 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:03.336 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:10:03.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.744292ms] ["completed regions"=1] [2025/04/05 23:10:03.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:03.339 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:03.340 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:10:03.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.918571ms] ["completed regions"=1] [2025/04/05 23:10:03.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:03.343 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:03.344 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:10:03.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.479744ms] ["completed regions"=1] [2025/04/05 23:10:03.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:03.347 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:03.348 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:10:03.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.551999ms] ["completed regions"=1] [2025/04/05 23:10:03.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:03.351 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:03.352 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:10:03.352 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.349955ms] ["completed regions"=1] [2025/04/05 23:10:03.352 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:03.355 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:03.356 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:10:03.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.320808ms] ["completed regions"=1] [2025/04/05 23:10:03.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:03.358 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:03.359 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:10:03.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.202027ms] ["completed regions"=1] [2025/04/05 23:10:03.359 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:03.362 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:03.363 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:10:03.363 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.314579ms] ["completed regions"=1] [2025/04/05 23:10:03.363 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:03.365 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:03.366 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:10:03.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.2492ms] ["completed regions"=1] [2025/04/05 23:10:03.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:03.369 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:03.370 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:10:03.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.246967ms] ["completed regions"=1] [2025/04/05 23:10:03.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:03.373 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:03.374 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:10:03.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.270303ms] ["completed regions"=1] [2025/04/05 23:10:03.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:03.376 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:03.377 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:10:03.377 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.009884ms] ["completed regions"=1] [2025/04/05 23:10:03.377 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:03.380 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:03.381 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:10:03.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.926763ms] ["completed regions"=1] [2025/04/05 23:10:03.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:03.383 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:03.384 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:10:03.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.805177ms] ["completed regions"=1] [2025/04/05 23:10:03.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:03.386 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:03.387 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:10:03.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.909254ms] ["completed regions"=1] [2025/04/05 23:10:03.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:03.389 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:03.391 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:10:03.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.966631ms] ["completed regions"=1] [2025/04/05 23:10:03.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:03.393 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:03.394 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:10:03.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.845552ms] ["completed regions"=1] [2025/04/05 23:10:03.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:03.396 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:03.397 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:10:03.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.904338ms] ["completed regions"=1] [2025/04/05 23:10:03.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:03.399 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:03.400 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:10:03.400 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.629837ms] ["completed regions"=1] [2025/04/05 23:10:03.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:03.402 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:03.403 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:10:03.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.563542ms] ["completed regions"=1] [2025/04/05 23:10:03.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:03.405 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:03.406 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:10:03.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.543371ms] ["completed regions"=1] [2025/04/05 23:10:03.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:03.408 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:03.409 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:10:03.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.478079ms] ["completed regions"=1] [2025/04/05 23:10:03.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:03.411 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:03.412 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:10:03.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.340382ms] ["completed regions"=1] [2025/04/05 23:10:03.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:03.414 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:03.415 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:10:03.415 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=3.059071ms] ["completed regions"=1] [2025/04/05 23:10:03.415 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:03.417 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:03.419 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:10:03.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=3.01217ms] ["completed regions"=1] [2025/04/05 23:10:03.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:03.420 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:03.421 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:10:03.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.485695ms] ["completed regions"=1] [2025/04/05 23:10:03.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:03.423 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:03.424 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:10:03.424 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.416317ms] ["completed regions"=1] [2025/04/05 23:10:03.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:03.426 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:03.427 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:10:03.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.226385ms] ["completed regions"=1] [2025/04/05 23:10:03.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:03.429 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:03.430 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:10:03.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.359985ms] ["completed regions"=1] [2025/04/05 23:10:03.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:03.431 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:03.432 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:10:03.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.061322ms] ["completed regions"=1] [2025/04/05 23:10:03.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:03.434 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:03.435 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:10:03.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.050301ms] ["completed regions"=1] [2025/04/05 23:10:03.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:03.436 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:03.437 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:03.438 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:03.439 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:10:03.440 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.287642ms] ["completed regions"=3] [2025/04/05 23:10:03.440 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:10:03.456 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:10:03.542 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=85.735194ms] [2025/04/05 23:10:03.542 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:10:03.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=176] [2025/04/05 23:10:03.549 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=94.832059ms] [job="ID:183, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.630 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.643 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 23:10:03.644 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.729443119\n# Parse_time: 0.000091622\n# Compile_time: 0.000253554\n# Rewrite_time: 0.000002881\n# Optimize_time: 0.000095513\n# Wait_TS: 0.000555355\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:10:02.877000';"] [2025/04/05 23:10:03.688 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:10:04.650 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=176] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 23:10:04.651 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:10:04.627 +0000 UTC"] [2025/04/05 23:10:04.662 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:04.662 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:10:04.627000'"] [2025/04/05 23:10:04.668 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.675 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/05 23:10:04.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.725 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=135] [indexID=1] [2025/04/05 23:10:04.728 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=126] [indexID=1] [2025/04/05 23:10:04.730 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=133] [indexID=1] [2025/04/05 23:10:04.733 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=1] [2025/04/05 23:10:04.734 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=2] [2025/04/05 23:10:04.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=150.543µs] [gotSchemaVersion=177] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:10:04.798 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=177] [2025/04/05 23:10:04.800 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=7.863775ms] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:04.815 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:04.816 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.042611ms] ["completed regions"=1] [2025/04/05 23:10:04.816 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:04.820 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:04.821 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.470901ms] ["completed regions"=1] [2025/04/05 23:10:04.821 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:04.825 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:04.826 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.569429ms] ["completed regions"=1] [2025/04/05 23:10:04.826 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:04.830 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:04.831 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.18678ms] ["completed regions"=1] [2025/04/05 23:10:04.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:04.834 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:04.835 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.045645ms] ["completed regions"=1] [2025/04/05 23:10:04.835 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:04.839 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:04.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.113945ms] ["completed regions"=1] [2025/04/05 23:10:04.840 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:04.843 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:04.845 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.291619ms] ["completed regions"=1] [2025/04/05 23:10:04.845 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:04.848 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:04.849 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.179508ms] ["completed regions"=1] [2025/04/05 23:10:04.849 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:04.852 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:04.854 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.780067ms] ["completed regions"=1] [2025/04/05 23:10:04.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:04.857 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:04.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.844702ms] ["completed regions"=1] [2025/04/05 23:10:04.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:04.861 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:04.862 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.708672ms] ["completed regions"=1] [2025/04/05 23:10:04.862 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:04.865 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:04.866 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.456216ms] ["completed regions"=1] [2025/04/05 23:10:04.866 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:04.869 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:04.870 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.490061ms] ["completed regions"=1] [2025/04/05 23:10:04.870 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:04.873 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:04.874 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.427477ms] ["completed regions"=1] [2025/04/05 23:10:04.874 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:04.876 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:04.878 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.621651ms] ["completed regions"=1] [2025/04/05 23:10:04.878 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:04.880 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:04.882 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.607646ms] ["completed regions"=1] [2025/04/05 23:10:04.882 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:04.884 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:04.885 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.332615ms] ["completed regions"=1] [2025/04/05 23:10:04.885 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:04.888 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:04.889 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.171967ms] ["completed regions"=1] [2025/04/05 23:10:04.889 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:04.891 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:04.893 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.52134ms] ["completed regions"=1] [2025/04/05 23:10:04.893 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:04.896 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:04.897 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=4.036618ms] ["completed regions"=1] [2025/04/05 23:10:04.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:04.900 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:04.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.156387ms] ["completed regions"=1] [2025/04/05 23:10:04.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:04.903 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:04.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.130591ms] ["completed regions"=1] [2025/04/05 23:10:04.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:04.907 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:04.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.147588ms] ["completed regions"=1] [2025/04/05 23:10:04.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:04.911 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:04.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.887329ms] ["completed regions"=1] [2025/04/05 23:10:04.913 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:04.915 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:04.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.10533ms] ["completed regions"=1] [2025/04/05 23:10:04.916 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:04.918 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:04.920 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.085533ms] ["completed regions"=1] [2025/04/05 23:10:04.920 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:04.922 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:04.924 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.458153ms] ["completed regions"=1] [2025/04/05 23:10:04.924 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:04.926 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:04.927 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.122769ms] ["completed regions"=1] [2025/04/05 23:10:04.927 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:04.929 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:04.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.914692ms] ["completed regions"=1] [2025/04/05 23:10:04.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:04.933 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:04.934 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.716788ms] ["completed regions"=1] [2025/04/05 23:10:04.934 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:04.936 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:04.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.457127ms] ["completed regions"=1] [2025/04/05 23:10:04.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:04.938 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:04.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.614969ms] ["completed regions"=1] [2025/04/05 23:10:04.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:04.942 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:04.943 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.921579ms] ["completed regions"=1] [2025/04/05 23:10:04.943 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:04.945 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:04.947 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=3.109682ms] ["completed regions"=1] [2025/04/05 23:10:04.947 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:04.949 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:04.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.655116ms] ["completed regions"=1] [2025/04/05 23:10:04.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:04.952 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:04.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.239696ms] ["completed regions"=1] [2025/04/05 23:10:04.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:04.954 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:04.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.286578ms] ["completed regions"=1] [2025/04/05 23:10:04.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:04.957 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:04.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.121298ms] ["completed regions"=1] [2025/04/05 23:10:04.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:04.959 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:04.960 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.016711ms] ["completed regions"=1] [2025/04/05 23:10:04.960 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:04.962 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:04.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.910422ms] ["completed regions"=1] [2025/04/05 23:10:04.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:04.964 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:04.965 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.834531ms] ["completed regions"=1] [2025/04/05 23:10:04.965 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:04.966 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:04.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.773334ms] ["completed regions"=1] [2025/04/05 23:10:04.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:04.968 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:04.969 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:04.970 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:04.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.737531ms] ["completed regions"=3] [2025/04/05 23:10:04.978 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/05 23:10:04.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.985 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:04.989 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:04.991 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:10:04.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.879578ms] ["completed regions"=1] [2025/04/05 23:10:04.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:04.995 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:04.996 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:10:04.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.525424ms] ["completed regions"=1] [2025/04/05 23:10:04.996 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:04.999 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:05.000 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:10:05.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.224619ms] ["completed regions"=1] [2025/04/05 23:10:05.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:05.004 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:05.005 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:10:05.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.11442ms] ["completed regions"=1] [2025/04/05 23:10:05.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:05.008 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:05.009 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:10:05.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.990754ms] ["completed regions"=1] [2025/04/05 23:10:05.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:05.013 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:05.014 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:10:05.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.31987ms] ["completed regions"=1] [2025/04/05 23:10:05.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:05.017 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:05.018 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:10:05.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.9397ms] ["completed regions"=1] [2025/04/05 23:10:05.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:05.022 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:05.023 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:10:05.023 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.869669ms] ["completed regions"=1] [2025/04/05 23:10:05.023 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:05.026 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:05.028 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:10:05.028 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.439989ms] ["completed regions"=1] [2025/04/05 23:10:05.028 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:05.031 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:05.032 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:10:05.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.121503ms] ["completed regions"=1] [2025/04/05 23:10:05.032 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:05.035 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:05.037 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:10:05.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.021696ms] ["completed regions"=1] [2025/04/05 23:10:05.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:05.040 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:05.041 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:10:05.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.100487ms] ["completed regions"=1] [2025/04/05 23:10:05.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:05.044 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:05.045 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:10:05.046 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.919034ms] ["completed regions"=1] [2025/04/05 23:10:05.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:05.049 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:05.050 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:10:05.050 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.633326ms] ["completed regions"=1] [2025/04/05 23:10:05.050 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:05.053 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:05.054 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:10:05.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.436054ms] ["completed regions"=1] [2025/04/05 23:10:05.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:05.056 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:05.057 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:10:05.058 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.474293ms] ["completed regions"=1] [2025/04/05 23:10:05.058 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:05.060 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:05.061 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:10:05.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.356744ms] ["completed regions"=1] [2025/04/05 23:10:05.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:05.064 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:05.065 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:10:05.065 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.42661ms] ["completed regions"=1] [2025/04/05 23:10:05.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:05.068 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:05.069 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:10:05.069 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.215489ms] ["completed regions"=1] [2025/04/05 23:10:05.069 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:05.071 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:05.072 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:10:05.072 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.2382ms] ["completed regions"=1] [2025/04/05 23:10:05.073 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:05.075 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:05.076 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:10:05.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.229243ms] ["completed regions"=1] [2025/04/05 23:10:05.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:05.079 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:05.080 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:10:05.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.178395ms] ["completed regions"=1] [2025/04/05 23:10:05.080 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:05.082 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:05.083 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:10:05.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.283252ms] ["completed regions"=1] [2025/04/05 23:10:05.084 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:05.086 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:05.087 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:10:05.087 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.022779ms] ["completed regions"=1] [2025/04/05 23:10:05.087 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:05.089 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:05.090 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:10:05.090 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.045848ms] ["completed regions"=1] [2025/04/05 23:10:05.091 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:05.093 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:05.094 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:10:05.094 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.976064ms] ["completed regions"=1] [2025/04/05 23:10:05.094 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:05.096 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:05.097 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:10:05.097 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.001518ms] ["completed regions"=1] [2025/04/05 23:10:05.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:05.099 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:05.100 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:10:05.101 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.664451ms] ["completed regions"=1] [2025/04/05 23:10:05.101 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:05.103 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:05.104 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:10:05.104 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.177287ms] ["completed regions"=1] [2025/04/05 23:10:05.104 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:05.106 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:05.107 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:10:05.107 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.776852ms] ["completed regions"=1] [2025/04/05 23:10:05.107 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:05.109 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:05.110 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:10:05.111 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.783209ms] ["completed regions"=1] [2025/04/05 23:10:05.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:05.112 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:05.114 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:10:05.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.735635ms] ["completed regions"=1] [2025/04/05 23:10:05.114 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:05.115 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:05.117 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:10:05.117 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.538963ms] ["completed regions"=1] [2025/04/05 23:10:05.117 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:05.118 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:05.119 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:10:05.119 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.358789ms] ["completed regions"=1] [2025/04/05 23:10:05.120 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:05.121 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:05.122 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:10:05.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.432684ms] ["completed regions"=1] [2025/04/05 23:10:05.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:05.124 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:05.125 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:10:05.125 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.314127ms] ["completed regions"=1] [2025/04/05 23:10:05.125 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:05.126 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:05.128 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:10:05.128 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.2953ms] ["completed regions"=1] [2025/04/05 23:10:05.128 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:05.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:05.130 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:10:05.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.117686ms] ["completed regions"=1] [2025/04/05 23:10:05.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:05.132 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:05.133 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:10:05.133 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.118546ms] ["completed regions"=1] [2025/04/05 23:10:05.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:05.134 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:05.135 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:10:05.135 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.095202ms] ["completed regions"=1] [2025/04/05 23:10:05.135 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:05.137 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:05.138 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:10:05.138 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.133168ms] ["completed regions"=1] [2025/04/05 23:10:05.138 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:05.139 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:05.140 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:10:05.140 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.899505ms] ["completed regions"=1] [2025/04/05 23:10:05.140 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:05.141 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:05.142 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:05.143 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:05.145 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:10:05.145 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.035695ms] ["completed regions"=3] [2025/04/05 23:10:05.145 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:10:05.160 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:10:05.243 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=83.187812ms] [2025/04/05 23:10:05.243 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:10:05.247 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=178] [2025/04/05 23:10:05.249 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=178] ["take time"=91.0194ms] [job="ID:184, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.320 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/05 23:10:05.333 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.682990362\n# Parse_time: 0.000064878\n# Compile_time: 0.000276019\n# Rewrite_time: 0.000002169\n# Optimize_time: 0.001343715\n# Wait_TS: 0.000414007\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-05 23:10:04.627000';"] [2025/04/05 23:10:05.334 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackTmpTable\n\ttests/realtikvtest/flashbacktest/flashback_test.go:528\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t"] [2025/04/05 23:10:05.334 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:10:05.334 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [] [2025/04/05 23:10:05.334 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=184] [error="context canceled"] [2025/04/05 23:10:05.334 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:10:05.334 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.334 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:10:05.334 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:10:05.335 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=84.653µs] [2025/04/05 23:10:05.335 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=41.949µs] [2025/04/05 23:10:05.335 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=33.332µs] [2025/04/05 23:10:05.335 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.335 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.336 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:10:05.336 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:10:05.338 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=cdae5875-61e7-4f87-aca7-51d3d6754f18] ["take time"=4.167673ms] [2025/04/05 23:10:05.338 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.338 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:10:05.338 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:10:05.338 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f50a93a0-c1ca-45fc-9d3f-82364c3a7eea] [watcherID=4b4b015f-e263-42f6-9094-013921807f9a] [2025/04/05 23:10:05.339 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f50a93a0-c1ca-45fc-9d3f-82364c3a7eea] [2025/04/05 23:10:05.339 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [ttl-worker=task-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [originalCount=4] [newCount=0] [2025/04/05 23:10:05.339 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:05.339 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:05.339 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:05.339 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:05.339 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [ttl-worker=task-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [originalCount=4] [newCount=0] [2025/04/05 23:10:05.342 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:05.342 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:05.342 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:05.343 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:05.345 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.345 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=753] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:10:05.346 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:10:05.346 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:10:05.346 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:05.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:10:05.346 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:10:05.347 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [2025/04/05 23:10:05.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:05.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.346 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:05.346 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:10:05.347 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:10:05.346 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:10:05.346 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:10:05.347 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.347 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:10:05.347 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:10:05.347 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:10:05.347 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:10:05.347 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:10:05.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:10:05.349 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:10:05.349 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:10:05.349 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c4426076-ec46-4d89-9055-a37c7a255d4e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:05.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:10:05.349 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:10:05.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:10:05.349 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:10:05.349 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:10:05.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:10:05.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:10:05.349 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:10:05.350 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [error="context canceled"] [2025/04/05 23:10:05.350 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [2025/04/05 23:10:05.350 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:10:05.350 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:10:05.407 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=cdae5875-61e7-4f87-aca7-51d3d6754f18] [error="context canceled"] [2025/04/05 23:10:05.407 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:10:05.407 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:10:05.418 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.432801ms] [2025/04/05 23:10:05.421 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:05.421 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:05.421 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:05.421 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:05.421 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:05.421 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:05.421 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:05.421 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:05.421 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:05.421 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:05.422 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:05.422 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:05.423 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackTmpTable (3.92s) === NAME === RUN TestFlashbackInProcessErrorMsg [2025/04/05 23:10:05.432 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:10:05.432 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:10:05.433 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969672464290571] [2025/04/05 23:10:05.434 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:05.434 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:10:05.434 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:05.434 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:05.434 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:05.434 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:05.435 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:05.435 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:05.439 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:10:05.444 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:10:05.445 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:10:05.445 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:10:05.456 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969672464290571] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:10:05.468 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:10:05.502 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=865] ["lease id"=3eaa960835af7154] [2025/04/05 23:10:05.504 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:10:05.600 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=92.51952ms] [2025/04/05 23:10:05.600 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:10:05.602 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:10:05.609 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=32a352ee-dd9a-4620-9305-5e3822a47f7c] [runWorker=true] [jobVersion=v2] [2025/04/05 23:10:05.609 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:10:05.611 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:05.613 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:10:05.613 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 245957779456/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:10:05.613 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:05.613 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [2025/04/05 23:10:05.615 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af7176] [ownerID=32a352ee-dd9a-4620-9305-5e3822a47f7c] [op=none] [2025/04/05 23:10:05.615 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:05.615 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [ownerKey=/tidb/ddl/fg/owner/6f18960835af7176] [currRev=916] [2025/04/05 23:10:05.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:10:05.616 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:05.617 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:10:05.617 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835af6bfd] [ownerID=96a064db-d08e-4a4b-9326-e6dd2719a454] [op=none] [2025/04/05 23:10:05.617 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [2025/04/05 23:10:05.617 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [ownerKey=/tidb/br-stream/owner/2231960835af6bfd] [currRev=917] [2025/04/05 23:10:05.617 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835af7176] [ownerID=32a352ee-dd9a-4620-9305-5e3822a47f7c] [op=none] [2025/04/05 23:10:05.617 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [op=none] [2025/04/05 23:10:05.618 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:10:05.622 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:05.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:10:05.623 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:10:05.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:10:05.640 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:10:05.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:10:05.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:10:05.646 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:10:05.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:10:05.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:10:05.646 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:10:05.647 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:10:05.647 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:10:05.647 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:10:05.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:10:05.648 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:10:05.649 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:10:05.649 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:10:05.649 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:10:05.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:10:05.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:10:05.651 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835af715e] [ownerID=32a352ee-dd9a-4620-9305-5e3822a47f7c] [op=none] [2025/04/05 23:10:05.651 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:05.651 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [ownerKey=/tidb/stats/owner/3eaa960835af715e] [currRev=919] [2025/04/05 23:10:05.651 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 23:10:05.654 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fa11d683-08d7-4cc2-948b-e969d5e99a0f] [2025/04/05 23:10:05.654 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [ttl-worker=task-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [originalCount=0] [newCount=4] [2025/04/05 23:10:05.654 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [ttl-worker=task-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [originalCount=0] [newCount=4] [2025/04/05 23:10:05.654 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:05.655 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:10:05.655 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:10:05.655 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:10:05.656 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894605656127445 [2025/04/05 23:10:05.661 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:10:05.670 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.031649ms] [2025/04/05 23:10:05.670 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:10:05.670 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:10:05.677 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:10:05.698 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894605700942704 [2025/04/05 23:10:05.717 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=178] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:10:05.731 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:05.731 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/05 23:10:05.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:05.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.743 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/05 23:10:05.758 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.557823ms] [gotSchemaVersion=179] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:05.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=179] [2025/04/05 23:10:05.763 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=9.495923ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.775 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:05.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.787 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/05 23:10:05.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=179] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/05 23:10:06.624 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:10:06.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:10:06.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:10:06.624 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:10:06.654 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:10:06.654 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:10:06.654 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fa11d683-08d7-4cc2-948b-e969d5e99a0f] [watcherID=81ed1aac-4e77-42f2-8aaa-5f1192cf2e0f] [2025/04/05 23:10:06.656 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:10:06.662 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:10:06.662 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:10:06.662 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:10:06.662 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:10:06.790 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/05 23:10:06.803 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/05 23:10:06.803 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:10:06.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.811 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:187, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/05 23:10:06.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.85816ms] [gotSchemaVersion=180] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:10:06.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=180] [2025/04/05 23:10:06.834 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=180] ["take time"=9.492339ms] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=2.035791ms] [gotSchemaVersion=181] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:10:06.868 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=181] [2025/04/05 23:10:06.871 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=11.279176ms] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.95954ms] [gotSchemaVersion=182] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:10:06.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=182] [2025/04/05 23:10:06.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=10.124066ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.919 +00:00] [INFO] [index.go:1382] ["table is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/05 23:10:06.934 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.802876ms] [gotSchemaVersion=183] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:10:06.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=183] [2025/04/05 23:10:06.940 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=9.644835ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.953 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=187] [table=t] [index=k] [2025/04/05 23:10:06.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.780244ms] [gotSchemaVersion=184] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:10:06.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=184] [2025/04/05 23:10:06.974 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=9.628974ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:06.985 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/05 23:10:06.989 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 185, Table Name: t, Index ID: 1, Index Name: k)"] [2025/04/05 23:10:06.991 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/05 23:10:07.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.754643ms] [gotSchemaVersion=185] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 23:10:07.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=185] [2025/04/05 23:10:07.009 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=9.446343ms] [job="ID:187, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:07.019 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=187] [tableID=185] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2025/04/05 23:10:07.028 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="add index"] [2025/04/05 23:10:07.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:10:07.049 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 23:10:07.050 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=185] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/05 23:10:07.058 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 23:10:06.777 +0000 UTC"] [2025/04/05 23:10:07.070 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:07.070 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 23:10:06.777000'"] [2025/04/05 23:10:07.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.085 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/05 23:10:07.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.181 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=358ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:10:07.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=179.388µs] [gotSchemaVersion=186] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 23:10:07.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=186] [2025/04/05 23:10:07.223 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=10.518422ms] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.233 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.269 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:07.274 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:07.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.299837ms] ["completed regions"=1] [2025/04/05 23:10:07.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:07.280 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:07.281 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.747079ms] ["completed regions"=1] [2025/04/05 23:10:07.281 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:07.285 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:07.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.858832ms] ["completed regions"=1] [2025/04/05 23:10:07.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:07.291 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:07.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.685329ms] ["completed regions"=1] [2025/04/05 23:10:07.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:07.296 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:07.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.88536ms] ["completed regions"=1] [2025/04/05 23:10:07.297 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:07.301 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:07.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.40656ms] ["completed regions"=1] [2025/04/05 23:10:07.302 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:07.306 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:07.307 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.55908ms] ["completed regions"=1] [2025/04/05 23:10:07.307 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:07.311 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:07.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.195173ms] ["completed regions"=1] [2025/04/05 23:10:07.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:07.315 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:07.317 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.439765ms] ["completed regions"=1] [2025/04/05 23:10:07.317 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:07.320 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:07.322 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.817304ms] ["completed regions"=1] [2025/04/05 23:10:07.322 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:07.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:07.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.123468ms] ["completed regions"=1] [2025/04/05 23:10:07.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:07.330 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:07.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.547004ms] ["completed regions"=1] [2025/04/05 23:10:07.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:07.334 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:07.335 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.606638ms] ["completed regions"=1] [2025/04/05 23:10:07.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:07.338 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:07.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.685069ms] ["completed regions"=1] [2025/04/05 23:10:07.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:07.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:07.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.799705ms] ["completed regions"=1] [2025/04/05 23:10:07.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:07.347 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:07.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.730753ms] ["completed regions"=1] [2025/04/05 23:10:07.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:07.351 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:07.352 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.449948ms] ["completed regions"=1] [2025/04/05 23:10:07.352 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:07.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:07.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.372632ms] ["completed regions"=1] [2025/04/05 23:10:07.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:07.359 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:07.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.678004ms] ["completed regions"=1] [2025/04/05 23:10:07.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:07.363 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:07.364 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.525741ms] ["completed regions"=1] [2025/04/05 23:10:07.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:07.367 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:07.368 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.520938ms] ["completed regions"=1] [2025/04/05 23:10:07.368 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:07.371 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:07.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.205947ms] ["completed regions"=1] [2025/04/05 23:10:07.372 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:07.374 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:07.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.103519ms] ["completed regions"=1] [2025/04/05 23:10:07.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:07.378 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:07.379 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.232234ms] ["completed regions"=1] [2025/04/05 23:10:07.379 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:07.381 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:07.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.811707ms] ["completed regions"=1] [2025/04/05 23:10:07.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:07.384 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:07.385 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.79305ms] ["completed regions"=1] [2025/04/05 23:10:07.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:07.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:07.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.953164ms] ["completed regions"=1] [2025/04/05 23:10:07.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:07.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:07.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.830416ms] ["completed regions"=1] [2025/04/05 23:10:07.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:07.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:07.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.933399ms] ["completed regions"=1] [2025/04/05 23:10:07.396 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:07.398 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:07.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.993054ms] ["completed regions"=1] [2025/04/05 23:10:07.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:07.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:07.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.605277ms] ["completed regions"=1] [2025/04/05 23:10:07.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:07.404 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:07.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.846722ms] ["completed regions"=1] [2025/04/05 23:10:07.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:07.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:07.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.678664ms] ["completed regions"=1] [2025/04/05 23:10:07.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:07.410 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:07.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.662314ms] ["completed regions"=1] [2025/04/05 23:10:07.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:07.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:07.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.387262ms] ["completed regions"=1] [2025/04/05 23:10:07.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:07.416 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:07.417 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.319687ms] ["completed regions"=1] [2025/04/05 23:10:07.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:07.419 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:07.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.36519ms] ["completed regions"=1] [2025/04/05 23:10:07.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:07.421 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:07.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.329036ms] ["completed regions"=1] [2025/04/05 23:10:07.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:07.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:07.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.138854ms] ["completed regions"=1] [2025/04/05 23:10:07.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:07.426 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:07.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.922317ms] ["completed regions"=1] [2025/04/05 23:10:07.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:07.429 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:07.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.185502ms] ["completed regions"=1] [2025/04/05 23:10:07.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:07.431 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:07.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.173514ms] ["completed regions"=1] [2025/04/05 23:10:07.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:07.434 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:07.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:07.436 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:07.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.683915ms] ["completed regions"=3] [2025/04/05 23:10:07.445 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/05 23:10:07.453 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 23:10:07.458 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=30] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 23:10:07.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 23:10:07.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.880514ms] ["completed regions"=1] [2025/04/05 23:10:07.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 23:10:07.465 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=38] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 23:10:07.466 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 23:10:07.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.883154ms] ["completed regions"=1] [2025/04/05 23:10:07.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 23:10:07.470 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=46] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 23:10:07.472 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 23:10:07.472 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=5.239591ms] ["completed regions"=1] [2025/04/05 23:10:07.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 23:10:07.476 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=54] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 23:10:07.477 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 23:10:07.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.763886ms] ["completed regions"=1] [2025/04/05 23:10:07.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 23:10:07.481 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=62] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 23:10:07.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 23:10:07.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.194659ms] ["completed regions"=1] [2025/04/05 23:10:07.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 23:10:07.485 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=70] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 23:10:07.486 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 23:10:07.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.337762ms] ["completed regions"=1] [2025/04/05 23:10:07.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 23:10:07.490 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=78] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 23:10:07.491 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 23:10:07.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.278011ms] ["completed regions"=1] [2025/04/05 23:10:07.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 23:10:07.494 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=86] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 23:10:07.495 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 23:10:07.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.083998ms] ["completed regions"=1] [2025/04/05 23:10:07.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 23:10:07.499 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=94] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 23:10:07.500 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 23:10:07.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.105473ms] ["completed regions"=1] [2025/04/05 23:10:07.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 23:10:07.503 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=102] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 23:10:07.504 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 23:10:07.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.932157ms] ["completed regions"=1] [2025/04/05 23:10:07.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 23:10:07.507 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=110] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 23:10:07.509 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 23:10:07.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.90226ms] ["completed regions"=1] [2025/04/05 23:10:07.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 23:10:07.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=118] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 23:10:07.514 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 23:10:07.514 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.81825ms] ["completed regions"=1] [2025/04/05 23:10:07.514 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 23:10:07.517 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=126] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 23:10:07.518 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 23:10:07.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.009552ms] ["completed regions"=1] [2025/04/05 23:10:07.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 23:10:07.521 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=134] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 23:10:07.523 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 23:10:07.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.870126ms] ["completed regions"=1] [2025/04/05 23:10:07.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 23:10:07.525 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=142] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 23:10:07.527 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 23:10:07.527 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.595493ms] ["completed regions"=1] [2025/04/05 23:10:07.527 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 23:10:07.530 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=150] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 23:10:07.531 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 23:10:07.531 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.878191ms] ["completed regions"=1] [2025/04/05 23:10:07.531 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 23:10:07.534 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=158] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 23:10:07.535 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 23:10:07.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.454199ms] ["completed regions"=1] [2025/04/05 23:10:07.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 23:10:07.537 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=166] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 23:10:07.538 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 23:10:07.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.392245ms] ["completed regions"=1] [2025/04/05 23:10:07.539 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 23:10:07.541 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=174] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 23:10:07.542 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 23:10:07.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.511131ms] ["completed regions"=1] [2025/04/05 23:10:07.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 23:10:07.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=182] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 23:10:07.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 23:10:07.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.328922ms] ["completed regions"=1] [2025/04/05 23:10:07.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 23:10:07.548 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=190] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 23:10:07.549 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 23:10:07.549 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.085282ms] ["completed regions"=1] [2025/04/05 23:10:07.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 23:10:07.552 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=198] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 23:10:07.553 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 23:10:07.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.285604ms] ["completed regions"=1] [2025/04/05 23:10:07.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 23:10:07.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=206] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 23:10:07.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 23:10:07.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.964331ms] ["completed regions"=1] [2025/04/05 23:10:07.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 23:10:07.560 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=214] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 23:10:07.561 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 23:10:07.561 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.107403ms] ["completed regions"=1] [2025/04/05 23:10:07.561 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 23:10:07.563 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=222] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 23:10:07.564 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 23:10:07.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.894769ms] ["completed regions"=1] [2025/04/05 23:10:07.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 23:10:07.566 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=230] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 23:10:07.567 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 23:10:07.567 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.869483ms] ["completed regions"=1] [2025/04/05 23:10:07.567 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 23:10:07.569 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=238] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 23:10:07.571 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 23:10:07.571 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.986305ms] ["completed regions"=1] [2025/04/05 23:10:07.571 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 23:10:07.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=246] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 23:10:07.574 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 23:10:07.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.958781ms] ["completed regions"=1] [2025/04/05 23:10:07.574 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 23:10:07.576 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=254] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 23:10:07.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 23:10:07.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.409626ms] ["completed regions"=1] [2025/04/05 23:10:07.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 23:10:07.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=262] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 23:10:07.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 23:10:07.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.148745ms] ["completed regions"=1] [2025/04/05 23:10:07.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 23:10:07.583 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=270] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 23:10:07.584 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 23:10:07.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.691427ms] ["completed regions"=1] [2025/04/05 23:10:07.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 23:10:07.586 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=278] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 23:10:07.587 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 23:10:07.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.689035ms] ["completed regions"=1] [2025/04/05 23:10:07.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 23:10:07.589 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=286] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 23:10:07.591 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 23:10:07.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.859017ms] ["completed regions"=1] [2025/04/05 23:10:07.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 23:10:07.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=294] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 23:10:07.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 23:10:07.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.685323ms] ["completed regions"=1] [2025/04/05 23:10:07.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 23:10:07.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=302] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 23:10:07.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 23:10:07.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.633329ms] ["completed regions"=1] [2025/04/05 23:10:07.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 23:10:07.599 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=310] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 23:10:07.600 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 23:10:07.600 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.517023ms] ["completed regions"=1] [2025/04/05 23:10:07.600 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 23:10:07.602 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=318] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 23:10:07.603 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 23:10:07.603 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.441273ms] ["completed regions"=1] [2025/04/05 23:10:07.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 23:10:07.604 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=326] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 23:10:07.605 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 23:10:07.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.347267ms] ["completed regions"=1] [2025/04/05 23:10:07.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 23:10:07.607 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=334] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 23:10:07.608 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 23:10:07.608 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.235595ms] ["completed regions"=1] [2025/04/05 23:10:07.608 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 23:10:07.610 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=342] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 23:10:07.611 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 23:10:07.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.134472ms] ["completed regions"=1] [2025/04/05 23:10:07.611 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 23:10:07.612 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=350] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 23:10:07.613 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:10:07.613 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 23:10:07.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.326545ms] ["completed regions"=1] [2025/04/05 23:10:07.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 23:10:07.615 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=358] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 23:10:07.616 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 23:10:07.616 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.172547ms] ["completed regions"=1] [2025/04/05 23:10:07.616 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 23:10:07.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=370] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 23:10:07.619 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=374] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 23:10:07.620 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=366] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 23:10:07.622 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 23:10:07.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.364451ms] ["completed regions"=3] [2025/04/05 23:10:07.622 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 23:10:07.639 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:10:07.724 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=85.317264ms] [2025/04/05 23:10:07.724 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:10:07.728 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=187] [2025/04/05 23:10:07.730 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=187] ["take time"=93.020146ms] [job="ID:188, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.803 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/05 23:10:07.816 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 24\n# Query_time: 0.75920655\n# Parse_time: 0.000069234\n# Compile_time: 0.00029178\n# Rewrite_time: 0.000003026\n# Optimize_time: 0.000135104\n# Wait_TS: 0.000503534\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 23:10:06.777000';"] [2025/04/05 23:10:07.816 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [] [2025/04/05 23:10:07.817 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.816 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:10:07.817 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:10:07.817 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=188] [error="context canceled"] [2025/04/05 23:10:07.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:10:07.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp add index"] ["take time"=45.77µs] [2025/04/05 23:10:07.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:10:07.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=60.409µs] [2025/04/05 23:10:07.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=33.611µs] [2025/04/05 23:10:07.817 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.817 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.819 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:10:07.820 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:10:07.821 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=32a352ee-dd9a-4620-9305-5e3822a47f7c] ["take time"=4.936625ms] [2025/04/05 23:10:07.821 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.821 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:10:07.822 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fa11d683-08d7-4cc2-948b-e969d5e99a0f] [watcherID=81ed1aac-4e77-42f2-8aaa-5f1192cf2e0f] [2025/04/05 23:10:07.822 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:10:07.822 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fa11d683-08d7-4cc2-948b-e969d5e99a0f] [2025/04/05 23:10:07.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [ttl-worker=task-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [originalCount=4] [newCount=0] [2025/04/05 23:10:07.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:07.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:07.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:07.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:10:07.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [ttl-worker=task-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [originalCount=4] [newCount=0] [2025/04/05 23:10:07.824 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:07.824 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:07.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:07.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:10:07.827 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.827 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=865] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:10:07.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.829 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:10:07.828 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:10:07.829 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:10:07.829 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:07.830 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:07.830 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:10:07.830 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [2025/04/05 23:10:07.829 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:10:07.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:10:07.829 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:10:07.829 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:10:07.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:10:07.830 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:10:07.830 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.830 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:10:07.830 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:10:07.830 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:10:07.830 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:10:07.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:10:07.831 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:10:07.831 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:10:07.831 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:10:07.831 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:10:07.831 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:10:07.831 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:10:07.831 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=96a064db-d08e-4a4b-9326-e6dd2719a454] [daemon-id=LogBackup::Advancer] [2025/04/05 23:10:07.831 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:10:07.831 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:10:07.831 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:10:07.831 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:10:07.832 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [error="context canceled"] [2025/04/05 23:10:07.832 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [2025/04/05 23:10:07.833 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [error="context canceled"] [2025/04/05 23:10:07.833 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=32a352ee-dd9a-4620-9305-5e3822a47f7c] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:07.848 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:10:07.848 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:10:07.894 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:10:07.894 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:10:07.905 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.922564ms] [2025/04/05 23:10:07.908 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:07.908 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:07.908 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:07.908 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:07.908 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:07.908 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:07.908 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:07.908 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:07.908 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:07.908 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:07.909 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:07.909 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:07.910 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackInProcessErrorMsg (2.49s) === NAME PASS ================================================================================ Target //tests/realtikvtest/flashbacktest:flashbacktest_test up-to-date: bazel-bin/tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test INFO: Elapsed time: 29.476s, Critical Path: 12.82s INFO: 4571 processes: 4558 remote cache hit, 13 internal. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/flashbacktest:flashbacktest_test (cached) PASSED in 43.9s PASSED flashbacktest_test.TestFlashback (7.2s) PASSED flashbacktest_test.TestFlashbackAddDropIndex (4.9s) PASSED flashbacktest_test.TestFlashbackAddDropModifyColumn (3.1s) PASSED flashbacktest_test.TestFlashbackAutoID (2.5s) PASSED flashbacktest_test.TestFlashbackBasicRenameDropCreateTable (2.9s) PASSED flashbacktest_test.TestFlashbackCreateDropSchema (2.8s) PASSED flashbacktest_test.TestFlashbackCreateDropTableWithData (2.8s) PASSED flashbacktest_test.TestFlashbackInProcessErrorMsg (2.5s) PASSED flashbacktest_test.TestFlashbackPartitionTable (2.8s) PASSED flashbacktest_test.TestFlashbackSequence (2.7s) PASSED flashbacktest_test.TestFlashbackTmpTable (3.9s) PASSED flashbacktest_test.TestPrepareFlashbackFailed (2.7s) Test cases: finished with 12 passing and 0 failing out of 12 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [4,562 / 4,573] [Prepa] GoCompilePkg tests/realtikvtest/realtikvtest.a ... (2 actions, 0 running) [4,613 / 4,639] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 1s remote-cache [4,610 / 4,639] [Prepa] GoCompilePkg pkg/session/session.a None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh INFO: From Testing //tests/realtikvtest/importintotest:importintotest_test: ==================== Test output for //tests/realtikvtest/importintotest:importintotest_test: === RUN TestImportInto [2025/04/05 23:09:29.922 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:29.923 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:29.924 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:29.925 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:29.925 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:29.925 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:29.925 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:29.925 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:29.926 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:29.926 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:29.926 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:29.932 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:29.939 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:29.939 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:29.940 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:29.964 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:29.964 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:29.969 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:29.970 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:29.981 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:30.003 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969680989578112] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:30.026 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:30.068 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=607] ["lease id"=2231960835ac9dfe] [2025/04/05 23:09:30.071 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:30.077 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest/util_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest/importintotest_test.TestImportInto\n\ttests/realtikvtest/importintotest/util_test.go:50\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:30.185 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=107.057936ms] [2025/04/05 23:09:30.185 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:30.186 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:09:30.186 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=06028db0-0704-478a-b042-d4b90f634ca9] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:30.186 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:30.189 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:30.190 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:30.190 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 320699781120/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:30.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:30.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:30.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:30.191 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:30.191 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:30.191 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:30.191 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [2025/04/05 23:09:30.194 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0856a] [ownerID=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:30.194 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:30.194 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0856a] [currRev=97] [2025/04/05 23:09:30.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:30.195 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:30.195 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0856c] [ownerID=987f6c4e-d410-4e46-8823-4400afd3418a] [op=none] [2025/04/05 23:09:30.195 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [2025/04/05 23:09:30.195 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [ownerKey=/tidb/br-stream/owner/6f18960835b0856c] [currRev=97] [2025/04/05 23:09:30.195 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:30.196 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0856a] [ownerID=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:30.196 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:30.196 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:30.200 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:30.213 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:09:30.213 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:09:30.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.219 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.358 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.191933ms] [2025/04/05 23:09:30.358 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:30.363 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:09:30.365 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=134.609591ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.378 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:09:30.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:09:30.394 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:09:30.398 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Shanghai] [2025/04/05 23:09:30.423 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.423 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:30.432 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.228732ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.488 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.488 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:09:30.490 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=13.790784ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.508 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.539 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:09:30.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:30.552 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.552 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:09:30.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.093298ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.579 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:09:30.581 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=8.953863ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.592 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.604 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:09:30.604 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:09:30.617 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.617 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:09:30.623 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.640 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.943991ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.643 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.644 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:09:30.645 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.66096ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.656 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.668 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:09:30.668 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:09:30.688 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.688 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:30.700 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.507545ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.738 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:09:30.740 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.281842ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.759 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.781 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:09:30.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:30.797 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.797 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:30.803 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.824768ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.829 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:09:30.831 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.878635ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.843 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.858 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:09:30.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:30.873 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.873 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:30.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.774814ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.905 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:09:30.907 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.867419ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.918 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:09:30.932 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:30.945 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:30.945 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.791446ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.971 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:30.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:09:30.973 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.228328ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.995 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:09:30.995 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:09:31.008 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:30.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.008 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:31.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.88362ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.035 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.035 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:09:31.037 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=8.603649ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.047 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.059 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:09:31.059 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:09:31.073 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:09:31.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.325838ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.102 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:09:31.104 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=9.288112ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.115 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.128 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:09:31.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:09:31.142 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.142 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.148 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.168 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.198944ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.171 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.171 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:09:31.173 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=8.927465ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.184 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.192 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:31.197 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:09:31.197 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:09:31.199 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:31.214 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.214 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.221 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.215283ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.251 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:09:31.253 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=10.356168ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.266 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.282 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:09:31.282 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:09:31.298 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.298 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.303 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.326 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.768997ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.330 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:09:31.331 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.717937ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.343 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.358 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:09:31.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:09:31.376 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.376 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.382 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.172537ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.406 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:09:31.408 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.593721ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.419 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:09:31.432 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:31.446 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.446 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.452 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.471 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.088167ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.474 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:09:31.476 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=8.674051ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.486 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.499 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:09:31.499 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:31.512 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.512 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.535 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.108513ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.538 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:09:31.540 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.656377ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.550 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.562 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:09:31.563 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:31.577 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.577 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.582 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.1059ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.604 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.604 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:09:31.606 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.313453ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.616 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.628 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:09:31.629 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:09:31.642 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.642 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:09:31.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.666 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.020001ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.669 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:09:31.671 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=8.146423ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.681 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.694 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:09:31.694 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:09:31.711 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.711 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:31.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.123858ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.745 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:09:31.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.938863ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.759 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.777 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:09:31.777 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:31.796 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.796 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.802 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.821 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.19324ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.824 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.824 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:09:31.826 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.734021ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.848 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:09:31.848 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:09:31.860 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.860 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.865 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.604151ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.885 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:09:31.886 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.061124ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.907 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:09:31.907 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:09:31.919 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.919 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:09:31.924 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.932 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:31.939 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.336875ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.942 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:31.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:09:31.944 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=7.673846ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.953 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.963 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:09:31.963 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:09:31.978 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:31.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.978 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:31.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.568723ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.008 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:09:32.010 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=8.813677ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.021 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.035 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:09:32.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:09:32.048 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.048 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.015485ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.074 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.074 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:09:32.075 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.692114ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.086 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.098 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:09:32.099 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:32.112 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.112 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:09:32.118 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.260267ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.146 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:09:32.148 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.669438ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.158 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.171 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:09:32.172 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:09:32.185 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.185 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.190 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.190 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:32.191 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 23:09:32.209 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.856203ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.212 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:09:32.213 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.241031ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.224 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.236 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:09:32.236 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:09:32.249 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.249 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.274 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.898271ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.278 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.278 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:09:32.279 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.549532ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.290 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.302 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:09:32.303 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:32.316 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.340 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.90165ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.343 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.343 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:09:32.345 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.738696ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.355 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.367 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:09:32.367 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:09:32.369 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:32.382 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.288718ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:09:32.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.523098ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.422 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.436 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:09:32.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:32.450 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.450 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.457 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.541973ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.481 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.481 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:09:32.482 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.073448ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.494 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:09:32.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:32.523 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.523 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:32.528 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.690264ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.553 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:09:32.554 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=9.100237ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.579 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:09:32.580 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:32.597 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.597 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:09:32.603 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.631 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.524257ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.634 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.634 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:09:32.636 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.060315ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.648 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.665 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:09:32.665 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:09:32.677 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.677 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:09:32.682 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.522443ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.702 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.702 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:09:32.703 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.958533ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.713 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:09:32.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:09:32.740 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.740 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:09:32.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.767 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.295145ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:32.770 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.770 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:09:32.772 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.586937ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.783 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.797 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:09:32.811 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:09:32.817 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.269495ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.840 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:09:32.841 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=8.821767ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.852 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.865 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:09:32.866 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:09:32.879 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.879 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:32.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.89585ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.906 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:09:32.907 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.451862ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.921 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:09:32.934 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:09:32.947 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.947 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:32.952 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.970 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.808682ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.973 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:32.973 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:09:32.975 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.130989ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.984 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:09:32.997 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:09:33.015 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:32.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.015 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:33.021 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.050 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.888014ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.053 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.053 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:09:33.055 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.768326ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.085 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:09:33.085 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:09:33.101 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:33.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.133 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.229429ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.136 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.137 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:09:33.138 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=9.725022ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:09:33.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:09:33.183 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.183 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:33.189 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.828429ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.221 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:09:33.223 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.136288ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.253 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:09:33.253 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:09:33.270 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.270 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:33.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.670481ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.309 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:09:33.311 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.156675ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.324 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.342 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:09:33.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:33.359 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.359 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:33.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.805193ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.398 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.398 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:09:33.400 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.553349ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.413 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:09:33.432 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:33.449 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.449 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:33.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.404289ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.486 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:09:33.488 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=9.887217ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.500 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.517 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:09:33.517 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:09:33.533 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:09:33.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.562 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.884227ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.565 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.566 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:09:33.567 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=9.403392ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.579 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:09:33.595 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:09:33.610 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.610 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:33.616 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.640 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.765435ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.643 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:09:33.645 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.632639ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.657 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.673 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:09:33.673 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:33.691 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.691 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:09:33.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.729 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.813394ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.737 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.737 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:09:33.738 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=14.395817ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.753 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:09:33.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:09:33.787 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.787 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:33.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.754284ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.819 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:09:33.821 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.061193ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:09:33.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:33.859 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.859 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:09:33.864 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.889057ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.884 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:09:33.886 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.182879ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:09:33.908 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:09:33.921 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:33.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.921 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:33.926 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=1.908033ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.946 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:33.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:09:33.948 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.117535ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.958 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:09:33.970 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:09:33.972 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:33.983 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.983 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:09:33.989 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.007 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.113371ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.010 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:34.010 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:09:34.012 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.328752ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.022 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:09:34.034 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:09:34.044 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.044 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:09:34.049 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=565.609µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:34.064 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:34.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:09:34.065 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=6.95329ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.074 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:09:34.084 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:09:34.097 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.097 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:09:34.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.120 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.730884ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:34.123 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:34.123 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:09:34.125 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.555226ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.135 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.147 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:09:34.162 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.162 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:09:34.168 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.193 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.018337ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.196 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:34.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:09:34.198 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:34.198 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.536907ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:34.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:34.198 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:34.211 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:09:34.227 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:09:34.240 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.240 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:09:34.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.114489ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.267 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:34.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:09:34.268 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=8.575395ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.278 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.290 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:09:34.290 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:09:34.304 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.304 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:09:34.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.349094ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.332 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:34.332 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:09:34.334 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.848682ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.344 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.357 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:09:34.357 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:09:34.496 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.301345499s] [2025/04/05 23:09:34.498 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:34.498 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [] [2025/04/05 23:09:34.499 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.500 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:34.500 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:34.500 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:34.500 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=40.858µs] [2025/04/05 23:09:34.500 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=32.81µs] [2025/04/05 23:09:34.500 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=33.671µs] [2025/04/05 23:09:34.500 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=27.976µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=29.196µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=34.586µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=32.329µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=31.36µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=28.076µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=28.115µs] [2025/04/05 23:09:34.501 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.501 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.502 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:34.502 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:34.511 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=06028db0-0704-478a-b042-d4b90f634ca9] ["take time"=12.871633ms] [2025/04/05 23:09:34.511 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.512 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=607] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:34.512 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:34.512 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:34.512 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:34.512 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:34.512 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:34.512 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:34.512 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [2025/04/05 23:09:34.512 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [2025/04/05 23:09:34.513 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [2025/04/05 23:09:34.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:34.514 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:34.514 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=987f6c4e-d410-4e46-8823-4400afd3418a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.514 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:34.514 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:34.514 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:34.514 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:34.514 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:34.514 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:34.518 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.628108ms] [2025/04/05 23:09:34.518 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969680989578112] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:34.528 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:34.574 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=238] ["lease id"=6f18960835b085e5] [2025/04/05 23:09:34.576 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:34.694 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.962321ms] [2025/04/05 23:09:34.694 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:34.702 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=06028db0-0704-478a-b042-d4b90f634ca9] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:34.702 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:34.704 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [lease=6f18960835b0856a] [2025/04/05 23:09:34.704 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:34.704 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 320699842560/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:34.704 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:34.704 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:34.705 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.705 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [2025/04/05 23:09:34.706 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0856a] [ownerID=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:34.706 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.706 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0856a] [currRev=275] [2025/04/05 23:09:34.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:34.707 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.708 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:34.708 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b08c7f] [ownerID=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [op=none] [2025/04/05 23:09:34.708 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [2025/04/05 23:09:34.708 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [ownerKey=/tidb/br-stream/owner/3eaa960835b08c7f] [currRev=276] [2025/04/05 23:09:34.708 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0856a] [ownerID=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:34.708 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:34.708 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:34.715 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:34.716 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:34.718 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960835b085ed] [ownerID=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:34.718 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.718 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [ownerKey=/tidb/bindinfo/owner/6f18960835b085ed] [currRev=277] [2025/04/05 23:09:34.724 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:09:34.727 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:34.727 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:34.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:34.742 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:34.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:34.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:34.743 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:34.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:34.743 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:34.743 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:34.743 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:34.743 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:34.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:34.743 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:34.745 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:34.745 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:34.747 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835b08c84] [ownerID=06028db0-0704-478a-b042-d4b90f634ca9] [op=none] [2025/04/05 23:09:34.747 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.747 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [ownerKey=/tidb/stats/owner/3eaa960835b08c84] [currRev=278] [2025/04/05 23:09:34.747 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:09:34.749 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4374fd63-212c-47f8-bacc-792848df66b0] [2025/04/05 23:09:34.750 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [ttl-worker=task-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [originalCount=0] [newCount=4] [2025/04/05 23:09:34.750 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [ttl-worker=task-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [originalCount=0] [newCount=4] [2025/04/05 23:09:34.750 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:09:34.751 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:34.758 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:34.758 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:34.758 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894574758713139 [2025/04/05 23:09:34.759 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:34.766 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.49966ms] [2025/04/05 23:09:34.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:34.766 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:34.777 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894574779078019 === RUN TestImportInto/TestAddIndexBySQL import_into_test.go:1039: enable after we support add-index option --- SKIP: TestImportInto/TestAddIndexBySQL (0.00s) === NAME TestImportInto === RUN TestImportInto/TestAnalyze import_into_test.go:1191: skip for ci now --- SKIP: TestImportInto/TestAnalyze (0.00s) === NAME TestImportInto === RUN TestImportInto/TestBadCases [2025/04/05 23:09:34.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="DROP DATABASE IF EXISTS bad_cases;"] [user=] [2025/04/05 23:09:34.795 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE bad_cases;"] [2025/04/05 23:09:34.795 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.814 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=650.149µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:34.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:09:34.819 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=7.723122ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.830 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.844 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:09:34.844 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="CREATE DATABASE bad_cases;"] [user=] [2025/04/05 23:09:34.856 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.856 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [2025/04/05 23:09:34.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.865 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/05 23:09:34.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.698634ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 23:09:34.887 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=8.362449ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.898 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 23:09:34.908 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [user=] [2025/04/05 23:09:35.121 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.177 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:35.207 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:35.717 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:35.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:35.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:35.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:35.749 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:35.749 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:35.750 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/4374fd63-212c-47f8-bacc-792848df66b0] [watcherID=72458a98-d0da-4003-a102-5c53e208f086] [2025/04/05 23:09:35.758 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:35.763 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/05 23:09:35.763 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:35.763 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:35.763 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:35.763 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:35.778 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:35.778 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:35.881 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:35.882 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:35.883 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/05 23:09:35.890 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.893 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:35.893 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 23:09:35.893 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=46.16µs] [2025/04/05 23:09:35.893 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=128.364µs] [] [2025/04/05 23:09:35.894 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:35.894 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:35.931 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:35.951 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 23:09:35.951 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.952 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/05 23:09:35.959 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:35.959 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:35.959 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:35.959 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:35.960 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:35.960 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:35.960 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:35.960 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:35.960 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:35.961 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:35.975 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:35.977 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:35.977 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:35.977 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:35.977 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:35.977 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/05 23:09:35.984 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/05 23:09:35.985 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/05 23:09:35.987 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/05 23:09:35.989 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:0] [engineUUID=ac11689c-038f-539b-891e-1e76c346ec7c] [2025/04/05 23:09:35.993 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:-1] [engineUUID=ad4147a5-8a19-558e-a731-72a1c176fe8f] [2025/04/05 23:09:35.994 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 23:09:35.994 +00:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=encodeAndSortOperator] [funcInfo=RecoverArgs] [r="failpoint panic: mock panic"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 23:09:35.994 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=9.451361ms] [error="panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:35.994 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=9.688171ms] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:35.994 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.006 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:36.010 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 23:09:36.089 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]panic occurred during import, please check log\\\"}\"]"] [2025/04/05 23:09:36.112 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 23:09:36.115 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:36.115 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:36.115 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:36.115 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:36.115 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:36.115 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:36.115 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.115 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:36.115 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.115 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.115 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.115 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:36.118 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:36.118 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.118 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.118 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.118 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=140.881234ms] [] [2025/04/05 23:09:36.118 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:36.186 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=import] [state=reverting] [error="[0]panic occurred during import, please check log"] [2025/04/05 23:09:36.187 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [step=import] [mode=Normal] [2025/04/05 23:09:36.202 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 23:09:36.281 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:36.287 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:36.287 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:36.318 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:36.425 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=1] [error="[0]panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBadCases\n\ttests/realtikvtest/importintotest/import_into_test.go:1255\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:09:36.426 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.517081854\n# Parse_time: 0.000161151\n# Compile_time: 0.000472008\n# Rewrite_time: 0.000086652\n# Optimize_time: 0.000071043\n# Wait_TS: 0\n# Is_internal: false\n# Digest: b6933a1d414b9d968fa0e6e3f47c76e6ea580a8354ae324b1241995fe698ad90\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SLAwCTU5XzIJMAkwCU4vQQkwCXRpbWU6MS41MnMsIG9wZW46Njk4bnMsIGNsb3MBGVgyNMK1cywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YdgKXQoMSW1wb3J0SW50b18yOAFAAVIDTi9BWi50aW1lOjEuNTJzLCBvcGVuOjY5OG5zLCBjbG9zARk8MjTCtXMsIGxvb3BzOjFw/xEBNAF4////////////ARgB')\n# Resource_group: default\nIMPORT INTO `bad_cases`.`t` FROM 'gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestBadCases (1.64s) === NAME TestImportInto === RUN TestImportInto/TestBasicImportInto [2025/04/05 23:09:36.428 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="drop database if exists import_into"] [user=] [2025/04/05 23:09:36.442 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/05 23:09:36.442 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.448 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=819.945µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:36.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/05 23:09:36.469 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=9.196008ms] [job="ID:117, Type:create schema, State:done, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.480 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:synced, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 23:09:36.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=] [sql="create database import_into"] [user=] [2025/04/05 23:09:36.492 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:36.505 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:09:36.505 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.511 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.516 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: t)"] [2025/04/05 23:09:36.533 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.869689ms] [gotSchemaVersion=59] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:36.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/05 23:09:36.538 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=9.138249ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.550 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.563 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 23:09:36.564 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 23:09:36.565 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="COLUMN reference is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="COLUMN reference is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4502\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:616\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:219\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:154\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=a+1 FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 23:09:36.583 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.583 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:09:36.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.207985ms] [gotSchemaVersion=60] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=60] [2025/04/05 23:09:36.608 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=8.998638ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.618 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.634 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.197213ms] [gotSchemaVersion=61] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.637 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=61] [2025/04/05 23:09:36.638 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=8.758493ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.652 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: t)"] [2025/04/05 23:09:36.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.142337ms] [gotSchemaVersion=62] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/05 23:09:36.673 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=10.29235ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.682 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/05 23:09:36.692 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/05 23:09:36.693 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.704 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:36.713 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/05 23:09:36.714 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:36.727 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.727 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:09:36.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.737 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: t)"] [2025/04/05 23:09:36.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.713964ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:36.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/05 23:09:36.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=8.90159ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.781 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 23:09:36.782 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 23:09:36.783 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:167\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=@v FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 23:09:36.784 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:171\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=getvar('v') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 23:09:36.796 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.796 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:09:36.801 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=2.317143ms] [gotSchemaVersion=64] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=64] [2025/04/05 23:09:36.822 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=9.140727ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.832 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=2.241022ms] [gotSchemaVersion=65] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=65] [2025/04/05 23:09:36.854 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=9.445884ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.862 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.869 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: t)"] [2025/04/05 23:09:36.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.169631ms] [gotSchemaVersion=66] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=66] [2025/04/05 23:09:36.887 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.151369ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.897 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/05 23:09:36.901 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2025/04/05 23:09:36.902 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.919 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 23:09:36.920 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/05 23:09:36.932 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:09:36.932 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.943 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 124, Table Name: t)"] [2025/04/05 23:09:36.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.769471ms] [gotSchemaVersion=67] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:36.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=67] [2025/04/05 23:09:36.963 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=8.231852ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.975 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 23:09:36.987 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 23:09:36.988 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="subquery is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="subquery is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4505\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SubqueryExpr).Accept\n\tpkg/parser/ast/expressions.go:409\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:178\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=(SELECT 'subquery') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 23:09:37.000 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.000 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:37.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.022 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.252369ms] [gotSchemaVersion=68] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=68] [2025/04/05 23:09:37.027 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=9.302778ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.037 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=2.36085ms] [gotSchemaVersion=69] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.056 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=69] [2025/04/05 23:09:37.058 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=9.113836ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.067 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.073 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 124, Old Table Name: t)"] [2025/04/05 23:09:37.087 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.102483ms] [gotSchemaVersion=70] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/05 23:09:37.091 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=7.762519ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.101 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[124]"] [comment="drop table: table ID"] [2025/04/05 23:09:37.105 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2025/04/05 23:09:37.106 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 23:09:37.125 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:37.137 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:09:37.137 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.143 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.147 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/05 23:09:37.163 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.766055ms] [gotSchemaVersion=71] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:37.167 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=71] [2025/04/05 23:09:37.168 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=9.016026ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.190 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 23:09:37.190 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 23:09:37.196 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.245 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:37.263 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:37.277 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:37.277 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:37.379 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:37.380 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:37.382 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/05 23:09:37.389 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.391 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:37.392 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:37.392 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=99.038µs] [2025/04/05 23:09:37.392 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=247.25µs] [] [2025/04/05 23:09:37.392 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:37.392 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:37.431 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:37.450 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 23:09:37.451 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.459 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:37.459 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:37.459 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:37.459 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:37.459 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:37.459 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:37.459 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:37.460 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:37.460 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:37.460 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:37.473 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:37.475 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:37.475 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:37.475 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:37.475 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:37.475 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/05 23:09:37.483 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [2025/04/05 23:09:37.483 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [2025/04/05 23:09:37.486 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/05 23:09:37.487 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:37.490 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:37.491 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:37.506 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 23:09:37.511 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [2025/04/05 23:09:37.513 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [readDur=992.869µs] [encodeDur=111.344µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=249.904µs] [type=file] [takeTime=1.620801ms] [] [2025/04/05 23:09:37.513 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:37.513 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/2/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/e05f6586-7978-45f6-bf07-e18195fa34f2.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000000002] [2025/04/05 23:09:37.520 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [2025/04/05 23:09:37.523 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [readDur=2.755327ms] [encodeDur=172.237µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=201.773µs] [type=file] [takeTime=3.43468ms] [] [2025/04/05 23:09:37.524 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:37.524 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/2/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/90c2c5db-5178-49e5-82c6-dbdb48c63e18.sst] [firstKey=74800000000000007F5F728000000000000008] [lastKey=74800000000000007F5F728000000000000009] [2025/04/05 23:09:37.534 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [2025/04/05 23:09:37.536 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [readDur=787.707µs] [encodeDur=170.65µs] [checksum="{cksum=14730688775140726438,size=82,kvs=2}"] [deliverDur=199.533µs] [type=file] [takeTime=1.327457ms] [] [2025/04/05 23:09:37.536 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/2/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/0d7eb30c-6ed1-4fdf-95a0-116c433b64bd.sst] [firstKey=74800000000000007F5F72800000000000000F] [lastKey=74800000000000007F5F728000000000000010] [2025/04/05 23:09:37.536 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:37.536 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:37.536 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:37.538 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.651144ms] [] [2025/04/05 23:09:37.538 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:37.543 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:37.565 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:37.565 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:37.567 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0000110000000000fa] [2025/04/05 23:09:37.580 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:37.582 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=43.286743ms] [] [2025/04/05 23:09:37.582 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:37.583 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.264701ms] [] [2025/04/05 23:09:37.583 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:37.583 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:37.585 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.569866ms] [] [2025/04/05 23:09:37.585 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:37.588 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:37.588 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.777634ms] [] [2025/04/05 23:09:37.589 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:37.590 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=997.572µs] [] [2025/04/05 23:09:37.590 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [takeTime=107.044159ms] [] [2025/04/05 23:09:37.590 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [takeTime=107.239505ms] [] [2025/04/05 23:09:37.684 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:37.685 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:37.686 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:37.687 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:37.715 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:37.717 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:37.717 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:37.737 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:37.737 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 23:09:37.740 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:37.740 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:37.740 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:37.740 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:37.740 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:37.740 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:37.740 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.740 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:37.740 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.740 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.740 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:37.740 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:37.742 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:37.742 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.742 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.742 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:37.742 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=266.672303ms] [] [2025/04/05 23:09:37.742 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 23:09:37.748 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 23:09:37.748 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:09:37.750 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:37.770 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:37.778 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=post-process] [2025/04/05 23:09:37.778 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/05 23:09:37.778 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/05 23:09:37.778 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/05 23:09:37.783 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=5.460636ms] [] [2025/04/05 23:09:37.783 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [groupId=-1] [size=246] [kvs=6] [checksum=8184885398518078658] [2025/04/05 23:09:37.783 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [checksum="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/05 23:09:37.784 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [weight=30] [2025/04/05 23:09:37.784 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [concurrency=15] [2025/04/05 23:09:37.785 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=8184885398518078658] [totalKvs=6] [totalBytes=246] [2025/04/05 23:09:37.786 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:37.786 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [local="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/05 23:09:37.786 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=7.848981ms] [] [2025/04/05 23:09:37.786 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=7.9824ms] [] [2025/04/05 23:09:37.786 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=post-process] [takeTime=8.107392ms] [] [2025/04/05 23:09:37.799 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:37.884 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:37.884 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 23:09:37.887 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 23:09:37.899 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=128.767384ms] [] [2025/04/05 23:09:37.899 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 23:09:37.980 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:37.985 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:37.985 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:38.004 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:38.179 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988179714\n# Parse_time: 0.000111837\n# Compile_time: 0.000478427\n# Rewrite_time: 0.000103039\n# Optimize_time: 0.000071043\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny4zbXMsIG9wZW46Njg1bnMsIGNsb3NlOjc1Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny4zbXMsIG9wZW46Njg1bnMsIGNsb3NlOjc1Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:38.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:38.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=2.177153ms] [gotSchemaVersion=72] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=72] [2025/04/05 23:09:38.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=9.241228ms] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.227 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=2.349151ms] [gotSchemaVersion=73] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.244 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=73] [2025/04/05 23:09:38.246 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=8.90368ms] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.254 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.259 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 127, Old Table Name: t)"] [2025/04/05 23:09:38.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.107556ms] [gotSchemaVersion=74] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=74] [2025/04/05 23:09:38.277 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=7.666224ms] [job="ID:129, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.285 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[127]"] [comment="drop table: table ID"] [2025/04/05 23:09:38.289 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop table"] [2025/04/05 23:09:38.290 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 23:09:38.308 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:38.320 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 23:09:38.320 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.325 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.329 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 130, Table Name: t)"] [2025/04/05 23:09:38.344 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.76441ms] [gotSchemaVersion=75] [phyTblIDs="[130]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:38.347 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=75] [2025/04/05 23:09:38.348 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=8.083358ms] [job="ID:131, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.359 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 23:09:38.370 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=75] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=] [2025/04/05 23:09:38.375 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:38.421 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:38.439 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:38.453 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:38.453 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:38.555 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:38.556 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:38.557 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/05 23:09:38.565 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:38.567 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:38.567 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:38.567 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=73.593µs] [2025/04/05 23:09:38.567 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=166.975µs] [] [2025/04/05 23:09:38.567 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:38.567 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:38.600 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:38.619 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 23:09:38.620 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:38.627 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:38.627 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:38.627 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:38.627 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:38.628 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:38.628 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:38.628 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:38.628 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:38.628 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:38.628 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:38.640 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:38.642 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:38.642 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:38.642 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:38.642 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/05 23:09:38.642 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:38.649 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [2025/04/05 23:09:38.649 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [2025/04/05 23:09:38.653 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:38.656 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:38.656 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/05 23:09:38.661 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/05 23:09:38.680 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 23:09:38.696 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [2025/04/05 23:09:38.697 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [readDur=929.716µs] [encodeDur=176.409µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=104.042µs] [type=file] [takeTime=1.434882ms] [] [2025/04/05 23:09:38.698 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/3/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/42eebbb4-6821-47d4-9e5e-4bcd5d499588.sst] [firstKey=7480000000000000825F728000000000000001] [lastKey=7480000000000000825F728000000000000002] [2025/04/05 23:09:38.698 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/05 23:09:38.701 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [2025/04/05 23:09:38.702 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [readDur=807.999µs] [encodeDur=88.048µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=36.507µs] [type=file] [takeTime=1.082294ms] [] [2025/04/05 23:09:38.703 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/05 23:09:38.703 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/3/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8bdcb30b-81e7-430b-b016-02390c0e667a.sst] [firstKey=7480000000000000825F728000000000000003] [lastKey=7480000000000000825F728000000000000004] [2025/04/05 23:09:38.705 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [2025/04/05 23:09:38.706 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [readDur=1.034113ms] [encodeDur=120.751µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=26.062µs] [type=file] [takeTime=1.345197ms] [] [2025/04/05 23:09:38.707 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/3/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f9fd6aa4-505b-4b5f-8a4e-90607da17987.sst] [firstKey=7480000000000000825F728000000000000005] [lastKey=7480000000000000825F728000000000000006] [2025/04/05 23:09:38.707 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:38.707 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:38.707 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:38.710 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.681642ms] [] [2025/04/05 23:09:38.710 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:38.714 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.736 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 23:09:38.736 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.738 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000825f728000000000000001] [endOfAllRanges=7480000000000000825f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff825f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff825f728000000000ff0000070000000000fa] [2025/04/05 23:09:38.750 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 23:09:38.752 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.77808ms] [] [2025/04/05 23:09:38.752 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:38.753 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.205418ms] [] [2025/04/05 23:09:38.753 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:38.753 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:38.754 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.463266ms] [] [2025/04/05 23:09:38.755 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:38.758 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:38.758 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.51524ms] [] [2025/04/05 23:09:38.758 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:38.759 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=838.601µs] [] [2025/04/05 23:09:38.759 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [takeTime=110.11856ms] [] [2025/04/05 23:09:38.761 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [takeTime=111.614189ms] [] [2025/04/05 23:09:38.859 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:38.861 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:38.862 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:38.862 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:38.891 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:38.893 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:38.893 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:38.912 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:38.912 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 23:09:38.915 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:38.915 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:38.915 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:38.915 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:38.915 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:38.915 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:38.915 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:38.915 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.915 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.915 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:38.915 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.915 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:38.917 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:38.917 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.917 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.917 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.918 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=275.568366ms] [] [2025/04/05 23:09:38.918 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 23:09:38.930 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:38.950 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:38.957 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=post-process] [2025/04/05 23:09:38.957 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/05 23:09:38.957 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/05 23:09:38.957 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/05 23:09:38.957 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.213µs] [] [2025/04/05 23:09:38.957 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:09:38.957 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:38.957 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [weight=30] [2025/04/05 23:09:38.957 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [concurrency=15] [2025/04/05 23:09:38.959 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=130] [physicalTableID=130] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 23:09:38.959 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:38.959 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:38.960 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.554912ms] [] [2025/04/05 23:09:38.960 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.676569ms] [] [2025/04/05 23:09:38.960 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=post-process] [takeTime=2.818448ms] [] [2025/04/05 23:09:38.968 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:39.060 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:39.060 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/05 23:09:39.062 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 23:09:39.076 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=126.345992ms] [] [2025/04/05 23:09:39.076 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 23:09:39.155 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:39.161 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:39.161 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:39.182 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:39.356 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985585988\n# Parse_time: 0.000083277\n# Compile_time: 0.000524778\n# Rewrite_time: 0.000147987\n# Optimize_time: 0.000254615\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('TPBLMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC43bXMsIG9wZW46MS4wN8K1cywgY2xvc2U6MS4yM8K1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('Z/BDCmMKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjJ0aW1lOjk4NC43bXMsIG9wZW46MS4wN8K1cywgY2xvc2U6MS4yM8IBDyBsb29wczoycP8RATQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:39.371 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:39.371 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:39.376 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=2.317562ms] [gotSchemaVersion=76] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=76] [2025/04/05 23:09:39.397 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=9.714421ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.407 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.422 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=2.292835ms] [gotSchemaVersion=77] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.426 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=77] [2025/04/05 23:09:39.427 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=9.492527ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.486 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.492 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 130, Old Table Name: t)"] [2025/04/05 23:09:39.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.077408ms] [gotSchemaVersion=78] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/05 23:09:39.512 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=8.445296ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.521 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[130]"] [comment="drop table: table ID"] [2025/04/05 23:09:39.526 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/05 23:09:39.527 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.545 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 23:09:39.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:39.558 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [2025/04/05 23:09:39.558 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:39.564 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.569 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/05 23:09:39.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.859407ms] [gotSchemaVersion=79] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:39.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=79] [2025/04/05 23:09:39.591 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=9.159033ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.603 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.616 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 23:09:39.617 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [user=] [2025/04/05 23:09:39.625 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:39.685 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:39.705 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:39.720 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:39.720 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:39.823 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:39.824 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:39.826 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/05 23:09:39.834 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:39.837 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:39.837 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:39.837 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=79.193µs] [2025/04/05 23:09:39.837 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=188.698µs] [] [2025/04/05 23:09:39.837 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:39.837 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:39.881 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:39.901 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 23:09:39.901 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:39.908 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:39.908 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:39.909 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:39.909 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:39.909 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:39.909 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:39.909 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:39.909 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:39.910 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:39.910 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:39.923 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:39.925 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:39.925 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:39.925 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:39.925 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/05 23:09:39.925 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:39.930 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/05 23:09:39.946 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [2025/04/05 23:09:39.946 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [2025/04/05 23:09:39.951 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:39.951 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 23:09:39.956 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:39.956 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 23:09:40.038 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [2025/04/05 23:09:40.040 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [readDur=1.062888ms] [encodeDur=592.258µs] [checksum="{cksum=14407722893173523601,size=206,kvs=4}"] [deliverDur=39.74µs] [type=file] [takeTime=2.042519ms] [] [2025/04/05 23:09:40.041 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 23:09:40.041 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/4/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/9e54a5c6-eeb8-4a79-8aeb-a375e5d642cd.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F728000000000000002] [2025/04/05 23:09:40.116 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [2025/04/05 23:09:40.118 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [readDur=1.013144ms] [encodeDur=205.752µs] [checksum="{cksum=15782324127249246501,size=206,kvs=4}"] [deliverDur=31.772µs] [type=file] [takeTime=1.473214ms] [] [2025/04/05 23:09:40.119 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 23:09:40.119 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/4/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/b0c5d922-f19c-40f4-aa62-19967fdc0fe8.sst] [firstKey=7480000000000000855F728000000000000003] [lastKey=7480000000000000855F728000000000000004] [2025/04/05 23:09:40.171 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [2025/04/05 23:09:40.173 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [readDur=796.925µs] [encodeDur=557.454µs] [checksum="{cksum=12669308623598711748,size=206,kvs=4}"] [deliverDur=30.137µs] [type=file] [takeTime=1.657185ms] [] [2025/04/05 23:09:40.174 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/4/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8542a6ce-40c8-4716-89e4-f3112a723720.sst] [firstKey=7480000000000000855F728000000000000005] [lastKey=7480000000000000855F728000000000000006] [2025/04/05 23:09:40.174 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:40.175 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:40.175 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:40.176 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.850819ms] [] [2025/04/05 23:09:40.177 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:40.181 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:40.204 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 23:09:40.204 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:40.206 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000070000000000fa] [2025/04/05 23:09:40.216 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 23:09:40.218 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.281576ms] [] [2025/04/05 23:09:40.218 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:40.219 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.069313ms] [] [2025/04/05 23:09:40.219 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:40.219 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:40.220 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=396] [count=6] [cost=1.16768ms] [file=/tmp/tidb/import-4000/4/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/123d842b-8f0f-4291-971f-ac4a7a3135f0.sst] [2025/04/05 23:09:40.220 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=396] [kvs=6] [files=1] [sstFileSize=1155] [file=/tmp/tidb/import-4000/4/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/123d842b-8f0f-4291-971f-ac4a7a3135f0.sst] [firstKey=7480000000000000855F698000000000000001017465737431000000FC038000000000000001038000000000000001] [lastKey=7480000000000000855F698000000000000001017465737436000000FC038000000000000006038000000000000006] [2025/04/05 23:09:40.222 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=3.238542ms] [] [2025/04/05 23:09:40.222 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:40.226 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:40.248 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=396] [2025/04/05 23:09:40.248 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:40.249 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f698000000000000001017465737431000000fc038000000000000001038000000000000001] [endOfAllRanges=7480000000000000855f698000000000000001017465737436000000fc03800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff855f698000000000ff0000010174657374ff31000000fc038000ff0000000000010380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff855f698000000000ff0000010174657374ff36000000fc038000ff0000000000060380ff0000000000000600ff0000000000000000f7] [2025/04/05 23:09:40.260 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=396] [kvs=6] [importedSize=396] [importedCount=6] [2025/04/05 23:09:40.262 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=39.099852ms] [] [2025/04/05 23:09:40.262 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:40.263 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=949.233µs] [] [2025/04/05 23:09:40.263 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [takeTime=316.329747ms] [] [2025/04/05 23:09:40.263 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [takeTime=316.49506ms] [] [2025/04/05 23:09:40.327 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:40.328 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:40.330 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:40.330 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:40.358 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:40.360 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:40.360 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:40.397 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:40.403 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 23:09:40.407 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:40.407 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:40.407 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:40.407 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:40.407 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:40.407 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:40.407 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:40.407 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:40.407 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:40.407 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:40.407 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:40.407 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:40.409 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:40.410 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:40.410 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:40.410 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:40.410 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=484.698329ms] [] [2025/04/05 23:09:40.411 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:40.418 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/05 23:09:40.418 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/05 23:09:40.418 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/05 23:09:40.418 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/05 23:09:40.418 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=1.665µs] [] [2025/04/05 23:09:40.418 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:09:40.418 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=1] [size=396] [kvs=6] [checksum=12171121870781005272] [2025/04/05 23:09:40.419 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [checksum="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/05 23:09:40.419 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [weight=30] [2025/04/05 23:09:40.419 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/05 23:09:40.424 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 23:09:40.425 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=1] [checksum=12171121870781005272] [totalKvs=6] [totalBytes=396] [2025/04/05 23:09:40.426 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:40.426 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [local="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/05 23:09:40.426 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=7.54556ms] [] [2025/04/05 23:09:40.426 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=7.681214ms] [] [2025/04/05 23:09:40.426 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [takeTime=7.828846ms] [] [2025/04/05 23:09:40.434 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:40.527 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:40.527 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 23:09:40.530 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 23:09:40.544 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=132.773067ms] [] [2025/04/05 23:09:40.544 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 23:09:40.622 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:40.622 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.004880696\n# Parse_time: 0.000084051\n# Compile_time: 0.000450654\n# Rewrite_time: 0.000089597\n# Optimize_time: 0.000299494\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjk1N25zLCBjbG9zZTo5NjducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjk1N25zLCBjbG9zZTo5NjducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:40.628 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:40.628 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:40.638 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:40.638 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:40.643 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.649 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:40.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=2.680916ms] [gotSchemaVersion=80] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:40.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=80] [2025/04/05 23:09:40.666 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=10.09487ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.604374ms] [gotSchemaVersion=81] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:40.696 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=81] [2025/04/05 23:09:40.698 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=9.997251ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.706 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.713 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/05 23:09:40.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.155268ms] [gotSchemaVersion=82] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:40.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=82] [2025/04/05 23:09:40.734 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=8.674037ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.744 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=135] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/05 23:09:40.748 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2025/04/05 23:09:40.749 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.768 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/05 23:09:40.768 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:40.781 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:40.781 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [2025/04/05 23:09:40.787 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.791 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 136, Table Name: t)"] [2025/04/05 23:09:40.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.683576ms] [gotSchemaVersion=83] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:40.809 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=83] [2025/04/05 23:09:40.811 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=8.353044ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.822 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.833 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 23:09:40.833 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [user=] [2025/04/05 23:09:40.839 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:40.889 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:40.908 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:40.922 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:40.922 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:41.025 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:41.026 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:41.027 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/05 23:09:41.035 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:41.038 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:41.038 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:41.038 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=91.281µs] [2025/04/05 23:09:41.038 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=198.529µs] [] [2025/04/05 23:09:41.039 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:41.039 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:41.072 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:41.092 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 23:09:41.092 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:41.100 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:41.100 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:41.101 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:41.101 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:41.101 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:41.101 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:41.101 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:41.101 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:41.102 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:41.102 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:41.115 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:41.117 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:41.117 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:41.117 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:41.117 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/05 23:09:41.117 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:41.124 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [2025/04/05 23:09:41.125 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [2025/04/05 23:09:41.129 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:41.131 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/05 23:09:41.133 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:41.133 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/05 23:09:41.151 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 23:09:41.175 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [2025/04/05 23:09:41.176 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [readDur=957.649µs] [encodeDur=215.553µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=245.874µs] [type=file] [takeTime=1.816504ms] [] [2025/04/05 23:09:41.178 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/5/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f82cb955-985e-4feb-87fa-027c16c5806f.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/05 23:09:41.178 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/05 23:09:41.241 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [2025/04/05 23:09:41.243 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [readDur=997.063µs] [encodeDur=182.421µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=26.782µs] [type=file] [takeTime=1.506736ms] [] [2025/04/05 23:09:41.244 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/05 23:09:41.244 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/5/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/c12f8e11-703e-491a-b79f-fe429ce611b5.sst] [firstKey=7480000000000000885F728000000000000003] [lastKey=7480000000000000885F728000000000000004] [2025/04/05 23:09:41.317 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [2025/04/05 23:09:41.319 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [readDur=1.004887ms] [encodeDur=529.433µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=27.447µs] [type=file] [takeTime=1.909618ms] [] [2025/04/05 23:09:41.320 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/5/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/94f77a5c-ddcf-45ea-baa8-183268a044c9.sst] [firstKey=7480000000000000885F728000000000000005] [lastKey=7480000000000000885F728000000000000006] [2025/04/05 23:09:41.320 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:41.320 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:41.320 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:41.322 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.032843ms] [] [2025/04/05 23:09:41.322 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:41.327 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:41.348 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 23:09:41.349 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:41.351 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000070000000000fa] [2025/04/05 23:09:41.364 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 23:09:41.366 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=43.911687ms] [] [2025/04/05 23:09:41.366 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:41.368 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.578936ms] [] [2025/04/05 23:09:41.368 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:41.368 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:41.369 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.555818ms] [] [2025/04/05 23:09:41.369 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:41.374 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:41.374 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=4.394537ms] [] [2025/04/05 23:09:41.374 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:41.375 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=959.183µs] [] [2025/04/05 23:09:41.375 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [takeTime=250.534989ms] [] [2025/04/05 23:09:41.376 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [takeTime=251.359654ms] [] [2025/04/05 23:09:41.430 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:41.431 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:41.432 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:41.432 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:41.463 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:41.465 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:41.465 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:41.500 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:41.506 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 23:09:41.509 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:41.509 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:41.509 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:41.509 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:41.509 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:41.509 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:41.510 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:41.510 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:41.510 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:41.509 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:41.510 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:41.510 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:41.512 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:41.512 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:41.512 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:41.512 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:41.512 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=395.056558ms] [] [2025/04/05 23:09:41.514 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:41.521 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=post-process] [2025/04/05 23:09:41.521 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/05 23:09:41.521 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/05 23:09:41.521 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/05 23:09:41.527 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=5.485427ms] [] [2025/04/05 23:09:41.527 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:09:41.527 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:41.527 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [weight=30] [2025/04/05 23:09:41.527 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [concurrency=15] [2025/04/05 23:09:41.529 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 23:09:41.529 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:41.529 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:41.529 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=8.238401ms] [] [2025/04/05 23:09:41.529 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=8.377775ms] [] [2025/04/05 23:09:41.529 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=post-process] [takeTime=8.51301ms] [] [2025/04/05 23:09:41.538 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:41.629 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:41.630 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/05 23:09:41.632 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 23:09:41.650 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=135.847147ms] [] [2025/04/05 23:09:41.650 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 23:09:41.724 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:41.731 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:41.731 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:41.752 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:41.824 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.990683092\n# Parse_time: 0.000096637\n# Compile_time: 0.000456519\n# Rewrite_time: 0.000090951\n# Optimize_time: 0.000366691\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS45bXMsIG9wZW46NjM4bnMsIGNsb3NlOjgzM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS45bXMsIG9wZW46NjM4bnMsIGNsb3NlOjgzM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:41.839 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:41.839 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:41.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.859 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=2.335304ms] [gotSchemaVersion=84] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:41.863 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=84] [2025/04/05 23:09:41.865 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=9.753017ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.874 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.383401ms] [gotSchemaVersion=85] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:41.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=85] [2025/04/05 23:09:41.896 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=9.587034ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.904 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.910 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 136, Old Table Name: t)"] [2025/04/05 23:09:41.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.21418ms] [gotSchemaVersion=86] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:41.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/05 23:09:41.930 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=8.599396ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.939 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[136]"] [comment="drop table: table ID"] [2025/04/05 23:09:41.943 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/05 23:09:41.944 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/05 23:09:41.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=86] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:41.976 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:41.976 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [2025/04/05 23:09:41.981 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:41.986 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t)"] [2025/04/05 23:09:42.002 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.83854ms] [gotSchemaVersion=87] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:42.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=87] [2025/04/05 23:09:42.007 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=9.167198ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.019 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:42.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 23:09:42.033 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [user=] [2025/04/05 23:09:42.039 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:42.090 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:42.108 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:42.122 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:42.122 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:42.225 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:42.226 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:42.227 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/05 23:09:42.234 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:42.237 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:42.237 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:42.237 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=78.803µs] [2025/04/05 23:09:42.237 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=214.017µs] [] [2025/04/05 23:09:42.237 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:42.237 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:42.270 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:42.290 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 23:09:42.291 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:42.299 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:42.299 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:42.299 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:42.299 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:42.300 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:42.300 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:42.300 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:42.300 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:42.300 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:42.300 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:42.313 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:42.315 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:42.315 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:42.315 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:42.315 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/05 23:09:42.315 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:42.323 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [2025/04/05 23:09:42.323 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [2025/04/05 23:09:42.327 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:42.331 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/05 23:09:42.331 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:42.331 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/05 23:09:42.361 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/05 23:09:42.408 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [2025/04/05 23:09:42.411 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [readDur=1.165759ms] [encodeDur=190.805µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=430.443µs] [type=file] [takeTime=2.167757ms] [] [2025/04/05 23:09:42.412 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/05 23:09:42.412 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/6/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8f61f64d-ff22-4401-a1ac-e62b2e29f0b5.sst] [firstKey=74800000000000008B5F728000000000000001] [lastKey=74800000000000008B5F728000000000000002] [2025/04/05 23:09:42.558 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [2025/04/05 23:09:42.560 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [readDur=890.854µs] [encodeDur=624.359µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=33.576µs] [type=file] [takeTime=1.923737ms] [] [2025/04/05 23:09:42.561 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/05 23:09:42.561 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/6/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/5e09fa5c-2f9f-4e67-b9f0-f01c7e2cad69.sst] [firstKey=74800000000000008B5F728000000000000003] [lastKey=74800000000000008B5F728000000000000004] [2025/04/05 23:09:42.626 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [2025/04/05 23:09:42.628 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [readDur=1.025527ms] [encodeDur=548.744µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=27.089µs] [type=file] [takeTime=2.019127ms] [] [2025/04/05 23:09:42.629 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/6/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f022b630-4795-41bd-a198-513e083f2aa6.sst] [firstKey=74800000000000008B5F728000000000000005] [lastKey=74800000000000008B5F728000000000000006] [2025/04/05 23:09:42.629 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:42.629 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:42.629 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:42.631 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.116646ms] [] [2025/04/05 23:09:42.631 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:42.635 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:42.658 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 23:09:42.658 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:42.659 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008b5f728000000000000001] [endOfAllRanges=74800000000000008b5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff8b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff8b5f728000000000ff0000070000000000fa] [2025/04/05 23:09:42.672 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 23:09:42.673 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=42.291436ms] [] [2025/04/05 23:09:42.673 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:42.675 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.583117ms] [] [2025/04/05 23:09:42.675 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:42.675 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:42.677 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.711342ms] [] [2025/04/05 23:09:42.677 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:42.681 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:42.681 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.734373ms] [] [2025/04/05 23:09:42.681 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:42.682 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.115769ms] [] [2025/04/05 23:09:42.682 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [takeTime=358.989382ms] [] [2025/04/05 23:09:42.682 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [takeTime=359.146343ms] [] [2025/04/05 23:09:42.730 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:42.732 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:42.733 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:42.733 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:42.766 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:42.768 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:42.768 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:42.804 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:42.811 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 23:09:42.813 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:42.813 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:42.814 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:42.814 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:42.814 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:42.814 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:42.814 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:42.814 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:42.814 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:42.814 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:42.814 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:42.814 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:42.816 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:42.816 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:42.816 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:42.816 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:42.816 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=500.588519ms] [] [2025/04/05 23:09:42.817 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:42.824 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [2025/04/05 23:09:42.825 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/05 23:09:42.825 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/05 23:09:42.825 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/05 23:09:42.831 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=5.692102ms] [] [2025/04/05 23:09:42.831 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:09:42.831 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:42.831 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [weight=30] [2025/04/05 23:09:42.831 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [concurrency=15] [2025/04/05 23:09:42.833 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=139] [physicalTableID=139] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 23:09:42.833 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:42.833 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:42.833 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=8.36094ms] [] [2025/04/05 23:09:42.833 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=8.532315ms] [] [2025/04/05 23:09:42.833 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [takeTime=8.682812ms] [] [2025/04/05 23:09:42.858 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:42.930 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:42.930 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/05 23:09:42.933 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/05 23:09:42.954 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=136.258337ms] [] [2025/04/05 23:09:42.954 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 23:09:43.025 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:43.027 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993862417\n# Parse_time: 0.000196551\n# Compile_time: 0.000518122\n# Rewrite_time: 0.000119372\n# Optimize_time: 0.000281507\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi45bXMsIG9wZW46NjcwbnMsIGNsb3NlOjgxNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi45bXMsIG9wZW46NjcwbnMsIGNsb3NlOjgxNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:43.031 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:43.031 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:43.043 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:43.043 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:43.048 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.054 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:43.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=2.165814ms] [gotSchemaVersion=88] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:43.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=88] [2025/04/05 23:09:43.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=9.200847ms] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.3898ms] [gotSchemaVersion=89] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:43.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=89] [2025/04/05 23:09:43.099 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=9.27499ms] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.108 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.114 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 139, Old Table Name: t)"] [2025/04/05 23:09:43.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.112289ms] [gotSchemaVersion=90] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:43.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=90] [2025/04/05 23:09:43.133 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=8.036779ms] [job="ID:141, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.142 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=141] [tableIDs="[139]"] [comment="drop table: table ID"] [2025/04/05 23:09:43.146 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=141] [jobType="drop table"] [2025/04/05 23:09:43.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.164 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/05 23:09:43.164 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=90] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:43.177 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:43.177 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [2025/04/05 23:09:43.183 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.188 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 142, Table Name: t)"] [2025/04/05 23:09:43.204 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.916313ms] [gotSchemaVersion=91] [phyTblIDs="[142]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:43.207 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=91] [2025/04/05 23:09:43.208 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=8.818523ms] [job="ID:143, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:43.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.220 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:43.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:43.232 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/05 23:09:43.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [user=] [2025/04/05 23:09:43.238 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:43.286 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:43.305 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:43.320 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:43.320 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:43.422 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:43.424 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:43.425 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/05 23:09:43.433 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:43.435 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:43.435 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:43.435 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=77.07µs] [2025/04/05 23:09:43.435 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=207.837µs] [] [2025/04/05 23:09:43.436 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:43.436 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:43.471 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:43.491 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 23:09:43.491 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:43.499 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:43.499 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:43.499 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:43.500 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:43.500 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:43.500 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:43.500 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:43.500 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:43.500 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:43.500 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:43.512 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:43.514 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:43.514 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:43.514 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:43.514 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/05 23:09:43.515 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:43.522 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [2025/04/05 23:09:43.522 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [2025/04/05 23:09:43.526 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:43.528 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/05 23:09:43.529 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:43.529 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/05 23:09:43.548 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/05 23:09:43.665 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [2025/04/05 23:09:43.667 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [readDur=897.607µs] [encodeDur=583.372µs] [checksum="{cksum=6438872994288898047,size=96,kvs=2}"] [deliverDur=27.523µs] [type=file] [takeTime=1.770126ms] [] [2025/04/05 23:09:43.668 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/05 23:09:43.668 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=1018] [file=/tmp/tidb/import-4000/7/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/97917e14-c8cb-47cd-afcd-8ca966d9aa60.sst] [firstKey=74800000000000008E5F72017465737431000000FC03800000000000000B] [lastKey=74800000000000008E5F72017465737432000000FC038000000000000016] [2025/04/05 23:09:43.748 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [2025/04/05 23:09:43.750 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [readDur=1.064701ms] [encodeDur=279.402µs] [checksum="{cksum=1050029282737908383,size=96,kvs=2}"] [deliverDur=24.312µs] [type=file] [takeTime=1.594229ms] [] [2025/04/05 23:09:43.751 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/05 23:09:43.751 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=1019] [file=/tmp/tidb/import-4000/7/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/9fc209ed-ac48-4e40-9401-a45494dfd1a8.sst] [firstKey=74800000000000008E5F72017465737433000000FC038000000000000021] [lastKey=74800000000000008E5F72017465737434000000FC03800000000000002C] [2025/04/05 23:09:43.794 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [2025/04/05 23:09:43.795 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [readDur=1.013523ms] [encodeDur=370.626µs] [checksum="{cksum=8773259395275999690,size=96,kvs=2}"] [deliverDur=22.009µs] [type=file] [takeTime=1.591899ms] [] [2025/04/05 23:09:43.796 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=1019] [file=/tmp/tidb/import-4000/7/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/11d0216a-be2c-408a-bbd5-2d226a14bdac.sst] [firstKey=74800000000000008E5F72017465737435000000FC038000000000000037] [lastKey=74800000000000008E5F72017465737436000000FC038000000000000042] [2025/04/05 23:09:43.796 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:43.796 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:43.796 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:43.798 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.074224ms] [] [2025/04/05 23:09:43.798 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:43.803 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:43.825 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/05 23:09:43.825 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:43.827 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008e5f72017465737431000000fc03800000000000000b] [endOfAllRanges=74800000000000008e5f72017465737436000000fc03800000000000004200] [startKeyOfFirstRegion=7480000000000000ff8e5f720174657374ff31000000fc038000ff00000000000b0000fd] [endKeyOfLastRegion=7480000000000000ff8e5f720174657374ff36000000fc038000ff0000000000420000fe] [2025/04/05 23:09:43.838 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/05 23:09:43.839 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=40.648319ms] [] [2025/04/05 23:09:43.839 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:43.841 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.267498ms] [] [2025/04/05 23:09:43.841 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:43.841 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:43.842 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.598376ms] [] [2025/04/05 23:09:43.842 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:43.846 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:43.846 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.356688ms] [] [2025/04/05 23:09:43.846 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:43.847 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=841.074µs] [] [2025/04/05 23:09:43.847 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [takeTime=324.491918ms] [] [2025/04/05 23:09:43.847 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [takeTime=324.62122ms] [] [2025/04/05 23:09:43.927 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:43.929 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:43.930 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:43.930 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:43.959 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:43.961 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:43.961 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:43.980 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:43.987 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 23:09:43.990 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:43.990 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:43.990 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:43.990 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:43.990 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:43.990 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:43.990 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:43.990 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:43.990 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:43.990 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:43.990 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:43.990 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:43.993 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:43.993 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:43.993 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:43.993 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:43.993 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=478.08988ms] [] [2025/04/05 23:09:43.994 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:44.002 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=post-process] [2025/04/05 23:09:44.002 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/05 23:09:44.002 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/05 23:09:44.002 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/05 23:09:44.002 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.464µs] [] [2025/04/05 23:09:44.002 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [groupId=-1] [size=288] [kvs=6] [checksum=3317442229611736234] [2025/04/05 23:09:44.002 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [checksum="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/05 23:09:44.002 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [weight=30] [2025/04/05 23:09:44.002 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [concurrency=15] [2025/04/05 23:09:44.009 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=-1] [checksum=3317442229611736234] [totalKvs=6] [totalBytes=288] [2025/04/05 23:09:44.009 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:44.010 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:44.010 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [local="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/05 23:09:44.010 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=7.917702ms] [] [2025/04/05 23:09:44.010 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=8.039659ms] [] [2025/04/05 23:09:44.010 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=post-process] [takeTime=8.17754ms] [] [2025/04/05 23:09:44.023 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:44.028 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:44.028 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/05 23:09:44.030 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/05 23:09:44.054 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=59.563481ms] [] [2025/04/05 23:09:44.054 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 23:09:44.123 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:44.128 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:44.128 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:44.148 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:44.221 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988682403\n# Parse_time: 0.000093387\n# Compile_time: 0.000507644\n# Rewrite_time: 0.000121336\n# Optimize_time: 0.000299341\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny43bXMsIG9wZW46NzE3bnMsIGNsb3NlOjg1OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny43bXMsIG9wZW46NzE3bnMsIGNsb3NlOjg1OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:44.237 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:44.237 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:44.242 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.258 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=2.544291ms] [gotSchemaVersion=92] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:44.261 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=92] [2025/04/05 23:09:44.263 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=9.625605ms] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.288 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.496441ms] [gotSchemaVersion=93] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:44.292 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=93] [2025/04/05 23:09:44.293 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=9.421767ms] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.308 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 142, Old Table Name: t)"] [2025/04/05 23:09:44.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.167462ms] [gotSchemaVersion=94] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:44.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/05 23:09:44.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=7.992807ms] [job="ID:144, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.337 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=144] [tableIDs="[142]"] [comment="drop table: table ID"] [2025/04/05 23:09:44.341 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="drop table"] [2025/04/05 23:09:44.342 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.360 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/05 23:09:44.360 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=94] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:44.372 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:09:44.372 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:44.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.382 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: t)"] [2025/04/05 23:09:44.397 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.785573ms] [gotSchemaVersion=95] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:44.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/05 23:09:44.402 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=8.745639ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:44.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.413 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:44.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:44.424 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 23:09:44.425 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 23:09:44.430 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:44.476 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:44.495 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:44.507 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/05 23:09:44.507 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:44.610 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:44.611 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:44.612 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/05 23:09:44.620 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:44.623 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:44.623 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:44.623 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=81.697µs] [2025/04/05 23:09:44.623 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=177.255µs] [] [2025/04/05 23:09:44.623 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:44.623 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:44.661 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:44.681 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 23:09:44.681 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:44.689 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:44.689 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:44.689 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:44.690 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:44.690 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:44.690 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:44.690 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:44.690 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:44.690 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:44.690 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:44.703 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:44.705 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:44.705 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:44.705 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:44.705 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=8] [disk-quota=348.5GiB] [2025/04/05 23:09:44.705 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:44.714 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [2025/04/05 23:09:44.714 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [2025/04/05 23:09:44.716 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/05 23:09:44.718 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:44.722 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:44.722 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/05 23:09:44.735 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/05 23:09:44.745 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [2025/04/05 23:09:44.747 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [readDur=804.305µs] [encodeDur=627.552µs] [checksum="{cksum=13837959720985630831,size=82,kvs=2}"] [deliverDur=272.218µs] [type=file] [takeTime=1.9781ms] [] [2025/04/05 23:09:44.749 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/05 23:09:44.749 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/8/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f3c974b4-5ceb-435b-a937-7aa38971120c.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000002] [2025/04/05 23:09:44.774 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [2025/04/05 23:09:44.776 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [readDur=950.408µs] [encodeDur=391.689µs] [checksum="{cksum=7610901642014463118,size=82,kvs=2}"] [deliverDur=222.149µs] [type=file] [takeTime=1.729874ms] [] [2025/04/05 23:09:44.776 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/05 23:09:44.776 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/8/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/43c2ccf2-34ac-4f6c-b779-c48ae2c296be.sst] [firstKey=7480000000000000915F728000000000000008] [lastKey=7480000000000000915F728000000000000009] [2025/04/05 23:09:44.789 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [2025/04/05 23:09:44.791 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [readDur=948.598µs] [encodeDur=602.995µs] [checksum="{cksum=9673548632033812539,size=82,kvs=2}"] [deliverDur=251.634µs] [type=file] [takeTime=2.007856ms] [] [2025/04/05 23:09:44.792 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/8/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/3e10d8e3-cdf8-4342-b936-be0b94918d5c.sst] [firstKey=7480000000000000915F72800000000000000F] [lastKey=7480000000000000915F728000000000000010] [2025/04/05 23:09:44.792 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 23:09:44.792 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 23:09:44.792 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:44.794 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.019694ms] [] [2025/04/05 23:09:44.794 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:44.799 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:44.820 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:44.821 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:44.822 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000110000000000fa] [2025/04/05 23:09:44.834 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:44.836 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.6434ms] [] [2025/04/05 23:09:44.836 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:44.837 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.172082ms] [] [2025/04/05 23:09:44.837 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 23:09:44.837 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:44.839 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.589738ms] [] [2025/04/05 23:09:44.839 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:44.843 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:44.843 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.603785ms] [] [2025/04/05 23:09:44.843 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:44.844 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=874.313µs] [] [2025/04/05 23:09:44.844 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [takeTime=129.889713ms] [] [2025/04/05 23:09:44.844 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [takeTime=130.024442ms] [] [2025/04/05 23:09:44.914 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:44.916 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:44.917 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:44.917 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:44.948 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:44.949 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:44.950 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:44.979 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:44.985 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 23:09:44.988 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:44.988 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:44.988 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:44.988 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:44.988 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:44.988 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:44.988 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:44.988 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:44.988 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:44.988 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:44.988 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:44.988 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:44.991 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:44.991 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:44.991 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:44.991 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:44.991 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=285.769104ms] [] [2025/04/05 23:09:44.993 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:45.000 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=post-process] [2025/04/05 23:09:45.000 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/05 23:09:45.000 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/05 23:09:45.000 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/05 23:09:45.006 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=6.009513ms] [] [2025/04/05 23:09:45.006 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [groupId=-1] [size=246] [kvs=6] [checksum=3434641841828523226] [2025/04/05 23:09:45.006 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [checksum="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/05 23:09:45.006 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [weight=30] [2025/04/05 23:09:45.006 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [concurrency=15] [2025/04/05 23:09:45.008 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=3434641841828523226] [totalKvs=6] [totalBytes=246] [2025/04/05 23:09:45.008 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:45.008 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [local="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/05 23:09:45.008 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=8.527844ms] [] [2025/04/05 23:09:45.008 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=8.676576ms] [] [2025/04/05 23:09:45.008 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=post-process] [takeTime=8.834068ms] [] [2025/04/05 23:09:45.018 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:45.115 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:45.115 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/05 23:09:45.118 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/05 23:09:45.150 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=157.533915ms] [] [2025/04/05 23:09:45.150 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/05 23:09:45.210 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/05 23:09:45.215 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:45.216 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/05 23:09:45.237 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:45.412 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.986629072\n# Parse_time: 0.000128138\n# Compile_time: 0.000521434\n# Rewrite_time: 0.000117295\n# Optimize_time: 0.000310999\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 0c20fa95369ef6c6356c8d0d539210819a261fab936f1e19a6481337f4a39bb0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS43bXMsIG9wZW46NzY3bnMsIGNsb3NlOjgwMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS43bXMsIG9wZW46NzY3bnMsIGNsb3NlOjgwMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:45.425 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:45.425 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:45.430 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.445 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.10629ms] [gotSchemaVersion=96] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:45.448 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=96] [2025/04/05 23:09:45.450 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=8.705336ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.193613ms] [gotSchemaVersion=97] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:45.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=97] [2025/04/05 23:09:45.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=8.80691ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.486 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.492 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 145, Old Table Name: t)"] [2025/04/05 23:09:45.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.058397ms] [gotSchemaVersion=98] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:45.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=98] [2025/04/05 23:09:45.511 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=8.288581ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.521 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=147] [tableIDs="[145]"] [comment="drop table: table ID"] [2025/04/05 23:09:45.525 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2025/04/05 23:09:45.526 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.544 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=147] [2025/04/05 23:09:45.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=98] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:45.557 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:45.557 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [2025/04/05 23:09:45.563 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.568 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 148, Table Name: t)"] [2025/04/05 23:09:45.584 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.844536ms] [gotSchemaVersion=99] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:45.587 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/05 23:09:45.589 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=8.617453ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:45.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.600 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:45.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:45.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/05 23:09:45.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/05 23:09:45.618 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:45.665 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `d`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:45.686 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=9] [task-id=9] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:45.701 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=9] [2025/04/05 23:09:45.701 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:45.804 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:45.805 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:45.807 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [2025/04/05 23:09:45.815 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:45.818 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:45.818 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:45.818 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=105.017µs] [2025/04/05 23:09:45.818 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=247.332µs] [] [2025/04/05 23:09:45.818 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:45.819 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:45.850 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=9] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:45.871 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/05 23:09:45.871 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:45.879 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:45.879 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:45.880 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:45.880 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:45.880 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:45.880 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:45.880 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:45.880 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:45.881 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:45.881 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:45.895 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:45.896 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:45.897 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:45.897 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=9] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:45.897 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=9] [disk-quota=348.5GiB] [2025/04/05 23:09:45.897 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:45.904 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [2025/04/05 23:09:45.904 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [2025/04/05 23:09:45.908 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:45.910 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=9] [mode=Import] [2025/04/05 23:09:45.912 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:45.912 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/05 23:09:45.926 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [2025/04/05 23:09:45.928 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [readDur=970.263µs] [encodeDur=352.16µs] [checksum="{cksum=11510279650924602162,size=82,kvs=2}"] [deliverDur=230.386µs] [type=file] [takeTime=2.015235ms] [] [2025/04/05 23:09:45.929 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/05 23:09:45.929 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/9/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/14c5fc7e-b48b-4171-94e4-ce5c22c11e36.sst] [firstKey=7480000000000000945F728000000000000001] [lastKey=7480000000000000945F728000000000000002] [2025/04/05 23:09:45.931 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=9] [2025/04/05 23:09:45.997 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [2025/04/05 23:09:45.999 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [readDur=869.581µs] [encodeDur=956.139µs] [checksum="{cksum=16401860098335995135,size=82,kvs=2}"] [deliverDur=268.913µs] [type=file] [takeTime=2.297138ms] [] [2025/04/05 23:09:46.000 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/05 23:09:46.000 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/9/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/824ea97d-abff-428a-b49d-8dfef428d5d4.sst] [firstKey=7480000000000000945F728000000000000006] [lastKey=7480000000000000945F728000000000000007] [2025/04/05 23:09:46.002 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [2025/04/05 23:09:46.004 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [readDur=853.527µs] [encodeDur=505.645µs] [checksum="{cksum=17104710824714968226,size=82,kvs=2}"] [deliverDur=243.627µs] [type=file] [takeTime=1.828463ms] [] [2025/04/05 23:09:46.004 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/9/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/4761a5eb-2852-49dd-9f78-858fb77b1622.sst] [firstKey=7480000000000000945F72800000000000000B] [lastKey=7480000000000000945F72800000000000000C] [2025/04/05 23:09:46.004 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/05 23:09:46.005 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/05 23:09:46.005 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:46.007 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.973723ms] [] [2025/04/05 23:09:46.007 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:46.011 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:46.033 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:46.033 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:46.035 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000945f728000000000000001] [endOfAllRanges=7480000000000000945f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff945f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff945f728000000000ff00000d0000000000fa] [2025/04/05 23:09:46.047 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:46.048 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.517318ms] [] [2025/04/05 23:09:46.048 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:46.050 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.248146ms] [] [2025/04/05 23:09:46.050 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/05 23:09:46.050 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:46.051 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.642723ms] [] [2025/04/05 23:09:46.051 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:46.055 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:46.055 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.902775ms] [] [2025/04/05 23:09:46.055 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:46.057 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.035289ms] [] [2025/04/05 23:09:46.057 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [takeTime=152.394392ms] [] [2025/04/05 23:09:46.057 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [takeTime=152.547119ms] [] [2025/04/05 23:09:46.111 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:46.113 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:46.114 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:46.114 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:46.145 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:46.147 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:46.147 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:46.180 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:46.187 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/05 23:09:46.190 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:46.190 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:46.190 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:46.190 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:46.190 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:46.190 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:46.190 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:46.190 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:46.190 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:46.190 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:46.190 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:46.190 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:46.193 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:46.193 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:46.193 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:46.193 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:46.193 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=296.128488ms] [] [2025/04/05 23:09:46.194 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:46.202 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=post-process] [2025/04/05 23:09:46.202 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/05 23:09:46.202 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/05 23:09:46.202 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/05 23:09:46.208 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=5.710453ms] [] [2025/04/05 23:09:46.208 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [groupId=-1] [size=246] [kvs=6] [checksum=10467356601048550255] [2025/04/05 23:09:46.208 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [checksum="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/05 23:09:46.208 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [weight=30] [2025/04/05 23:09:46.208 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [concurrency=15] [2025/04/05 23:09:46.210 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=148] [physicalTableID=148] [indexID=-1] [checksum=10467356601048550255] [totalKvs=6] [totalBytes=246] [2025/04/05 23:09:46.210 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:46.210 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [local="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/05 23:09:46.210 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.54857ms] [] [2025/04/05 23:09:46.210 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.698034ms] [] [2025/04/05 23:09:46.211 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=post-process] [takeTime=8.831267ms] [] [2025/04/05 23:09:46.229 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:46.308 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:46.308 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=9] [step=post-process] [state=running] [] [2025/04/05 23:09:46.311 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=9] [2025/04/05 23:09:46.331 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=136.548794ms] [] [2025/04/05 23:09:46.331 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=9] [type=ImportInto] [2025/04/05 23:09:46.405 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2025/04/05 23:09:46.411 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:46.411 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=9] [2025/04/05 23:09:46.434 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:46.606 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993590601\n# Parse_time: 0.000112665\n# Compile_time: 0.00046979\n# Rewrite_time: 0.000099295\n# Optimize_time: 0.000269514\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: ab42cfd270552c1858f87a1550b5f5accab0738f18639050f3025ce52f1095a8\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi43bXMsIG9wZW46Nzc1bnMsIGNsb3NlOjgzMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi43bXMsIG9wZW46Nzc1bnMsIGNsb3NlOjgzMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`d`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:46.624 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:46.624 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:46.629 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.52514ms] [gotSchemaVersion=100] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:46.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/05 23:09:46.652 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=9.601313ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.661 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.677 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.382178ms] [gotSchemaVersion=101] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:46.680 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/05 23:09:46.681 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=8.896618ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.689 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.695 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 148, Old Table Name: t)"] [2025/04/05 23:09:46.707 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:46.707 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 23:09:46.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:09:46.712 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.051366ms] [gotSchemaVersion=102] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:46.715 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/05 23:09:46.717 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=10.598117ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.726 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[148]"] [comment="drop table: table ID"] [2025/04/05 23:09:46.731 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/05 23:09:46.732 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.752 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 23:09:46.752 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=102] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:46.766 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:46.766 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [2025/04/05 23:09:46.772 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.777 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/05 23:09:46.793 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.861074ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:46.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/05 23:09:46.799 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=8.921471ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:46.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.810 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:46.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:46.822 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 23:09:46.822 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/05 23:09:46.828 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:46.879 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:46.898 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=10] [task-id=10] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:46.912 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=10] [2025/04/05 23:09:46.912 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:47.015 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:47.016 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:47.017 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [2025/04/05 23:09:47.025 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:47.028 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:47.028 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:47.028 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=89.346µs] [2025/04/05 23:09:47.028 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=217.669µs] [] [2025/04/05 23:09:47.028 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:47.028 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:47.072 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:47.092 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/05 23:09:47.092 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:47.101 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:47.101 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:47.101 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:47.102 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:47.102 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:47.102 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:47.102 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:47.102 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:47.102 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:47.102 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:47.115 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:47.117 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:47.117 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:47.117 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=10] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:47.117 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=10] [disk-quota=348.5GiB] [2025/04/05 23:09:47.117 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:47.120 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=10] [mode=Import] [2025/04/05 23:09:47.133 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [2025/04/05 23:09:47.133 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [2025/04/05 23:09:47.137 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:47.139 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=10] [2025/04/05 23:09:47.141 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:47.141 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/05 23:09:47.143 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [2025/04/05 23:09:47.146 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [readDur=991.998µs] [encodeDur=626.3µs] [checksum="{cksum=2180128874604033942,size=96,kvs=2}"] [deliverDur=32.505µs] [type=file] [takeTime=1.991596ms] [] [2025/04/05 23:09:47.146 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/10/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/e6168f92-24d9-413f-8f13-7c95528e064d.sst] [firstKey=7480000000000000975F72800000000000000B] [lastKey=7480000000000000975F728000000000000016] [2025/04/05 23:09:47.146 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/05 23:09:47.185 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [2025/04/05 23:09:47.187 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [readDur=1.071398ms] [encodeDur=619.05µs] [checksum="{cksum=17114733561715978064,size=96,kvs=2}"] [deliverDur=27.246µs] [type=file] [takeTime=1.998658ms] [] [2025/04/05 23:09:47.188 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/05 23:09:47.188 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/10/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/ed6ee266-e9b3-46de-b825-842fa14b33eb.sst] [firstKey=7480000000000000975F728000000000000021] [lastKey=7480000000000000975F72800000000000002C] [2025/04/05 23:09:47.230 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [2025/04/05 23:09:47.232 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [readDur=970.104µs] [encodeDur=281.461µs] [checksum="{cksum=126932759714365300,size=96,kvs=2}"] [deliverDur=30.892µs] [type=file] [takeTime=1.517503ms] [] [2025/04/05 23:09:47.232 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/10/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/daadbfe6-68aa-4b9a-8f59-153fb04b323e.sst] [firstKey=7480000000000000975F728000000000000037] [lastKey=7480000000000000975F728000000000000042] [2025/04/05 23:09:47.233 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/05 23:09:47.233 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/05 23:09:47.233 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:47.235 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.618032ms] [] [2025/04/05 23:09:47.235 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:47.240 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:47.262 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/05 23:09:47.262 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:47.264 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000975f72800000000000000b] [endOfAllRanges=7480000000000000975f728000000000000043] [startKeyOfFirstRegion=7480000000000000ff975f728000000000ff00000b0000000000fa] [endKeyOfLastRegion=7480000000000000ff975f728000000000ff0000430000000000fa] [2025/04/05 23:09:47.277 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/05 23:09:47.279 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=43.206795ms] [] [2025/04/05 23:09:47.279 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:47.280 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.16013ms] [] [2025/04/05 23:09:47.280 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/05 23:09:47.280 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:47.281 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.424392ms] [] [2025/04/05 23:09:47.282 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:47.285 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:47.285 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.63907ms] [] [2025/04/05 23:09:47.285 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:47.286 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=931.688µs] [] [2025/04/05 23:09:47.286 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [takeTime=153.013447ms] [] [2025/04/05 23:09:47.287 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [takeTime=153.157644ms] [] [2025/04/05 23:09:47.319 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:47.321 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:47.322 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:47.322 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:47.428 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:47.431 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:47.431 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:47.468 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:47.474 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/05 23:09:47.478 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:47.478 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:47.478 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:47.478 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:47.478 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:47.478 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:47.478 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:47.478 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:47.478 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:47.478 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:47.478 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:47.478 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:47.481 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:47.482 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:47.482 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:47.482 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:47.482 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=364.337182ms] [] [2025/04/05 23:09:47.483 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:47.491 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=post-process] [2025/04/05 23:09:47.491 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/05 23:09:47.491 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/05 23:09:47.491 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/05 23:09:47.497 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=5.958531ms] [] [2025/04/05 23:09:47.497 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [groupId=-1] [size=288] [kvs=6] [checksum=17437960271832508338] [2025/04/05 23:09:47.497 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [checksum="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/05 23:09:47.497 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [weight=30] [2025/04/05 23:09:47.497 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [concurrency=15] [2025/04/05 23:09:47.499 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=151] [physicalTableID=151] [indexID=-1] [checksum=17437960271832508338] [totalKvs=6] [totalBytes=288] [2025/04/05 23:09:47.500 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:47.500 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [local="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/05 23:09:47.500 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=8.680372ms] [] [2025/04/05 23:09:47.500 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=8.82105ms] [] [2025/04/05 23:09:47.500 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=post-process] [takeTime=8.976248ms] [] [2025/04/05 23:09:47.511 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:47.519 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:47.519 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=10] [step=post-process] [state=running] [] [2025/04/05 23:09:47.522 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=10] [2025/04/05 23:09:47.545 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=61.707012ms] [] [2025/04/05 23:09:47.545 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/05 23:09:47.614 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2025/04/05 23:09:47.621 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:47.621 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=10] [2025/04/05 23:09:47.643 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:47.815 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992625682\n# Parse_time: 0.000191693\n# Compile_time: 0.000517386\n# Rewrite_time: 0.000118236\n# Optimize_time: 0.000286306\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 4a0fe07d939f765134a1b85b431969d9bb6528c6a8167edf81387950de66899e\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS42bXMsIG9wZW46NzQ0bnMsIGNsb3NlOjYwN25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS42bXMsIG9wZW46NzQ0bnMsIGNsb3NlOjYwN25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:47.830 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:47.830 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:47.835 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.852 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.518438ms] [gotSchemaVersion=104] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:47.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=104] [2025/04/05 23:09:47.858 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=10.227067ms] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.868 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=2.696066ms] [gotSchemaVersion=105] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:47.888 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=105] [2025/04/05 23:09:47.890 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=9.794282ms] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.898 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.905 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/05 23:09:47.919 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.120282ms] [gotSchemaVersion=106] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:47.922 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=106] [2025/04/05 23:09:47.924 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=8.078732ms] [job="ID:153, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.934 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/05 23:09:47.938 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop table"] [2025/04/05 23:09:47.939 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.958 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/05 23:09:47.958 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:47.971 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:47.971 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [2025/04/05 23:09:47.976 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:47.981 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 154, Table Name: t)"] [2025/04/05 23:09:47.997 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.984662ms] [gotSchemaVersion=107] [phyTblIDs="[154]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:48.001 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=107] [2025/04/05 23:09:48.003 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=9.853744ms] [job="ID:155, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.014 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:48.026 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 23:09:48.027 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [user=] [2025/04/05 23:09:48.033 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:48.083 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:48.102 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=11] [task-id=11] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:48.123 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=11] [2025/04/05 23:09:48.123 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:48.225 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:48.226 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:48.228 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [2025/04/05 23:09:48.235 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:48.238 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:48.238 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:48.238 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=89.716µs] [2025/04/05 23:09:48.238 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=206.468µs] [] [2025/04/05 23:09:48.238 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:48.238 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:48.272 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=11] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:48.292 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/05 23:09:48.292 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:48.300 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:48.300 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:48.301 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:48.301 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:48.301 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:48.301 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:48.301 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:48.301 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:48.302 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:48.302 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:48.314 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:48.316 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:48.316 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:48.316 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=11] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:48.316 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=11] [disk-quota=348.5GiB] [2025/04/05 23:09:48.316 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:48.324 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [2025/04/05 23:09:48.325 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [2025/04/05 23:09:48.328 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:48.332 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:48.332 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/05 23:09:48.333 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=11] [mode=Import] [2025/04/05 23:09:48.356 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=11] [2025/04/05 23:09:48.399 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [2025/04/05 23:09:48.401 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [readDur=1.064452ms] [encodeDur=319.607µs] [checksum="{cksum=9096151903818431098,size=104,kvs=2}"] [deliverDur=21.543µs] [type=file] [takeTime=1.749283ms] [] [2025/04/05 23:09:48.402 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/05 23:09:48.402 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=104] [kvs=2] [files=1] [sstFileSize=1010] [file=/tmp/tidb/import-4000/11/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/1bd89609-d5e5-4655-a9ba-a5270897c365.sst] [firstKey=74800000000000009A5F728840000000000001] [lastKey=74800000000000009A5F72F8A0000000000002] [2025/04/05 23:09:48.468 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [2025/04/05 23:09:48.470 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [readDur=861.377µs] [encodeDur=664.386µs] [checksum="{cksum=1540599946714846010,size=104,kvs=2}"] [deliverDur=24.372µs] [type=file] [takeTime=1.770941ms] [] [2025/04/05 23:09:48.471 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/05 23:09:48.471 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=104] [kvs=2] [files=1] [sstFileSize=1008] [file=/tmp/tidb/import-4000/11/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/d7d0e66c-6f58-4d74-91e0-9732d65efa1f.sst] [firstKey=74800000000000009A5F728780000000000007] [lastKey=74800000000000009A5F72D700000000000006] [2025/04/05 23:09:48.597 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [2025/04/05 23:09:48.599 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [readDur=1.035644ms] [encodeDur=1.169217ms] [checksum="{cksum=7135556550049781423,size=104,kvs=2}"] [deliverDur=39.251µs] [type=file] [takeTime=2.469456ms] [] [2025/04/05 23:09:48.600 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=104] [kvs=2] [files=1] [sstFileSize=1009] [file=/tmp/tidb/import-4000/11/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/15531fcf-0930-4f00-8a22-fe9c30bfb3d0.sst] [firstKey=74800000000000009A5F72A60000000000000B] [lastKey=74800000000000009A5F72DA6000000000000C] [2025/04/05 23:09:48.601 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/05 23:09:48.601 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/05 23:09:48.601 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:48.604 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.875293ms] [] [2025/04/05 23:09:48.604 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:48.608 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:48.630 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=312] [2025/04/05 23:09:48.630 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:48.632 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009a5f728780000000000007] [endOfAllRanges=74800000000000009a5f72f8a0000000000003] [startKeyOfFirstRegion=7480000000000000ff9a5f728780000000ff0000070000000000fa] [endKeyOfLastRegion=7480000000000000ff9a5f72f8a0000000ff0000030000000000fa] [2025/04/05 23:09:48.643 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=312] [kvs=6] [importedSize=312] [importedCount=6] [2025/04/05 23:09:48.645 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.241313ms] [] [2025/04/05 23:09:48.645 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:48.646 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.084036ms] [] [2025/04/05 23:09:48.646 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/05 23:09:48.646 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:48.648 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.497372ms] [] [2025/04/05 23:09:48.648 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:48.652 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:48.652 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.641513ms] [] [2025/04/05 23:09:48.652 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:48.653 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=944.581µs] [] [2025/04/05 23:09:48.653 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [takeTime=328.187732ms] [] [2025/04/05 23:09:48.653 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [takeTime=328.328321ms] [] [2025/04/05 23:09:48.730 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:48.731 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:48.732 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:48.733 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:48.765 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:48.767 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:48.767 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:48.797 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:48.803 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/05 23:09:48.806 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:48.806 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:48.806 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:48.806 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:48.806 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:48.806 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:48.806 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:48.806 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:48.806 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:48.806 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:48.806 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:48.806 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:48.808 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:48.808 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:48.808 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:48.808 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:48.808 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=491.955362ms] [] [2025/04/05 23:09:48.810 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:48.817 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=post-process] [2025/04/05 23:09:48.817 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/05 23:09:48.817 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/05 23:09:48.817 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/05 23:09:48.823 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=5.415155ms] [] [2025/04/05 23:09:48.823 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [groupId=-1] [size=312] [kvs=6] [checksum=602317331038109679] [2025/04/05 23:09:48.823 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [checksum="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/05 23:09:48.823 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [weight=30] [2025/04/05 23:09:48.823 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [concurrency=15] [2025/04/05 23:09:48.825 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=154] [physicalTableID=154] [indexID=-1] [checksum=602317331038109679] [totalKvs=6] [totalBytes=312] [2025/04/05 23:09:48.825 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:48.825 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [local="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/05 23:09:48.825 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=8.095829ms] [] [2025/04/05 23:09:48.825 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=8.223497ms] [] [2025/04/05 23:09:48.825 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=post-process] [takeTime=8.348947ms] [] [2025/04/05 23:09:48.838 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:48.930 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:48.930 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=11] [step=post-process] [state=running] [] [2025/04/05 23:09:48.933 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=11] [2025/04/05 23:09:48.958 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=148.038003ms] [] [2025/04/05 23:09:48.958 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=11] [type=ImportInto] [2025/04/05 23:09:49.018 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.991449343\n# Parse_time: 0.00021848\n# Compile_time: 0.000561797\n# Rewrite_time: 0.000101952\n# Optimize_time: 0.000262781\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 4a0fe07d939f765134a1b85b431969d9bb6528c6a8167edf81387950de66899e\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC40bXMsIG9wZW46NjY2bnMsIGNsb3NlOjcwN25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MC40bXMsIG9wZW46NjY2bnMsIGNsb3NlOjcwN25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:49.025 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2025/04/05 23:09:49.031 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:49.031 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=11] [2025/04/05 23:09:49.033 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:49.033 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:49.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.053 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:49.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=2.612669ms] [gotSchemaVersion=108] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:49.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=108] [2025/04/05 23:09:49.061 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=9.686462ms] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.071 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.087 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=2.428953ms] [gotSchemaVersion=109] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:49.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=109] [2025/04/05 23:09:49.092 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=9.397005ms] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.100 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.107 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 154, Old Table Name: t)"] [2025/04/05 23:09:49.120 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.160536ms] [gotSchemaVersion=110] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:49.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=110] [2025/04/05 23:09:49.125 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=7.934316ms] [job="ID:156, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.134 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=156] [tableIDs="[154]"] [comment="drop table: table ID"] [2025/04/05 23:09:49.139 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="drop table"] [2025/04/05 23:09:49.140 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.158 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/05 23:09:49.158 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=110] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:49.171 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:49.171 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [2025/04/05 23:09:49.176 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.181 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 157, Table Name: t)"] [2025/04/05 23:09:49.197 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.748892ms] [gotSchemaVersion=111] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:49.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=111] [2025/04/05 23:09:49.202 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=8.447018ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:49.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.214 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:49.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:49.225 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 23:09:49.226 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [user=] [2025/04/05 23:09:49.232 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:49.284 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:49.304 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=12] [task-id=12] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:49.319 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=12] [2025/04/05 23:09:49.319 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:49.422 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:49.423 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:49.424 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [2025/04/05 23:09:49.434 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:49.437 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:49.437 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:49.437 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=110.128µs] [2025/04/05 23:09:49.438 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=237.606µs] [] [2025/04/05 23:09:49.438 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:49.438 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:49.473 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=12] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:49.493 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/05 23:09:49.493 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:49.501 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:49.502 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:49.502 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:49.502 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:49.502 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:49.502 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:49.503 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:49.503 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:49.503 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:49.503 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:49.515 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:49.517 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:49.517 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:49.517 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=12] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:49.518 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:49.518 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=12] [disk-quota=348.5GiB] [2025/04/05 23:09:49.525 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [2025/04/05 23:09:49.525 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [2025/04/05 23:09:49.529 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=12] [mode=Import] [2025/04/05 23:09:49.529 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:49.533 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:49.534 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/05 23:09:49.548 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=12] [2025/04/05 23:09:49.615 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [2025/04/05 23:09:49.618 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [readDur=1.17607ms] [encodeDur=538.248µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=25.288µs] [type=file] [takeTime=2.054436ms] [] [2025/04/05 23:09:49.619 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/05 23:09:49.619 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/12/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/06f595e5-eda8-4e8d-91ca-32d78032e8b9.sst] [firstKey=74800000000000009D5F728000000000000001] [lastKey=74800000000000009D5F728000000000000002] [2025/04/05 23:09:49.661 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [2025/04/05 23:09:49.663 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [readDur=987.211µs] [encodeDur=226.58µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=22.972µs] [type=file] [takeTime=1.502684ms] [] [2025/04/05 23:09:49.664 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/05 23:09:49.664 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/12/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8507a0a7-143c-4a19-9aa5-e1d6ee971504.sst] [firstKey=74800000000000009D5F728000000000000006] [lastKey=74800000000000009D5F728000000000000007] [2025/04/05 23:09:49.713 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [2025/04/05 23:09:49.715 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [readDur=904.754µs] [encodeDur=563.527µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=22.491µs] [type=file] [takeTime=1.749258ms] [] [2025/04/05 23:09:49.716 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/12/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f1af1ef8-db23-4b65-8ca7-68d94f4f5139.sst] [firstKey=74800000000000009D5F72800000000000000B] [lastKey=74800000000000009D5F72800000000000000C] [2025/04/05 23:09:49.716 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/05 23:09:49.716 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/05 23:09:49.716 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:49.718 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.301257ms] [] [2025/04/05 23:09:49.719 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:49.723 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:49.745 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:49.745 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:49.747 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009d5f728000000000000001] [endOfAllRanges=74800000000000009d5f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff9d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9d5f728000000000ff00000d0000000000fa] [2025/04/05 23:09:49.759 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:49.761 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=42.855381ms] [] [2025/04/05 23:09:49.762 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:49.763 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.324003ms] [] [2025/04/05 23:09:49.763 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/05 23:09:49.763 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:49.765 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=2.317289ms] [] [2025/04/05 23:09:49.765 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:49.769 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:49.769 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.88106ms] [] [2025/04/05 23:09:49.769 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:49.770 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=931.244µs] [] [2025/04/05 23:09:49.771 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [takeTime=245.519496ms] [] [2025/04/05 23:09:49.771 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [takeTime=245.650128ms] [] [2025/04/05 23:09:49.827 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:49.828 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:49.829 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:49.829 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:49.859 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:49.861 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:49.861 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:49.890 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:49.897 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/05 23:09:49.900 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:49.900 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:49.900 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:49.900 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:49.900 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:49.900 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:49.900 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:49.900 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:49.900 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:49.900 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:49.900 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:49.900 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:49.902 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:49.903 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:49.903 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:49.903 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:49.903 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=385.040023ms] [] [2025/04/05 23:09:49.904 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:49.912 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [2025/04/05 23:09:49.912 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/05 23:09:49.912 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/05 23:09:49.912 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/05 23:09:49.918 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=5.756521ms] [] [2025/04/05 23:09:49.918 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/05 23:09:49.918 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 23:09:49.918 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [weight=30] [2025/04/05 23:09:49.918 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [concurrency=15] [2025/04/05 23:09:49.920 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=157] [physicalTableID=157] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/05 23:09:49.920 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:49.920 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 23:09:49.921 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.520047ms] [] [2025/04/05 23:09:49.921 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.677396ms] [] [2025/04/05 23:09:49.921 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [takeTime=8.799597ms] [] [2025/04/05 23:09:49.929 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:50.027 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:50.027 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=12] [step=post-process] [state=running] [] [2025/04/05 23:09:50.030 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=12] [2025/04/05 23:09:50.044 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=140.127057ms] [] [2025/04/05 23:09:50.044 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=12] [type=ImportInto] [2025/04/05 23:09:50.121 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2025/04/05 23:09:50.128 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:50.128 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=12] [2025/04/05 23:09:50.151 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:50.221 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995372185\n# Parse_time: 0.000127064\n# Compile_time: 0.000449147\n# Rewrite_time: 0.000097084\n# Optimize_time: 0.000369553\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: f3270b3d4ac347ff792763bdba108394282dd374769c7e26c556d7e9ff20c491\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC41bXMsIG9wZW46NzM4bnMsIGNsb3NlOjg4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC41bXMsIG9wZW46NzM4bnMsIGNsb3NlOjg4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:50.237 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:50.237 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:50.243 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.528882ms] [gotSchemaVersion=112] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:50.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=112] [2025/04/05 23:09:50.266 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=9.859011ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.687985ms] [gotSchemaVersion=113] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:50.297 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=113] [2025/04/05 23:09:50.299 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=10.34845ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.316 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 157, Old Table Name: t)"] [2025/04/05 23:09:50.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.113869ms] [gotSchemaVersion=114] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:50.334 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=114] [2025/04/05 23:09:50.336 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=8.375061ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.346 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=159] [tableIDs="[157]"] [comment="drop table: table ID"] [2025/04/05 23:09:50.351 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2025/04/05 23:09:50.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.372 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/05 23:09:50.372 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=114] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:50.385 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:50.386 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [2025/04/05 23:09:50.392 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.397 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: t)"] [2025/04/05 23:09:50.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.025266ms] [gotSchemaVersion=115] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:50.418 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=115] [2025/04/05 23:09:50.419 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=9.38179ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:50.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.431 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:50.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:50.443 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/05 23:09:50.444 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=115] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [user=] [2025/04/05 23:09:50.450 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:50.502 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:50.524 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=13] [task-id=13] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:50.540 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=13] [2025/04/05 23:09:50.540 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:50.642 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:50.643 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:50.645 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [2025/04/05 23:09:50.653 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:50.655 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:50.656 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:50.656 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=95.364µs] [2025/04/05 23:09:50.656 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=201.941µs] [] [2025/04/05 23:09:50.656 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:50.656 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:50.691 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:50.711 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/05 23:09:50.711 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:50.720 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:50.720 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:50.720 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:50.720 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:50.721 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:50.721 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:50.721 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:50.721 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:50.721 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:50.721 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:50.735 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:50.737 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:50.737 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:50.737 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=13] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:50.737 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=13] [disk-quota=348.5GiB] [2025/04/05 23:09:50.737 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:50.746 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [2025/04/05 23:09:50.746 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [2025/04/05 23:09:50.749 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=13] [mode=Import] [2025/04/05 23:09:50.750 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:50.755 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:50.755 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/05 23:09:50.772 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=13] [2025/04/05 23:09:50.804 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [2025/04/05 23:09:50.806 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [readDur=849.78µs] [encodeDur=523.787µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=311.393µs] [type=file] [takeTime=1.962799ms] [] [2025/04/05 23:09:50.807 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/05 23:09:50.807 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=988] [file=/tmp/tidb/import-4000/13/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/03df794a-cd87-4727-8953-aed176f67a46.sst] [firstKey=7480000000000000A05F728400000000000001] [lastKey=7480000000000000A05F728400000000000002] [2025/04/05 23:09:50.881 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [2025/04/05 23:09:50.883 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [readDur=1.010434ms] [encodeDur=394.993µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=29.501µs] [type=file] [takeTime=1.733781ms] [] [2025/04/05 23:09:50.884 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/05 23:09:50.884 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/13/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/6efda66f-3721-49fa-8c49-b360937cc80d.sst] [firstKey=7480000000000000A05F728000000000000006] [lastKey=7480000000000000A05F728000000000000007] [2025/04/05 23:09:50.989 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [2025/04/05 23:09:50.991 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [readDur=942.509µs] [encodeDur=539.499µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=24.973µs] [type=file] [takeTime=1.714888ms] [] [2025/04/05 23:09:50.992 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=988] [file=/tmp/tidb/import-4000/13/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/b7ab482f-ce41-4ff0-864e-513571d202c5.sst] [firstKey=7480000000000000A05F728C0000000000000B] [lastKey=7480000000000000A05F728C0000000000000C] [2025/04/05 23:09:50.992 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/05 23:09:50.992 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/05 23:09:50.992 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:50.994 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.98279ms] [] [2025/04/05 23:09:50.994 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:50.999 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:51.021 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:51.021 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:51.023 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a05f728000000000000006] [endOfAllRanges=7480000000000000a05f728c0000000000000d] [startKeyOfFirstRegion=7480000000000000ffa05f728000000000ff0000060000000000fa] [endKeyOfLastRegion=7480000000000000ffa05f728c00000000ff00000d0000000000fa] [2025/04/05 23:09:51.034 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:51.036 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.725403ms] [] [2025/04/05 23:09:51.036 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:51.037 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.166357ms] [] [2025/04/05 23:09:51.037 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/05 23:09:51.037 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:51.039 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.610677ms] [] [2025/04/05 23:09:51.039 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:51.043 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:51.043 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.718825ms] [] [2025/04/05 23:09:51.043 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:51.044 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=936.863µs] [] [2025/04/05 23:09:51.044 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [takeTime=298.016736ms] [] [2025/04/05 23:09:51.044 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [takeTime=298.205095ms] [] [2025/04/05 23:09:51.148 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:51.149 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:51.151 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:51.151 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:51.186 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:51.187 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:51.188 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:51.190 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:51.191 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/05 23:09:51.194 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:51.194 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:51.194 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:51.194 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:51.194 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:51.194 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:51.194 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:51.194 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:51.194 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:51.194 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:51.194 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:51.194 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:51.196 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:51.196 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:51.196 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:51.196 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:51.196 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=458.781152ms] [] [2025/04/05 23:09:51.196 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/05 23:09:51.221 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:51.241 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:51.249 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=post-process] [2025/04/05 23:09:51.249 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/05 23:09:51.249 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/05 23:09:51.249 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/05 23:09:51.257 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=7.503557ms] [] [2025/04/05 23:09:51.257 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/05 23:09:51.257 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 23:09:51.257 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [weight=30] [2025/04/05 23:09:51.257 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [concurrency=15] [2025/04/05 23:09:51.263 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=160] [physicalTableID=160] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/05 23:09:51.263 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:51.263 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 23:09:51.264 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=14.453522ms] [] [2025/04/05 23:09:51.264 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=14.582179ms] [] [2025/04/05 23:09:51.264 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=post-process] [takeTime=14.726905ms] [] [2025/04/05 23:09:51.283 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:51.348 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:51.348 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=13] [step=post-process] [state=running] [] [2025/04/05 23:09:51.351 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=13] [2025/04/05 23:09:51.376 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=135.171045ms] [] [2025/04/05 23:09:51.376 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/05 23:09:51.442 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.997487083\n# Parse_time: 0.000130934\n# Compile_time: 0.000502513\n# Rewrite_time: 0.000111696\n# Optimize_time: 0.000307424\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: f3270b3d4ac347ff792763bdba108394282dd374769c7e26c556d7e9ff20c491\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni41bXMsIG9wZW46NzY1bnMsIGNsb3NlOjg5NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni41bXMsIG9wZW46NzY1bnMsIGNsb3NlOjg5NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:51.442 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2025/04/05 23:09:51.450 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:51.450 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=13] [2025/04/05 23:09:51.462 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:51.462 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:51.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.474 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:51.487 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.672226ms] [gotSchemaVersion=116] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:51.491 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=116] [2025/04/05 23:09:51.493 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=10.070241ms] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.503 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.520 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=2.620322ms] [gotSchemaVersion=117] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:51.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=117] [2025/04/05 23:09:51.526 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=9.895545ms] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.541 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 160, Old Table Name: t)"] [2025/04/05 23:09:51.555 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.261247ms] [gotSchemaVersion=118] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:51.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=118] [2025/04/05 23:09:51.560 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=8.488389ms] [job="ID:162, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.571 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=162] [tableIDs="[160]"] [comment="drop table: table ID"] [2025/04/05 23:09:51.576 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=162] [jobType="drop table"] [2025/04/05 23:09:51.577 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/05 23:09:51.595 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=118] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:51.609 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [2025/04/05 23:09:51.609 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:51.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.619 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 163, Table Name: t)"] [2025/04/05 23:09:51.637 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.521452ms] [gotSchemaVersion=119] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:51.640 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/05 23:09:51.642 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=9.844309ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:51.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.654 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:51.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:51.666 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/05 23:09:51.666 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=119] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [user=] [2025/04/05 23:09:51.673 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:51.726 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:51.747 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=14] [task-id=14] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:51.762 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=14] [2025/04/05 23:09:51.762 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:51.865 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:51.868 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:51.869 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [2025/04/05 23:09:51.879 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:51.883 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:51.883 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:51.883 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=130.187µs] [2025/04/05 23:09:51.883 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=246.337µs] [] [2025/04/05 23:09:51.883 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:51.883 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:51.923 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=14] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:51.945 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/05 23:09:51.946 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:51.954 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:51.955 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:51.955 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:51.955 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:51.955 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:51.955 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:51.955 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:51.956 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:51.956 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:51.956 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:51.971 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:51.971 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=14] [mode=Import] [2025/04/05 23:09:51.973 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:51.973 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:51.973 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=14] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:51.973 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=14] [disk-quota=348.5GiB] [2025/04/05 23:09:51.973 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:51.987 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [2025/04/05 23:09:51.987 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [2025/04/05 23:09:51.992 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:51.992 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=14] [2025/04/05 23:09:51.996 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:51.996 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/05 23:09:52.040 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [2025/04/05 23:09:52.042 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [readDur=1.063392ms] [encodeDur=708.078µs] [checksum="{cksum=16213359102171664855,size=82,kvs=2}"] [deliverDur=31.649µs] [type=file] [takeTime=2.180201ms] [] [2025/04/05 23:09:52.043 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/05 23:09:52.043 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/14/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/43c1984b-a028-4a4a-ab7e-bf7161ccccdd.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A65F728000000000000002] [2025/04/05 23:09:52.088 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [2025/04/05 23:09:52.090 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [readDur=1.183752ms] [encodeDur=602.153µs] [checksum="{cksum=14751810491585428438,size=82,kvs=2}"] [deliverDur=24.527µs] [type=file] [takeTime=2.010774ms] [] [2025/04/05 23:09:52.091 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/05 23:09:52.091 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/14/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/9b3dd8f4-b65d-4f60-9eda-e0f17b5a3da0.sst] [firstKey=7480000000000000A75F728000000000000008] [lastKey=7480000000000000A85F728000000000000009] [2025/04/05 23:09:52.128 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [2025/04/05 23:09:52.130 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [readDur=1.181732ms] [encodeDur=691.638µs] [checksum="{cksum=11041058475576731475,size=82,kvs=2}"] [deliverDur=30.721µs] [type=file] [takeTime=2.130007ms] [] [2025/04/05 23:09:52.130 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/14/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/09407b09-0911-4c2a-8cdc-3cb35303cdc7.sst] [firstKey=7480000000000000A45F72800000000000000F] [lastKey=7480000000000000A55F728000000000000010] [2025/04/05 23:09:52.131 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/05 23:09:52.131 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/05 23:09:52.131 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:52.133 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.545096ms] [] [2025/04/05 23:09:52.133 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:52.139 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:52.161 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:52.161 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:52.163 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a45f72800000000000000f] [endOfAllRanges=7480000000000000a85f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffa45f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffa85f728000000000ff00000a0000000000fa] [2025/04/05 23:09:52.176 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:52.177 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=44.01556ms] [] [2025/04/05 23:09:52.178 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:52.179 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.453446ms] [] [2025/04/05 23:09:52.179 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/05 23:09:52.179 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:52.181 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.713038ms] [] [2025/04/05 23:09:52.181 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:52.185 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:52.185 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.924004ms] [] [2025/04/05 23:09:52.185 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:52.186 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.130248ms] [] [2025/04/05 23:09:52.186 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [takeTime=199.167039ms] [] [2025/04/05 23:09:52.186 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [takeTime=199.371603ms] [] [2025/04/05 23:09:52.269 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:52.271 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:52.272 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:52.272 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:52.302 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:52.304 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:52.304 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:52.335 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:52.341 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/05 23:09:52.344 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:52.344 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:52.344 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:52.344 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:52.344 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:52.344 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:52.344 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:52.344 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:52.345 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:52.345 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:52.345 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:52.345 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:52.348 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:52.348 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:52.348 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:52.348 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:52.348 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=374.810443ms] [] [2025/04/05 23:09:52.350 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:52.357 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [2025/04/05 23:09:52.357 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/05 23:09:52.357 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/05 23:09:52.357 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/05 23:09:52.363 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=5.898252ms] [] [2025/04/05 23:09:52.363 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [groupId=-1] [size=246] [kvs=6] [checksum=13006432450665811282] [2025/04/05 23:09:52.363 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [checksum="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/05 23:09:52.364 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [weight=30] [2025/04/05 23:09:52.364 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [concurrency=15] [2025/04/05 23:09:52.365 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=165] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/05 23:09:52.365 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=163] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:52.366 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=164] [indexID=-1] [checksum=14049448901168824011] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:52.366 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=166] [indexID=-1] [checksum=2371675647220738361] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:52.366 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=167] [indexID=-1] [checksum=1988465643996300784] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:52.366 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=168] [indexID=-1] [checksum=15501538953154248230] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:52.367 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:52.367 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [local="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/05 23:09:52.367 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=9.293137ms] [] [2025/04/05 23:09:52.367 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=9.427426ms] [] [2025/04/05 23:09:52.367 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [takeTime=9.560592ms] [] [2025/04/05 23:09:52.376 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:52.470 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:52.470 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=14] [step=post-process] [state=running] [] [2025/04/05 23:09:52.474 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=14] [2025/04/05 23:09:52.488 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=138.349528ms] [] [2025/04/05 23:09:52.488 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=14] [type=ImportInto] [2025/04/05 23:09:52.564 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=14] [2025/04/05 23:09:52.570 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:52.570 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=14] [2025/04/05 23:09:52.591 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:52.662 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995735694\n# Parse_time: 0.000112108\n# Compile_time: 0.000520171\n# Rewrite_time: 0.000097087\n# Optimize_time: 0.000566731\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 0c20fa95369ef6c6356c8d0d539210819a261fab936f1e19a6481337f4a39bb0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC44bXMsIG9wZW46NjU4bnMsIGNsb3NlOjg5Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC44bXMsIG9wZW46NjU4bnMsIGNsb3NlOjg5Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:52.679 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.679 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:52.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=3.399125ms] [gotSchemaVersion=120] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:52.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=120] [2025/04/05 23:09:52.707 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=10.962316ms] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=3.198003ms] [gotSchemaVersion=121] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:52.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=121] [2025/04/05 23:09:52.739 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=10.528745ms] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.748 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.755 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 163, Old Table Name: t)"] [2025/04/05 23:09:52.772 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.335785ms] [gotSchemaVersion=122] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:52.775 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=122] [2025/04/05 23:09:52.777 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=8.623305ms] [job="ID:170, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.787 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[164,165,166,167,168]"] [comment="drop table: partition table IDs"] [2025/04/05 23:09:52.793 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[163]"] [comment="drop table: table ID"] [2025/04/05 23:09:52.797 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=170] [jobType="drop table"] [2025/04/05 23:09:52.798 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 23:09:52.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=122] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:52.832 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:52.832 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [2025/04/05 23:09:52.838 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.843 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/05 23:09:52.861 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.390425ms] [gotSchemaVersion=123] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:52.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=123] [2025/04/05 23:09:52.866 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=9.361086ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:52.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.878 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:52.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:52.890 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/05 23:09:52.890 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [user=] [2025/04/05 23:09:52.896 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:52.941 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:52.961 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=15] [task-id=15] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:52.975 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=15] [2025/04/05 23:09:52.975 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:53.078 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:53.079 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:53.081 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [2025/04/05 23:09:53.089 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:53.092 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:53.092 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 23:09:53.092 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=89.647µs] [2025/04/05 23:09:53.092 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=207.807µs] [] [2025/04/05 23:09:53.092 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:53.092 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:53.131 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=15] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:53.153 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/05 23:09:53.153 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:53.161 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:53.161 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:53.162 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:53.162 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:53.162 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:53.162 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:53.162 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:53.162 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:53.163 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:53.163 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:53.175 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:53.177 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:53.177 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:53.177 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=15] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:53.177 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=15] [disk-quota=348.5GiB] [2025/04/05 23:09:53.177 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:53.185 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=15] [mode=Import] [2025/04/05 23:09:53.185 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [2025/04/05 23:09:53.185 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [2025/04/05 23:09:53.189 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:53.193 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:53.193 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/05 23:09:53.204 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=15] [2025/04/05 23:09:53.225 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [2025/04/05 23:09:53.227 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [readDur=878.574µs] [encodeDur=621.966µs] [checksum="{cksum=1662318414680892248,size=176,kvs=4}"] [deliverDur=37.089µs] [type=file] [takeTime=1.759461ms] [] [2025/04/05 23:09:53.228 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/05 23:09:53.229 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/15/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/70017dac-69f6-4fd6-81c3-1027e97f6cda.sst] [firstKey=7480000000000000AD5F728000000000000001] [lastKey=7480000000000000AE5F728000000000000002] [2025/04/05 23:09:53.252 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [2025/04/05 23:09:53.254 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [readDur=985.749µs] [encodeDur=416.457µs] [checksum="{cksum=4412110495057608976,size=176,kvs=4}"] [deliverDur=41.216µs] [type=file] [takeTime=1.709153ms] [] [2025/04/05 23:09:53.255 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/05 23:09:53.255 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/15/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/d6e31319-bf05-409f-b04e-36f6f79848ce.sst] [firstKey=7480000000000000AF5F728000000000000008] [lastKey=7480000000000000B05F728000000000000009] [2025/04/05 23:09:53.278 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [2025/04/05 23:09:53.279 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [readDur=816.463µs] [encodeDur=161.2µs] [checksum="{cksum=7701721142981934355,size=176,kvs=4}"] [deliverDur=35.133µs] [type=file] [takeTime=1.206568ms] [] [2025/04/05 23:09:53.281 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/15/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8a558cd0-9b93-4092-a90c-cb614d499897.sst] [firstKey=7480000000000000AC5F72800000000000000F] [lastKey=7480000000000000AD5F728000000000000010] [2025/04/05 23:09:53.281 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/05 23:09:53.281 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/05 23:09:53.281 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:53.284 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.562106ms] [] [2025/04/05 23:09:53.284 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:09:53.288 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:53.310 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 23:09:53.310 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:53.312 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ac5f72800000000000000f] [endOfAllRanges=7480000000000000b05f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffac5f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff00000a0000000000fa] [2025/04/05 23:09:53.323 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 23:09:53.325 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=40.997586ms] [] [2025/04/05 23:09:53.325 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:09:53.326 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.183688ms] [] [2025/04/05 23:09:53.326 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/05 23:09:53.326 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:53.327 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=282] [count=6] [cost=1.137202ms] [file=/tmp/tidb/import-4000/15/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/5d5be249-29cb-4cfc-8646-fdfdaf2048f2.sst] [2025/04/05 23:09:53.327 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=282] [kvs=6] [files=1] [sstFileSize=1065] [file=/tmp/tidb/import-4000/15/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/5d5be249-29cb-4cfc-8646-fdfdaf2048f2.sst] [firstKey=7480000000000000AB5F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000000AB5F698000000000000001038000000000000006038000000000000010] [2025/04/05 23:09:53.330 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=3.432501ms] [] [2025/04/05 23:09:53.330 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:09:53.334 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:53.355 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=282] [2025/04/05 23:09:53.355 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:53.357 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ab5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000ab5f69800000000000000103800000000000000603800000000000001000] [startKeyOfFirstRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000603800000ff0000000010000000fd] [2025/04/05 23:09:53.367 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=282] [kvs=6] [importedSize=282] [importedCount=6] [2025/04/05 23:09:53.369 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=39.062256ms] [] [2025/04/05 23:09:53.369 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:09:53.370 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.101242ms] [] [2025/04/05 23:09:53.370 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [takeTime=185.113595ms] [] [2025/04/05 23:09:53.370 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [takeTime=185.268199ms] [] [2025/04/05 23:09:53.382 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:53.384 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:53.386 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:53.386 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:53.414 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:53.417 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:53.417 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:53.454 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:53.460 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/05 23:09:53.465 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:53.465 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:53.465 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:53.465 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:53.465 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:53.465 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:53.466 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:53.466 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:53.465 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:53.466 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:53.466 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:53.466 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:53.468 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:53.468 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:53.468 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:53.468 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:53.468 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=290.784067ms] [] [2025/04/05 23:09:53.470 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:53.480 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=post-process] [2025/04/05 23:09:53.480 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/05 23:09:53.480 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/05 23:09:53.480 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/05 23:09:53.487 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=6.898652ms] [] [2025/04/05 23:09:53.487 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=-1] [size=246] [kvs=6] [checksum=15435699723023344983] [2025/04/05 23:09:53.487 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=1] [size=282] [kvs=6] [checksum=10880652011295013388] [2025/04/05 23:09:53.487 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [checksum="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/05 23:09:53.487 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [weight=30] [2025/04/05 23:09:53.487 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [concurrency=15] [2025/04/05 23:09:53.493 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:53.493 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:53.494 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=-1] [checksum=4237504610754446731] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:53.494 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/05 23:09:53.494 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:53.494 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=-1] [checksum=15627185901153243769] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:53.495 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:53.495 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=-1] [checksum=16406466517589687984] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:53.495 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=1] [checksum=10880652011295013388] [totalKvs=6] [totalBytes=282] [2025/04/05 23:09:53.495 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:53.495 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 23:09:53.495 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=-1] [checksum=5593806493376572771] [totalKvs=1] [totalBytes=41] [2025/04/05 23:09:53.496 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:53.496 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [local="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/05 23:09:53.496 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.859747ms] [] [2025/04/05 23:09:53.496 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=16.021656ms] [] [2025/04/05 23:09:53.496 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=post-process] [takeTime=16.17294ms] [] [2025/04/05 23:09:53.514 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:53.583 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:53.583 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=15] [step=post-process] [state=running] [] [2025/04/05 23:09:53.586 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=15] [2025/04/05 23:09:53.614 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=143.648395ms] [] [2025/04/05 23:09:53.614 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=15] [type=ImportInto] [2025/04/05 23:09:53.678 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=15] [2025/04/05 23:09:53.684 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:53.684 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=15] [2025/04/05 23:09:53.706 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:53.878 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.987537881\n# Parse_time: 0.000103615\n# Compile_time: 0.00044511\n# Rewrite_time: 0.000080155\n# Optimize_time: 0.000352217\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 0c20fa95369ef6c6356c8d0d539210819a261fab936f1e19a6481337f4a39bb0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni43bXMsIG9wZW46NjQ4bnMsIGNsb3NlOjgzMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni43bXMsIG9wZW46NjQ4bnMsIGNsb3NlOjgzMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestBasicImportInto (17.46s) === NAME TestImportInto === RUN TestImportInto/TestCancelJob [2025/04/05 23:09:53.887 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="drop database if exists test_cancel_job"] [user=] [2025/04/05 23:09:53.899 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:53.899 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_cancel_job"] [2025/04/05 23:09:53.905 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.919 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=643.186µs] [gotSchemaVersion=124] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:53.922 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=124] [2025/04/05 23:09:53.924 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=7.657358ms] [job="ID:179, Type:create schema, State:done, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.935 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:synced, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.945 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/05 23:09:53.945 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=import_into] [sql="create database test_cancel_job"] [user=] [2025/04/05 23:09:53.958 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:53.958 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 23:09:53.964 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.969 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 180, Table Name: t1)"] [2025/04/05 23:09:53.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.547226ms] [gotSchemaVersion=125] [phyTblIDs="[180]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:53.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=125] [2025/04/05 23:09:53.988 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=8.676808ms] [job="ID:181, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:53.999 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:54.010 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/05 23:09:54.010 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=test_cancel_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=] [2025/04/05 23:09:54.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:54.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/05 23:09:54.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:54.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:54.033 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t2)"] [2025/04/05 23:09:54.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.498554ms] [gotSchemaVersion=126] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:54.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=126] [2025/04/05 23:09:54.051 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=8.561998ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:54.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:54.063 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:54.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:54.074 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 23:09:54.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=] [2025/04/05 23:09:54.170 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job1'@'localhost';"] [user=] [2025/04/05 23:09:54.214 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job1@localhost"] [user=] [2025/04/05 23:09:54.266 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job1'@'localhost'"] [user=] [2025/04/05 23:09:54.326 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job2'@'localhost';"] [user=] [2025/04/05 23:09:54.363 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job2@localhost"] [user=] [2025/04/05 23:09:54.407 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job2'@'localhost'"] [user=] [2025/04/05 23:09:54.409 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:54.409 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8170]Job ID 9999999999 doesn't exist"] [errorVerbose="[executor:8170]Job ID 9999999999 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/executor/importer.GetJob\n\tpkg/executor/importer/job.go:151\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:402\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:09:54.415 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:54.463 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:54.481 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=16] [task-id=16] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:54.494 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=16] [2025/04/05 23:09:54.494 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:54.597 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:54.598 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:54.598 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [2025/04/05 23:09:54.606 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:54.607 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=16] [action="\"cancel\""] [2025/04/05 23:09:54.608 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 23:09:54.608 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 23:09:54.608 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=43.422µs] [2025/04/05 23:09:54.608 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=146.927µs] [] [2025/04/05 23:09:54.608 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:54.608 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:54.697 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/05 23:09:54.698 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/05 23:09:54.802 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=16] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:54.804 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=16] [step=init] [mode=Normal] [2025/04/05 23:09:54.896 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=16] [2025/04/05 23:09:54.902 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:54.902 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=16] [2025/04/05 23:09:54.920 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:54.937 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=16] [action="\"cancel\""] [takeTime=329.748486ms] [] [2025/04/05 23:09:54.937 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_cancel_job1[test_cancel_job1] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.332322819\n# Parse_time: 0.00005659\n# Compile_time: 0.000283426\n# Rewrite_time: 0.000001732\n# Optimize_time: 0.000923979\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test_cancel_job;\ncancel import job 16;"] [2025/04/05 23:09:55.451 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:55.452 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job1\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job1\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 23:09:55.454 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:55.454 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation"] [errorVerbose="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:159\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:450\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job2\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job2\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 23:09:55.457 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:55.457 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 23:09:55.463 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:55.513 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:55.530 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=17] [task-id=17] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:55.542 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=17] [2025/04/05 23:09:55.542 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:55.660 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:55.661 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:55.662 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [2025/04/05 23:09:55.672 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:55.675 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:09:55.675 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 23:09:55.675 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=37.56µs] [2025/04/05 23:09:55.675 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=127.071µs] [] [2025/04/05 23:09:55.675 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:55.675 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:55.710 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:55.731 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/05 23:09:55.731 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:55.739 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:55.740 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:55.740 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:55.740 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:55.741 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:55.741 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:55.741 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:55.741 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:55.741 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:55.741 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:55.751 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=17] [mode=Import] [2025/04/05 23:09:55.755 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:55.757 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:55.757 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/05 23:09:55.757 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=17] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:55.757 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:55.757 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=17] [disk-quota=348.5GiB] [2025/04/05 23:09:55.766 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=import] [2025/04/05 23:09:55.766 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [2025/04/05 23:09:55.771 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/05 23:09:55.771 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=17] [2025/04/05 23:09:55.774 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 23:09:55.775 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=182] [2025/04/05 23:09:55.911 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=182] [key=t.csv:0] [2025/04/05 23:09:55.914 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=182] [key=t.csv:0] [readDur=1.008074ms] [encodeDur=565.885µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=469.246µs] [type=file] [takeTime=2.338551ms] [] [2025/04/05 23:09:55.915 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=961] [file=/tmp/tidb/import-4000/17/53400eb2-f75b-5777-a5ee-cfa50fd4a756.sst/9d175945-e693-4428-a47d-b2bbf2b981b4.sst] [firstKey=7480000000000000B65F728000000000000001] [lastKey=7480000000000000B65F728000000000000002] [2025/04/05 23:09:55.915 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/05 23:09:55.915 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/05 23:09:55.915 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/05 23:09:55.917 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [takeTime=2.563083ms] [] [2025/04/05 23:09:55.918 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [retryCnt=0] [2025/04/05 23:09:55.922 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:55.944 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:09:55.944 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:55.946 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000001] [endOfAllRanges=7480000000000000b65f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000030000000000fa] [2025/04/05 23:09:55.956 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:09:55.958 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [retryCnt=0] [takeTime=40.36228ms] [] [2025/04/05 23:09:55.958 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/05 23:09:55.959 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [takeTime=1.035826ms] [] [2025/04/05 23:09:55.959 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/05 23:09:55.959 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 23:09:55.961 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [takeTime=1.629149ms] [] [2025/04/05 23:09:55.961 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [retryCnt=0] [2025/04/05 23:09:55.964 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 23:09:55.964 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [retryCnt=0] [takeTime=3.537337ms] [] [2025/04/05 23:09:55.965 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 23:09:55.965 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [takeTime=869.3µs] [] [2025/04/05 23:09:55.966 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [takeTime=199.624544ms] [] [2025/04/05 23:09:55.966 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=import] [takeTime=199.794344ms] [] [2025/04/05 23:09:56.049 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:56.050 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:56.051 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:56.051 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:56.084 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:09:56.085 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:56.085 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:09:56.104 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:56.111 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/05 23:09:56.114 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:56.114 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:56.114 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:56.114 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:56.114 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:56.114 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:56.114 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:56.114 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:56.114 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:56.114 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:56.114 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:56.114 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:56.117 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:56.117 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:56.117 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:56.117 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:56.117 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=359.531251ms] [] [2025/04/05 23:09:56.118 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:56.125 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=post-process] [2025/04/05 23:09:56.125 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/05 23:09:56.128 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=17] [action="\"cancel\""] [2025/04/05 23:09:56.143 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=post-process] [new-step=post-process] [2025/04/05 23:09:56.145 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=post-process] [2025/04/05 23:09:56.161 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=17] [2025/04/05 23:09:56.249 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=17] [step=post-process] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:56.250 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [step=post-process] [mode=Normal] [2025/04/05 23:09:56.255 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=17] [2025/04/05 23:09:56.344 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=17] [2025/04/05 23:09:56.350 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:56.351 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=17] [2025/04/05 23:09:56.370 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:56.454 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=17] [action="\"cancel\""] [takeTime=325.327471ms] [] [2025/04/05 23:09:56.454 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_cancel_job2[test_cancel_job2] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.328563702\n# Parse_time: 0.000303991\n# Compile_time: 0.000413914\n# Rewrite_time: 0.000002084\n# Optimize_time: 0.00003712\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncancel import job 17;"] [2025/04/05 23:09:56.636 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/05 23:09:56.636 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/05 23:09:56.636 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=3.812µs] [] [2025/04/05 23:09:56.636 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 23:09:56.636 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:09:56.636 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [weight=30] [2025/04/05 23:09:56.636 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [concurrency=15] [2025/04/05 23:09:56.636 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:56.636 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:56.637 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildChecksumTable\n\tpkg/executor/builder.go:735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:177\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable.func4\n\tpkg/executor/importer/table_import.go:906\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable\n\tpkg/executor/importer/table_import.go:933\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:841\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildChecksumTable\n\tpkg/executor/builder.go:735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:177\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable.func4\n\tpkg/executor/importer/table_import.go:906\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable\n\tpkg/executor/importer/table_import.go:933\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:841\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:56.639 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 23:09:56.640 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:09:56.640 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=4.163341ms] [] [2025/04/05 23:09:56.640 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=514.695853ms] [] [2025/04/05 23:09:56.640 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=post-process] [takeTime=514.80563ms] [] [2025/04/05 23:09:56.642 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:56.645 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:56.645 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvSnapshot).Get\n\tpkg/store/driver/txn/snapshot.go:61\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).get\n\tpkg/executor/point_get.go:698\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).getAndLock\n\tpkg/executor/point_get.go:572\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).Next\n\tpkg/executor/point_get.go:405\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/select.go:719\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).updateRows\n\tpkg/executor/update.go:403\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).Next\n\tpkg/executor/update.go:356\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 23:09:56.645 +00:00] [WARN] [handle.go:229] ["met retryable error"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [retry-count=0] [max-retry=30] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvSnapshot).Get\n\tpkg/store/driver/txn/snapshot.go:61\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).get\n\tpkg/executor/point_get.go:698\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).getAndLock\n\tpkg/executor/point_get.go:572\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).Next\n\tpkg/executor/point_get.go:405\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/select.go:719\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).updateRows\n\tpkg/executor/update.go:403\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).Next\n\tpkg/executor/update.go:356\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343"] [2025/04/05 23:09:56.646 +00:00] [ERROR] [task_executor.go:685] ["failed to finish subtask"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [takes=5.898867ms] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:685\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:56.646 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:56.658 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=540.677622ms] [] [2025/04/05 23:09:56.659 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/05 23:09:57.498 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t2"] [2025/04/05 23:09:57.498 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:57.504 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.511 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 184, Table Name: t2, Old Table ID: 182, Old Table Name: t2)"] [2025/04/05 23:09:57.525 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.779906ms] [gotSchemaVersion=127] [phyTblIDs="[182,184]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:57.528 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=185] [version=127] [2025/04/05 23:09:57.530 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=9.38909ms] [job="ID:185, Type:truncate table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.541 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=185] [tableIDs="[182]"] [comment="truncate table: table ID"] [2025/04/05 23:09:57.546 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=185] [jobType="truncate table"] [2025/04/05 23:09:57.547 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:57.564 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=185] [2025/04/05 23:09:57.565 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="truncate table t2"] [user=root@%] [2025/04/05 23:09:57.571 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:57.619 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:57.637 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=18] [task-id=18] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:57.651 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=18] [2025/04/05 23:09:57.651 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:57.753 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:57.754 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:57.755 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [2025/04/05 23:09:57.757 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=18] [action="\"cancel\""] [2025/04/05 23:09:58.272 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:58.275 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:09:58.275 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 23:09:58.275 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=49.499µs] [2025/04/05 23:09:58.275 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=146.674µs] [] [2025/04/05 23:09:58.275 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:58.275 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:58.290 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/05 23:09:58.292 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/05 23:09:58.359 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=18] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:58.360 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=18] [step=init] [mode=Normal] [2025/04/05 23:09:58.383 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=18] [action="\"cancel\""] [takeTime=625.436078ms] [] [2025/04/05 23:09:58.383 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.627954574\n# Parse_time: 0.000239923\n# Compile_time: 0.00024569\n# Rewrite_time: 0.000001385\n# Optimize_time: 0.000063801\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncancel import job 18;"] --- PASS: TestImportInto/TestCancelJob (4.51s) === NAME TestImportInto === RUN TestImportInto/TestChecksumNotMatch [2025/04/05 23:09:58.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:09:58.409 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:58.409 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:09:58.415 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=779.392µs] [gotSchemaVersion=128] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:58.433 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/05 23:09:58.435 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=8.789228ms] [job="ID:187, Type:create schema, State:done, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.446 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:synced, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.453 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=18] [2025/04/05 23:09:58.455 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 23:09:58.456 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=test_cancel_job] [sql="create database load_data"] [user=root@%] [2025/04/05 23:09:58.458 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:09:58.461 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:58.461 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=18] [2025/04/05 23:09:58.473 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:58.473 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 23:09:58.479 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.481 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:58.484 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/05 23:09:58.501 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.905016ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:58.505 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/05 23:09:58.507 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=9.794214ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:58.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.519 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:58.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:58.531 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/05 23:09:58.532 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:09:58.538 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:58.586 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:58.605 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=19] [task-id=19] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:58.620 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=19] [2025/04/05 23:09:58.620 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:58.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:09:58.722 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:58.723 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:58.725 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [2025/04/05 23:09:58.733 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:58.736 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:58.736 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:58.736 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=56.395µs] [2025/04/05 23:09:58.736 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=179.513µs] [] [2025/04/05 23:09:58.736 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 23:09:58.736 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 23:09:58.772 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=19] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:58.792 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/05 23:09:58.793 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:58.801 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:09:58.801 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:09:58.801 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:58.801 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:58.802 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:58.802 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:58.802 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:58.802 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:58.802 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:58.803 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:58.815 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:58.817 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:58.817 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:58.817 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=19] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:58.817 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=19] [disk-quota=348.5GiB] [2025/04/05 23:09:58.817 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:58.825 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=import] [2025/04/05 23:09:58.825 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [2025/04/05 23:09:58.829 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=19] [mode=Import] [2025/04/05 23:09:58.829 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:09:58.833 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:09:58.833 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/05 23:09:58.849 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=19] [2025/04/05 23:09:58.917 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [2025/04/05 23:09:58.920 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [readDur=1.169693ms] [encodeDur=802.139µs] [checksum="{cksum=9995179725697843932,size=111,kvs=3}"] [deliverDur=1.237067ms] [type=file] [takeTime=3.521667ms] [] [2025/04/05 23:09:58.921 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000002] [2025/04/05 23:09:58.922 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/19/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/a71e0da7-c81c-4799-8d9a-3cc42cdbecf2.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/05 23:09:58.922 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/05 23:09:58.922 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/05 23:09:58.922 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:09:58.924 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.093641ms] [] [2025/04/05 23:09:58.924 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:09:58.929 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:58.950 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/05 23:09:58.951 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:58.952 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000030000000000fa] [2025/04/05 23:09:58.963 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 23:09:58.965 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.652476ms] [] [2025/04/05 23:09:58.965 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:09:58.966 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.019349ms] [] [2025/04/05 23:09:58.966 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/05 23:09:58.966 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:09:58.967 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.453159ms] [] [2025/04/05 23:09:58.967 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:09:58.971 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:09:58.971 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.609055ms] [] [2025/04/05 23:09:58.971 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:09:58.972 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.025491ms] [] [2025/04/05 23:09:58.972 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [takeTime=147.581657ms] [] [2025/04/05 23:09:58.972 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=import] [takeTime=147.729007ms] [] [2025/04/05 23:09:58.995 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [2025/04/05 23:09:58.995 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [2025/04/05 23:09:58.999 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:09:59.002 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:09:59.003 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/05 23:09:59.071 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [2025/04/05 23:09:59.073 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [readDur=1.045341ms] [encodeDur=269.778µs] [checksum="{cksum=10482263666873131380,size=111,kvs=3}"] [deliverDur=36.101µs] [type=file] [takeTime=1.626808ms] [] [2025/04/05 23:09:59.073 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000004] [2025/04/05 23:09:59.074 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/19/790a6a8f-6378-5243-b426-00d5655f2c86.sst/341d0543-df25-42c6-aa52-f2c916dffedd.sst] [firstKey=7480000000000000BC5F728000000000000004] [lastKey=7480000000000000BC5F728000000000000006] [2025/04/05 23:09:59.074 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/05 23:09:59.074 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/05 23:09:59.074 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:09:59.076 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=2.00719ms] [] [2025/04/05 23:09:59.076 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/05 23:09:59.080 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:59.102 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/05 23:09:59.102 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:59.104 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000004] [endOfAllRanges=7480000000000000bc5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000070000000000fa] [2025/04/05 23:09:59.115 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 23:09:59.118 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [takeTime=41.438311ms] [] [2025/04/05 23:09:59.118 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:09:59.119 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.043852ms] [] [2025/04/05 23:09:59.119 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/05 23:09:59.119 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:09:59.120 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=1.524961ms] [] [2025/04/05 23:09:59.120 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/05 23:09:59.124 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:09:59.124 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [takeTime=3.76989ms] [] [2025/04/05 23:09:59.124 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:09:59.125 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=961.328µs] [] [2025/04/05 23:09:59.125 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [takeTime=130.553198ms] [] [2025/04/05 23:09:59.126 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [takeTime=131.4459ms] [] [2025/04/05 23:09:59.228 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:59.229 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:59.230 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:59.230 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:59.259 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:59.260 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:59.260 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:59.271 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:59.271 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/05 23:09:59.276 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:59.276 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:59.276 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:59.276 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:59.276 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:59.276 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:59.276 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:59.276 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:59.276 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:59.276 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:59.276 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:59.276 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:59.278 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:59.278 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:59.278 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:59.278 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:59.278 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=460.834856ms] [] [2025/04/05 23:09:59.278 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=19] [type=ImportInto] [2025/04/05 23:09:59.301 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=19] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:59.321 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:59.329 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=post-process] [2025/04/05 23:09:59.329 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/05 23:09:59.329 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/05 23:09:59.329 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/05 23:09:59.329 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=1.847µs] [] [2025/04/05 23:09:59.329 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:09:59.329 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:09:59.329 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [weight=30] [2025/04/05 23:09:59.329 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [concurrency=15] [2025/04/05 23:09:59.331 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/05 23:09:59.331 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:59.332 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=2.745685ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:59.332 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=3.045332ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:59.332 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=post-process] [takeTime=3.304459ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:59.332 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:59.339 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:59.352 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:59.431 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\\\"}\"]"] [2025/04/05 23:09:59.444 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=122.411091ms] [] [2025/04/05 23:09:59.444 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=19] [type=ImportInto] [2025/04/05 23:09:59.527 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=19] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [2025/04/05 23:09:59.528 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [step=post-process] [mode=Normal] [2025/04/05 23:09:59.534 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=19] [2025/04/05 23:09:59.622 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=19] [2025/04/05 23:09:59.628 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:59.628 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=19] [2025/04/05 23:09:59.649 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:59.820 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=19] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestChecksumNotMatch\n\ttests/realtikvtest/importintotest/import_into_test.go:756\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:09:59.820 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 1.288029095\n# Parse_time: 0.000180668\n# Compile_time: 0.000699863\n# Rewrite_time: 0.000216922\n# Optimize_time: 0.000041837\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 792dd3b0e5ccb0f77c3065e7057034351dbbe01483a733ce648d568dee873a1b\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjEuMjlzLCBvcGVuOjc0Mm5zLCBjbG9zZTo4ODlucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZToxLjI5cywgb3Blbjo3NDJucywgY2xvc2U6ODg5bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/05 23:09:59.836 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:59.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:59.836 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:59.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/05 23:09:59.841 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:59.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:59.848 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 190, Table Name: t, Old Table ID: 188, Old Table Name: t)"] [2025/04/05 23:09:59.863 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.04296ms] [gotSchemaVersion=130] [phyTblIDs="[188,190]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:59.867 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=130] [2025/04/05 23:09:59.869 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=9.423202ms] [job="ID:191, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:59.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:59.879 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[188]"] [comment="truncate table: table ID"] [2025/04/05 23:09:59.883 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="truncate table"] [2025/04/05 23:09:59.884 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:59.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:59.901 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/05 23:09:59.901 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=130] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/05 23:09:59.907 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:59.953 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"off\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:59.973 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=20] [task-id=20] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:59.989 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=20] [2025/04/05 23:09:59.989 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:10:00.092 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:00.093 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:00.094 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [2025/04/05 23:10:00.102 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:00.104 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:00.104 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:10:00.105 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=85.578µs] [2025/04/05 23:10:00.105 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=226.515µs] [] [2025/04/05 23:10:00.105 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 23:10:00.105 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 23:10:00.140 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:00.160 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/05 23:10:00.160 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:00.167 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:00.167 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:00.168 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:00.168 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:00.168 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:00.168 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:00.168 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:00.168 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:00.168 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:00.168 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:00.180 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:00.181 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:00.181 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:00.181 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=20] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:00.181 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=20] [disk-quota=348.5GiB] [2025/04/05 23:10:00.182 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:00.189 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=import] [2025/04/05 23:10:00.189 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [2025/04/05 23:10:00.192 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:10:00.195 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:00.196 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/05 23:10:00.198 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=20] [mode=Import] [2025/04/05 23:10:00.218 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=20] [2025/04/05 23:10:00.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [2025/04/05 23:10:00.262 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [readDur=807.035µs] [encodeDur=322.587µs] [checksum="{cksum=10697545922510015033,size=111,kvs=3}"] [deliverDur=22.661µs] [type=file] [takeTime=1.383189ms] [] [2025/04/05 23:10:00.262 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000004] [2025/04/05 23:10:00.263 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/20/790a6a8f-6378-5243-b426-00d5655f2c86.sst/84d10d34-aee8-4a91-9abe-075d9b45f490.sst] [firstKey=7480000000000000BE5F728000000000000004] [lastKey=7480000000000000BE5F728000000000000006] [2025/04/05 23:10:00.263 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/05 23:10:00.263 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/05 23:10:00.263 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:10:00.265 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.886426ms] [] [2025/04/05 23:10:00.265 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/05 23:10:00.269 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:00.291 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/05 23:10:00.291 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:00.293 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000004] [endOfAllRanges=7480000000000000be5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000070000000000fa] [2025/04/05 23:10:00.303 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 23:10:00.305 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [takeTime=39.829106ms] [] [2025/04/05 23:10:00.305 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:10:00.306 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.002505ms] [] [2025/04/05 23:10:00.306 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/05 23:10:00.306 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:00.307 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=1.346919ms] [] [2025/04/05 23:10:00.307 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/05 23:10:00.311 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:00.311 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [takeTime=3.484253ms] [] [2025/04/05 23:10:00.311 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:00.312 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=814.091µs] [] [2025/04/05 23:10:00.312 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [takeTime=123.240489ms] [] [2025/04/05 23:10:00.312 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=import] [takeTime=123.371568ms] [] [2025/04/05 23:10:00.334 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [2025/04/05 23:10:00.334 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [2025/04/05 23:10:00.337 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:00.340 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:00.340 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/05 23:10:00.407 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [2025/04/05 23:10:00.410 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [readDur=909.387µs] [encodeDur=980.917µs] [checksum="{cksum=10356916929083451793,size=111,kvs=3}"] [deliverDur=27.678µs] [type=file] [takeTime=2.183026ms] [] [2025/04/05 23:10:00.410 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000002] [2025/04/05 23:10:00.411 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/20/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/9338248a-b244-4834-9b78-1eb91812f6bd.sst] [firstKey=7480000000000000BE5F728000000000000001] [lastKey=7480000000000000BE5F728000000000000002] [2025/04/05 23:10:00.411 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/05 23:10:00.411 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/05 23:10:00.411 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:00.413 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.851768ms] [] [2025/04/05 23:10:00.413 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:00.417 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:00.440 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/05 23:10:00.440 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:00.441 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000001] [endOfAllRanges=7480000000000000be5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000030000000000fa] [2025/04/05 23:10:00.453 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 23:10:00.454 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.502925ms] [] [2025/04/05 23:10:00.454 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:00.455 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=976.053µs] [] [2025/04/05 23:10:00.455 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/05 23:10:00.455 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:00.457 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.358532ms] [] [2025/04/05 23:10:00.457 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:00.460 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:00.460 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.538079ms] [] [2025/04/05 23:10:00.460 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:00.461 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=844.054µs] [] [2025/04/05 23:10:00.462 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [takeTime=127.826141ms] [] [2025/04/05 23:10:00.462 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [takeTime=127.966291ms] [] [2025/04/05 23:10:00.496 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:00.497 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:00.499 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:00.499 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:00.528 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:10:00.529 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:00.529 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:10:00.561 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:00.567 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/05 23:10:00.571 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:00.571 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:00.571 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:00.571 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:00.571 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:00.571 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:00.571 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:00.571 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:00.571 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:00.572 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:00.572 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:00.572 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:00.574 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:00.574 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:00.574 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:00.574 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:00.574 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=392.300339ms] [] [2025/04/05 23:10:00.575 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:00.582 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=post-process] [2025/04/05 23:10:00.582 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/05 23:10:00.582 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/05 23:10:00.582 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/05 23:10:00.582 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=1.659µs] [] [2025/04/05 23:10:00.582 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:10:00.582 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=114.9µs] [] [2025/04/05 23:10:00.582 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=231.042µs] [] [2025/04/05 23:10:00.582 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=post-process] [takeTime=348.567µs] [] [2025/04/05 23:10:00.596 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:00.596 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=20] [step=post-process] [state=running] [] [2025/04/05 23:10:00.598 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=20] [2025/04/05 23:10:00.626 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=50.323465ms] [] [2025/04/05 23:10:00.626 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/05 23:10:00.691 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=20] [2025/04/05 23:10:00.696 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:00.696 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=20] [2025/04/05 23:10:00.717 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:00.888 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.98699899\n# Parse_time: 0.000134402\n# Compile_time: 0.00056644\n# Rewrite_time: 0.000162213\n# Optimize_time: 0.000253489\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 37eb0c2891d8d7df11775b4212252fbc2edb74e88044f7a209e41c63a9fbf608\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Nm1zLCBvcGVuOjY2MW5zLCBjbG9zZTo4ODlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4Nm1zLCBvcGVuOjY2MW5zLCBjbG9zZTo4ODlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, checksum_table=_UTF8MB4'off', __max_engine_size=_UTF8MB4'1';"] [2025/04/05 23:10:00.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:00.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/05 23:10:00.913 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:00.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.921 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 192, Table Name: t, Old Table ID: 190, Old Table Name: t)"] [2025/04/05 23:10:00.936 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.791465ms] [gotSchemaVersion=131] [phyTblIDs="[190,192]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:00.940 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=131] [2025/04/05 23:10:00.942 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=8.995297ms] [job="ID:193, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.952 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=193] [tableIDs="[190]"] [comment="truncate table: table ID"] [2025/04/05 23:10:00.956 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=193] [jobType="truncate table"] [2025/04/05 23:10:00.957 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:00.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:00.974 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/05 23:10:00.974 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=131] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/05 23:10:00.980 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:01.026 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"optional\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:01.045 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=21] [task-id=21] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:10:01.059 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=21] [2025/04/05 23:10:01.059 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:10:01.161 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:01.162 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:01.163 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [2025/04/05 23:10:01.171 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:01.173 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:01.173 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:10:01.173 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=77.799µs] [2025/04/05 23:10:01.174 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=204.208µs] [] [2025/04/05 23:10:01.174 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 23:10:01.174 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 23:10:01.210 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=21] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:01.229 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/05 23:10:01.230 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:01.236 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:01.237 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:01.237 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:01.237 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:01.237 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:01.237 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:01.237 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:01.237 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:01.238 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:01.238 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:01.250 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:01.251 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:01.251 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:01.252 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=21] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:01.252 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=21] [disk-quota=348.5GiB] [2025/04/05 23:10:01.252 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:01.258 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=import] [2025/04/05 23:10:01.258 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [2025/04/05 23:10:01.262 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:01.265 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:01.265 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/05 23:10:01.267 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=21] [mode=Import] [2025/04/05 23:10:01.288 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=21] [2025/04/05 23:10:01.329 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [2025/04/05 23:10:01.331 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [readDur=1.123787ms] [encodeDur=131.642µs] [checksum="{cksum=5586236619367349866,size=111,kvs=3}"] [deliverDur=174.434µs] [type=file] [takeTime=1.754341ms] [] [2025/04/05 23:10:01.331 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000002] [2025/04/05 23:10:01.332 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/21/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/5753581a-2185-4514-a7b1-03338d12297f.sst] [firstKey=7480000000000000C05F728000000000000001] [lastKey=7480000000000000C05F728000000000000002] [2025/04/05 23:10:01.332 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/05 23:10:01.332 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/05 23:10:01.332 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:01.334 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.09226ms] [] [2025/04/05 23:10:01.334 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:01.339 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:01.360 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/05 23:10:01.360 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:01.362 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000001] [endOfAllRanges=7480000000000000c05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000030000000000fa] [2025/04/05 23:10:01.372 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 23:10:01.374 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.878226ms] [] [2025/04/05 23:10:01.374 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:01.375 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.138443ms] [] [2025/04/05 23:10:01.375 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/05 23:10:01.375 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:01.377 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.421148ms] [] [2025/04/05 23:10:01.377 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:01.381 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:01.381 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.638306ms] [] [2025/04/05 23:10:01.381 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:01.382 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=975.511µs] [] [2025/04/05 23:10:01.382 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [takeTime=123.508433ms] [] [2025/04/05 23:10:01.382 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=import] [takeTime=123.670033ms] [] [2025/04/05 23:10:01.404 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/05 23:10:01.404 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [2025/04/05 23:10:01.408 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:10:01.411 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:01.411 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/05 23:10:01.442 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [2025/04/05 23:10:01.443 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [readDur=842.597µs] [encodeDur=258.977µs] [checksum="{cksum=6217277421343186370,size=111,kvs=3}"] [deliverDur=24.763µs] [type=file] [takeTime=1.321625ms] [] [2025/04/05 23:10:01.444 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000004] [2025/04/05 23:10:01.444 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=978] [file=/tmp/tidb/import-4000/21/790a6a8f-6378-5243-b426-00d5655f2c86.sst/4f53db01-aac9-4a72-8aaa-60b75310747b.sst] [firstKey=7480000000000000C05F728000000000000004] [lastKey=7480000000000000C05F728000000000000006] [2025/04/05 23:10:01.444 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/05 23:10:01.444 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/05 23:10:01.445 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:10:01.447 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.999965ms] [] [2025/04/05 23:10:01.447 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/05 23:10:01.451 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:01.473 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/05 23:10:01.473 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:01.474 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000004] [endOfAllRanges=7480000000000000c05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000070000000000fa] [2025/04/05 23:10:01.485 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 23:10:01.486 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [takeTime=39.715697ms] [] [2025/04/05 23:10:01.486 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 23:10:01.488 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.086115ms] [] [2025/04/05 23:10:01.488 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/05 23:10:01.488 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:01.489 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=1.358474ms] [] [2025/04/05 23:10:01.489 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/05 23:10:01.493 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:01.493 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [takeTime=3.493829ms] [] [2025/04/05 23:10:01.493 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 23:10:01.494 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=897.018µs] [] [2025/04/05 23:10:01.494 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [takeTime=89.7218ms] [] [2025/04/05 23:10:01.494 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=89.849767ms] [] [2025/04/05 23:10:01.565 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:01.567 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:01.568 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:01.568 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:01.596 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:10:01.598 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:01.598 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:10:01.631 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:01.637 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/05 23:10:01.641 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:01.641 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:01.641 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:01.641 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:01.641 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:01.641 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:01.641 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:01.641 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:01.641 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:01.641 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:01.641 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:01.641 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:01.643 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:01.643 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:01.643 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:01.643 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:01.643 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=391.499036ms] [] [2025/04/05 23:10:01.644 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:01.652 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=post-process] [2025/04/05 23:10:01.652 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/05 23:10:01.652 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/05 23:10:01.652 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/05 23:10:01.652 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.244µs] [] [2025/04/05 23:10:01.652 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 23:10:01.652 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 23:10:01.652 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [weight=30] [2025/04/05 23:10:01.652 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [concurrency=15] [2025/04/05 23:10:01.654 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=192] [physicalTableID=192] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/05 23:10:01.654 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:01.654 +00:00] [WARN] [table_import.go:856] ["verify checksum failed, but checksum is optional, will skip it"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:01.655 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.725596ms] [] [2025/04/05 23:10:01.655 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.845791ms] [] [2025/04/05 23:10:01.655 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=post-process] [takeTime=2.976204ms] [] [2025/04/05 23:10:01.663 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:01.665 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:01.665 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=21] [step=post-process] [state=running] [] [2025/04/05 23:10:01.668 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=21] [2025/04/05 23:10:01.681 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=36.585598ms] [] [2025/04/05 23:10:01.681 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=21] [type=ImportInto] [2025/04/05 23:10:01.761 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=21] [2025/04/05 23:10:01.767 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:01.767 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=21] [2025/04/05 23:10:01.787 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:01.961 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.986163953\n# Parse_time: 0.000140707\n# Compile_time: 0.000602548\n# Rewrite_time: 0.00020685\n# Optimize_time: 0.000250529\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 37eb0c2891d8d7df11775b4212252fbc2edb74e88044f7a209e41c63a9fbf608\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4xbXMsIG9wZW46NjU5bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS4xbXMsIG9wZW46NjU5bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, checksum_table=_UTF8MB4'optional', __max_engine_size=_UTF8MB4'1';"] --- PASS: TestImportInto/TestChecksumNotMatch (3.57s) === NAME TestImportInto === RUN TestImportInto/TestColumnsAndUserVars [2025/04/05 23:10:01.976 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:01.976 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/05 23:10:01.981 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:01.998 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.682479ms] [gotSchemaVersion=132] [phyTblIDs="[192]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:02.001 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=132] [2025/04/05 23:10:02.003 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=8.933697ms] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.013 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.026 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=131.285µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:02.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=133] [2025/04/05 23:10:02.031 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=6.827911ms] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.038 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.043 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:02.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=185.51µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:02.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=134] [2025/04/05 23:10:02.058 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=7.463352ms] [job="ID:194, Type:drop schema, State:done, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.067 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=194] [tableIDs="[192]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:02.072 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop schema"] [2025/04/05 23:10:02.073 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:synced, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.088 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=194] [2025/04/05 23:10:02.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=134] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/05 23:10:02.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/05 23:10:02.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:02.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.118 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=667.725µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:02.121 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=196] [version=135] [2025/04/05 23:10:02.123 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=7.486408ms] [job="ID:196, Type:create schema, State:done, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.133 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:synced, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.143 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=196] [2025/04/05 23:10:02.143 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=135] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/05 23:10:02.156 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:02.156 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [2025/04/05 23:10:02.161 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.166 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 197, Table Name: cols_and_vars)"] [2025/04/05 23:10:02.181 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.710266ms] [gotSchemaVersion=136] [phyTblIDs="[197]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:02.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=198] [version=136] [2025/04/05 23:10:02.186 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=8.813973ms] [job="ID:198, Type:create table, State:done, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:02.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.197 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:synced, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:02.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:02.208 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=198] [2025/04/05 23:10:02.208 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=136] [cur_db=] [sql="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [user=root@%] [2025/04/05 23:10:02.215 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:02.261 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`V1`, @`v2`, @`v3`)\",\"set-clause\":\"`a`=@`V1`, `b`=@`V2`*10, `c`=123\",\"file-location\":\"gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"2\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:02.280 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=22] [task-id=22] [data-size=81B] [thread-cnt=2] [global-sort=false] [2025/04/05 23:10:02.293 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=22] [2025/04/05 23:10:02.293 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=2] [2025/04/05 23:10:02.395 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:02.396 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:02.397 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [2025/04/05 23:10:02.405 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:02.407 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=cols_and_vars] [2025/04/05 23:10:02.407 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=cols_and_vars] [before=536870912000] [after=81] [2025/04/05 23:10:02.407 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=cols_and_vars] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=81] [cost=64.726µs] [2025/04/05 23:10:02.407 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=cols_and_vars] [takeTime=196.138µs] [] [2025/04/05 23:10:02.407 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:02.407 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=2] [subtasks=1] [2025/04/05 23:10:02.440 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=50] [2025/04/05 23:10:02.459 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/05 23:10:02.459 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:02.468 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:02.468 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:02.468 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:02.468 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:02.468 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:02.468 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:02.468 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:02.469 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:02.469 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:02.469 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:02.481 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:02.483 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:02.483 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=cols_and_vars] [quota=374.2GB] [2025/04/05 23:10:02.483 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=22] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:02.483 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [2025/04/05 23:10:02.483 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=cols_and_vars] [import-id=22] [disk-quota=348.5GiB] [2025/04/05 23:10:02.491 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [2025/04/05 23:10:02.491 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [2025/04/05 23:10:02.495 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/05 23:10:02.498 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 23:10:02.498 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/05 23:10:02.498 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/05 23:10:02.501 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=22] [mode=Import] [2025/04/05 23:10:02.520 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [2025/04/05 23:10:02.520 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=22] [2025/04/05 23:10:02.521 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [2025/04/05 23:10:02.522 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [readDur=888.351µs] [encodeDur=285.677µs] [checksum="{cksum=1567370847529678985,size=189,kvs=5}"] [deliverDur=250.078µs] [type=file] [takeTime=1.717578ms] [] [2025/04/05 23:10:02.523 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=189] [kvs=5] [files=1] [sstFileSize=1019] [file=/tmp/tidb/import-4000/22/af694e56-0929-5815-9e99-dfe7bdad9797.sst/e1edc46a-b3c9-4812-bb05-44412707fefb.sst] [firstKey=7480000000000000C55F728000000000000001] [lastKey=7480000000000000C55F728000000000000005] [2025/04/05 23:10:02.523 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [readDur=750.873µs] [encodeDur=608.223µs] [checksum="{cksum=15251348621166951835,size=152,kvs=4}"] [deliverDur=217.169µs] [type=file] [takeTime=1.763691ms] [] [2025/04/05 23:10:02.523 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/05 23:10:02.523 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/05 23:10:02.523 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/05 23:10:02.524 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=152] [kvs=4] [files=1] [sstFileSize=1003] [file=/tmp/tidb/import-4000/22/af694e56-0929-5815-9e99-dfe7bdad9797.sst/cc002de7-370b-49b1-8a94-c067d4f13b65.sst] [firstKey=7480000000000000C55F728000000000000010] [lastKey=7480000000000000C55F728000000000000013] [2025/04/05 23:10:02.526 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [takeTime=2.08411ms] [] [2025/04/05 23:10:02.526 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [retryCnt=0] [2025/04/05 23:10:02.530 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:02.551 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] ["region ranges"=1] [count=9] [size=341] [2025/04/05 23:10:02.552 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:02.553 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c55f728000000000000001] [endOfAllRanges=7480000000000000c55f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffc55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc55f728000000000ff0000140000000000fa] [2025/04/05 23:10:02.582 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] [size=341] [kvs=9] [importedSize=341] [importedCount=9] [2025/04/05 23:10:02.583 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [retryCnt=0] [takeTime=57.783115ms] [] [2025/04/05 23:10:02.584 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/05 23:10:02.585 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [takeTime=1.181413ms] [] [2025/04/05 23:10:02.585 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/05 23:10:02.585 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 23:10:02.586 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [takeTime=1.434486ms] [] [2025/04/05 23:10:02.586 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [retryCnt=0] [2025/04/05 23:10:02.590 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 23:10:02.590 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [retryCnt=0] [takeTime=3.450136ms] [] [2025/04/05 23:10:02.590 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 23:10:02.591 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [takeTime=935.066µs] [] [2025/04/05 23:10:02.591 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [takeTime=100.143658ms] [] [2025/04/05 23:10:02.592 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=101.465665ms] [] [2025/04/05 23:10:02.699 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:02.700 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:02.701 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:02.702 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:02.730 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 23:10:02.731 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:02.731 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=2] [subtasks=1] [2025/04/05 23:10:02.734 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:02.734 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/05 23:10:02.737 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:02.737 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:02.737 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:02.737 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:02.737 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:02.737 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:02.737 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:02.737 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:02.737 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:02.737 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:02.737 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:02.737 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:02.739 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:02.739 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:02.739 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:02.739 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:02.739 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [takeTime=255.990865ms] [] [2025/04/05 23:10:02.739 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/05 23:10:02.760 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=50] [2025/04/05 23:10:02.780 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [2025/04/05 23:10:02.787 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [2025/04/05 23:10:02.787 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/05 23:10:02.787 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/05 23:10:02.787 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/05 23:10:02.792 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=5.614684ms] [] [2025/04/05 23:10:02.792 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [groupId=-1] [size=341] [kvs=9] [checksum=14296615166471800082] [2025/04/05 23:10:02.793 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [checksum="{cksum=14296615166471800082,size=341,kvs=9}"] [2025/04/05 23:10:02.793 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [weight=30] [2025/04/05 23:10:02.793 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [concurrency=15] [2025/04/05 23:10:02.795 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=197] [physicalTableID=197] [indexID=-1] [checksum=14296615166471800082] [totalKvs=9] [totalBytes=341] [2025/04/05 23:10:02.795 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:02.795 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [local="{cksum=14296615166471800082,size=341,kvs=9}"] [2025/04/05 23:10:02.795 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=8.410648ms] [] [2025/04/05 23:10:02.795 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=8.551668ms] [] [2025/04/05 23:10:02.795 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [takeTime=8.67628ms] [] [2025/04/05 23:10:02.808 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:02.899 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:02.899 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=22] [step=post-process] [state=running] [] [2025/04/05 23:10:02.902 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=22] [2025/04/05 23:10:02.929 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [takeTime=149.332635ms] [] [2025/04/05 23:10:02.929 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/05 23:10:02.995 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=22] [2025/04/05 23:10:03.001 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:03.001 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=22] [2025/04/05 23:10:03.022 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:03.198 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.989537861\n# Parse_time: 0.000198423\n# Compile_time: 0.000616295\n# Rewrite_time: 0.000160668\n# Optimize_time: 0.000262289\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 9b2c49e59eb877d4028abf1351d7b38342a350197fa5d09e8d3dc3551e1577ad\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC40bXMsIG9wZW46NzAzbnMsIGNsb3NlOjg0MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC40bXMsIG9wZW46NzAzbnMsIGNsb3NlOjg0MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`cols_and_vars` (@`V1`,@`v2`,@`v3`) SET `a`=@`V1`, `b`=@`V2`*10, `c`=123 FROM 'gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=2;"] --- PASS: TestImportInto/TestColumnsAndUserVars (1.25s) === NAME TestImportInto === RUN TestImportInto/TestDeliverBytesRows [2025/04/05 23:10:03.229 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:03.229 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:10:03.234 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.252 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.734411ms] [gotSchemaVersion=137] [phyTblIDs="[197]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:03.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=137] [2025/04/05 23:10:03.257 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=9.245307ms] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.282 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=173.916µs] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:03.286 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=138] [2025/04/05 23:10:03.287 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=7.851781ms] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.296 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.301 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:03.311 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=130.326µs] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:03.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=139] [2025/04/05 23:10:03.317 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=7.947584ms] [job="ID:199, Type:drop schema, State:done, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.326 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[197]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:03.330 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="drop schema"] [2025/04/05 23:10:03.331 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:synced, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.348 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/05 23:10:03.348 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=139] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:10:03.360 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:10:03.360 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:03.364 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=621.765µs] [gotSchemaVersion=140] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:03.380 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=140] [2025/04/05 23:10:03.382 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=7.471169ms] [job="ID:201, Type:create schema, State:done, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.393 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:synced, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.402 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/05 23:10:03.403 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 23:10:03.405 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:10:03.417 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:03.417 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:10:03.423 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.428 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: t)"] [2025/04/05 23:10:03.444 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=2.097617ms] [gotSchemaVersion=141] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:03.448 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=141] [2025/04/05 23:10:03.450 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=10.083804ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:03.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.461 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:03.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:03.473 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/05 23:10:03.473 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=141] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:10:03.479 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:03.523 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:03.542 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=23] [task-id=23] [data-size=98B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:03.556 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=23] [2025/04/05 23:10:03.556 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:03.659 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:03.660 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:03.661 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [2025/04/05 23:10:03.670 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:03.672 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:03.672 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/05 23:10:03.672 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=50.13µs] [2025/04/05 23:10:03.672 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=136.019µs] [] [2025/04/05 23:10:03.672 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:03.672 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:03.711 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=23] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:03.732 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/05 23:10:03.732 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:03.741 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:03.741 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:03.741 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:03.741 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:03.741 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:03.741 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:03.742 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:03.742 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:03.742 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:03.742 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:03.755 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:03.757 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:03.757 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:03.757 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=23] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:03.757 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=23] [disk-quota=348.5GiB] [2025/04/05 23:10:03.757 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:03.765 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=23] [mode=Import] [2025/04/05 23:10:03.765 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [2025/04/05 23:10:03.766 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [2025/04/05 23:10:03.770 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:03.774 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:03.774 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=202] [2025/04/05 23:10:03.784 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=23] [2025/04/05 23:10:03.788 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [2025/04/05 23:10:03.791 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [readDur=963.658µs] [encodeDur=817.913µs] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [deliverDur=364.558µs] [type=file] [takeTime=2.538663ms] [] [2025/04/05 23:10:03.791 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=369] [kvs=9] [files=1] [sstFileSize=1091] [file=/tmp/tidb/import-4000/23/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/6604cfc4-758e-4543-867f-1a58ddd6d854.sst] [firstKey=7480000000000000CA5F728000000000000001] [lastKey=7480000000000000CA5F728000000000000009] [2025/04/05 23:10:03.791 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/05 23:10:03.791 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/05 23:10:03.792 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:03.793 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.954534ms] [] [2025/04/05 23:10:03.794 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:03.798 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:03.819 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/05 23:10:03.820 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:03.821 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ca5f728000000000000001] [endOfAllRanges=7480000000000000ca5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffca5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffca5f728000000000ff00000a0000000000fa] [2025/04/05 23:10:03.832 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/05 23:10:03.834 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.345208ms] [] [2025/04/05 23:10:03.834 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:03.835 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.077287ms] [] [2025/04/05 23:10:03.835 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/05 23:10:03.835 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:03.837 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.491641ms] [] [2025/04/05 23:10:03.837 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:03.840 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:03.840 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.50858ms] [] [2025/04/05 23:10:03.840 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:03.841 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=885.123µs] [] [2025/04/05 23:10:03.841 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [takeTime=75.887124ms] [] [2025/04/05 23:10:03.842 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=76.056934ms] [] [2025/04/05 23:10:03.863 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:03.865 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:03.866 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:03.866 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:03.895 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 23:10:03.897 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:03.897 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:03.923 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:03.930 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/05 23:10:03.933 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:03.933 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:03.933 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:03.933 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:03.933 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:03.933 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:03.933 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:03.933 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:03.933 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:03.933 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:03.933 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:03.933 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:03.935 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:03.935 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:03.935 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:03.935 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:03.935 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=177.798097ms] [] [2025/04/05 23:10:03.936 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:03.944 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=post-process] [2025/04/05 23:10:03.944 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/05 23:10:03.944 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/05 23:10:03.944 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/05 23:10:03.950 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=5.629779ms] [] [2025/04/05 23:10:03.950 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [groupId=-1] [size=369] [kvs=9] [checksum=17348221547970957058] [2025/04/05 23:10:03.950 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [2025/04/05 23:10:03.950 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [weight=30] [2025/04/05 23:10:03.950 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [concurrency=15] [2025/04/05 23:10:03.952 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=202] [physicalTableID=202] [indexID=-1] [checksum=17348221547970957058] [totalKvs=9] [totalBytes=369] [2025/04/05 23:10:03.952 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:03.952 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [local="{cksum=17348221547970957058,size=369,kvs=9}"] [2025/04/05 23:10:03.953 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=8.108316ms] [] [2025/04/05 23:10:03.953 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=8.239183ms] [] [2025/04/05 23:10:03.953 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=post-process] [takeTime=8.379459ms] [] [2025/04/05 23:10:03.959 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:03.964 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:03.964 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=23] [step=post-process] [state=running] [] [2025/04/05 23:10:03.966 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=23] [2025/04/05 23:10:03.981 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=44.151187ms] [] [2025/04/05 23:10:03.981 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=23] [type=ImportInto] [2025/04/05 23:10:04.059 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=23] [2025/04/05 23:10:04.065 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:04.065 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=23] [2025/04/05 23:10:04.087 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:04.159 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.685387202\n# Parse_time: 0.000096024\n# Compile_time: 0.000494078\n# Rewrite_time: 0.000135419\n# Optimize_time: 0.001294402\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC42bXMsIG9wZW46NjU3bnMsIGNsb3NlOjg4NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC42bXMsIG9wZW46NjU3bnMsIGNsb3NlOjg4NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:10:04.175 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:04.175 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:10:04.180 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:04.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.187 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 204, Table Name: t, Old Table ID: 202, Old Table Name: t)"] [2025/04/05 23:10:04.203 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.903612ms] [gotSchemaVersion=142] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:04.207 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=142] [2025/04/05 23:10:04.208 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=9.174655ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.219 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=205] [tableIDs="[202]"] [comment="truncate table: table ID"] [2025/04/05 23:10:04.223 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/05 23:10:04.224 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:04.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:04.241 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/05 23:10:04.241 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 23:10:04.247 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:04.295 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:04.316 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=24] [task-id=24] [data-size=98B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:04.330 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=24] [2025/04/05 23:10:04.330 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:04.433 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:04.434 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:04.435 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [2025/04/05 23:10:04.443 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:04.446 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:04.446 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/05 23:10:04.446 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=53.388µs] [2025/04/05 23:10:04.446 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=148.466µs] [] [2025/04/05 23:10:04.446 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:04.446 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:04.481 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=24] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:04.500 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/05 23:10:04.501 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:04.509 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:04.509 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:04.510 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:04.510 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:04.510 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:04.510 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:04.510 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:04.510 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:04.511 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:04.511 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:04.599 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:04.602 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:04.602 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:04.602 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=24] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:04.602 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=24] [disk-quota=348.5GiB] [2025/04/05 23:10:04.602 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:04.604 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=24] [mode=Import] [2025/04/05 23:10:04.611 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [2025/04/05 23:10:04.611 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [2025/04/05 23:10:04.615 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:04.620 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:04.620 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=204] [2025/04/05 23:10:04.625 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=24] [2025/04/05 23:10:04.641 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [2025/04/05 23:10:04.644 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [readDur=1.103846ms] [encodeDur=835.166µs] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [deliverDur=310.034µs] [type=file] [takeTime=2.397433ms] [] [2025/04/05 23:10:04.644 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=369] [kvs=9] [files=1] [sstFileSize=1091] [file=/tmp/tidb/import-4000/24/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/77e364c8-55b9-4fe0-b566-99fd73e12fee.sst] [firstKey=7480000000000000CC5F728000000000000001] [lastKey=7480000000000000CC5F728000000000000009] [2025/04/05 23:10:04.645 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/05 23:10:04.645 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/05 23:10:04.645 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:04.647 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.03061ms] [] [2025/04/05 23:10:04.647 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:04.651 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:04.673 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/05 23:10:04.673 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:04.675 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000cc5f728000000000000001] [endOfAllRanges=7480000000000000cc5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffcc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffcc5f728000000000ff00000a0000000000fa] [2025/04/05 23:10:04.687 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/05 23:10:04.688 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.428207ms] [] [2025/04/05 23:10:04.688 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:04.689 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.012498ms] [] [2025/04/05 23:10:04.689 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/05 23:10:04.689 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:04.691 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.435181ms] [] [2025/04/05 23:10:04.691 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:04.694 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:04.695 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.557466ms] [] [2025/04/05 23:10:04.695 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:04.696 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=918.796µs] [] [2025/04/05 23:10:04.696 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [takeTime=84.505759ms] [] [2025/04/05 23:10:04.696 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=84.648633ms] [] [2025/04/05 23:10:04.737 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:04.738 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:04.739 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:04.740 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:04.770 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 23:10:04.773 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:04.773 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:04.803 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:04.809 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/05 23:10:04.812 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:04.812 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:04.812 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:04.812 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:04.812 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:04.812 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:04.812 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:04.812 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:04.813 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:04.812 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:04.813 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:04.813 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:04.815 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:04.815 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:04.815 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:04.815 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:04.815 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=212.662812ms] [] [2025/04/05 23:10:04.816 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:04.824 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [2025/04/05 23:10:04.824 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/05 23:10:04.824 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/05 23:10:04.824 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/05 23:10:04.830 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=6.046665ms] [] [2025/04/05 23:10:04.830 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [groupId=-1] [size=369] [kvs=9] [checksum=12886775366575955058] [2025/04/05 23:10:04.830 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [2025/04/05 23:10:04.830 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [weight=30] [2025/04/05 23:10:04.830 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [concurrency=15] [2025/04/05 23:10:04.832 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=204] [physicalTableID=204] [indexID=-1] [checksum=12886775366575955058] [totalKvs=9] [totalBytes=369] [2025/04/05 23:10:04.832 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:04.832 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [local="{cksum=12886775366575955058,size=369,kvs=9}"] [2025/04/05 23:10:04.832 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=8.573844ms] [] [2025/04/05 23:10:04.832 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=8.702159ms] [] [2025/04/05 23:10:04.832 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [takeTime=8.831175ms] [] [2025/04/05 23:10:04.849 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:04.938 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:04.938 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=24] [step=post-process] [state=running] [] [2025/04/05 23:10:04.941 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=24] [2025/04/05 23:10:04.970 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=153.652009ms] [] [2025/04/05 23:10:04.970 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=24] [type=ImportInto] [2025/04/05 23:10:05.032 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=24] [2025/04/05 23:10:05.039 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:05.039 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=24] [2025/04/05 23:10:05.061 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:05.233 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.991518147\n# Parse_time: 0.000067826\n# Compile_time: 0.000530249\n# Rewrite_time: 0.000137889\n# Optimize_time: 0.000260306\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC42bXMsIG9wZW46Njk4bnMsIGNsb3NlOjEuMTTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5MC42bXMsIG9wZW46Njk4bnMsIGNsb3NlOjEuMTTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestDeliverBytesRows (2.02s) === NAME TestImportInto === RUN TestImportInto/TestDetachedLoadParquet [2025/04/05 23:10:05.238 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 23:10:05.250 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:05.250 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 23:10:05.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:05.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=704.518µs] [gotSchemaVersion=143] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:05.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=143] [2025/04/05 23:10:05.275 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=8.064492ms] [job="ID:207, Type:create schema, State:done, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.286 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:synced, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:05.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.296 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/05 23:10:05.297 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=143] [cur_db=load_data] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 23:10:05.313 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:05.313 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [2025/04/05 23:10:05.320 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:05.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.326 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 208, Table Name: t)"] [2025/04/05 23:10:05.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=2.528447ms] [gotSchemaVersion=144] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:05.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=209] [version=144] [2025/04/05 23:10:05.352 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=9.644671ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:05.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.365 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:05.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:05.380 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=209] [2025/04/05 23:10:05.381 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=144] [cur_db=load_csv] [sql="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [user=root@%] [2025/04/05 23:10:05.426 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestDetachedLoadParquet3268129203/001/test.parquet\",\"format\":\"parquet\"}"] [dist-task-enabled=true] [2025/04/05 23:10:05.427 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:05.427 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/05 23:10:05.427 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=567.628µs] [2025/04/05 23:10:05.427 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=671.716µs] [] [2025/04/05 23:10:05.451 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=25] [task-id=25] [data-size=2.623KiB] [thread-cnt=8] [global-sort=false] [2025/04/05 23:10:05.466 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=25] [2025/04/05 23:10:05.466 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:10:05.569 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:05.571 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:05.574 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [2025/04/05 23:10:05.583 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:05.583 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:10:05.621 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=25] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:10:05.642 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/05 23:10:05.649 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:05.650 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:05.650 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:05.650 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:05.650 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:05.650 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:05.650 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:05.650 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:05.651 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:05.651 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:05.663 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:05.665 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:05.665 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:05.665 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=25] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:05.665 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:10:05.665 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=25] [disk-quota=348.5GiB] [2025/04/05 23:10:05.673 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [2025/04/05 23:10:05.673 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [2025/04/05 23:10:05.676 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=25] [mode=Import] [2025/04/05 23:10:05.677 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:05.681 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:05.681 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=208] [2025/04/05 23:10:05.693 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [2025/04/05 23:10:05.695 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=25] [2025/04/05 23:10:05.696 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [readDur=1.848503ms] [encodeDur=661.479µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=243.738µs] [type=file] [takeTime=3.101865ms] [] [2025/04/05 23:10:05.697 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=726] [kvs=6] [files=1] [sstFileSize=1288] [file=/tmp/tidb/import-4000/25/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/7d6d4e89-cd1c-4ddb-9fda-bf2afc49f97e.sst] [firstKey=7480000000000000D05F728000000000000001] [lastKey=7480000000000000D05F728000000000000006] [2025/04/05 23:10:05.697 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/05 23:10:05.697 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/05 23:10:05.697 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:05.699 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=2.064947ms] [] [2025/04/05 23:10:05.699 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 23:10:05.703 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:05.725 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/05 23:10:05.725 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:05.726 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d05f728000000000000001] [endOfAllRanges=7480000000000000d05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd05f728000000000ff0000070000000000fa] [2025/04/05 23:10:05.737 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/05 23:10:05.739 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=40.123913ms] [] [2025/04/05 23:10:05.739 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:05.740 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=993.147µs] [] [2025/04/05 23:10:05.740 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/05 23:10:05.740 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:05.742 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.457493ms] [] [2025/04/05 23:10:05.742 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 23:10:05.745 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:05.746 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [takeTime=3.464977ms] [] [2025/04/05 23:10:05.746 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:05.746 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=898.368µs] [] [2025/04/05 23:10:05.747 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [takeTime=73.80797ms] [] [2025/04/05 23:10:05.747 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=73.97833ms] [] [2025/04/05 23:10:05.773 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:05.776 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:05.778 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:05.778 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:05.807 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:10:05.810 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:05.810 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:10:05.849 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:05.855 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/05 23:10:05.857 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:05.857 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:05.857 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:05.857 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:05.857 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:05.857 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:05.857 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:05.857 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:05.857 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:05.857 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:05.857 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:05.857 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:05.859 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:05.859 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:05.859 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:05.860 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:05.860 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=194.728662ms] [] [2025/04/05 23:10:05.862 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:10:05.870 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [2025/04/05 23:10:05.870 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/05 23:10:05.870 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/05 23:10:05.870 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/05 23:10:05.875 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=5.138016ms] [] [2025/04/05 23:10:05.875 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/05 23:10:05.875 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 23:10:05.875 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [weight=30] [2025/04/05 23:10:05.875 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [concurrency=15] [2025/04/05 23:10:05.877 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=208] [physicalTableID=208] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/05 23:10:05.877 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:05.877 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 23:10:05.877 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=7.435815ms] [] [2025/04/05 23:10:05.877 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=7.563321ms] [] [2025/04/05 23:10:05.877 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [takeTime=7.682522ms] [] [2025/04/05 23:10:05.899 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:05.975 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:05.975 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=25] [step=post-process] [state=running] [] [2025/04/05 23:10:05.978 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=25] [2025/04/05 23:10:05.994 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=132.183258ms] [] [2025/04/05 23:10:05.994 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=25] [type=ImportInto] [2025/04/05 23:10:06.068 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.68658568\n# Parse_time: 0.000098271\n# Compile_time: 0.000653389\n# Rewrite_time: 0.000213825\n# Optimize_time: 0.00029853\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 46c9ae50d402b8a4fb5ea152f20c1c0cc52c5c1b2a8c34e97e72968d0916e408\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS41bXMsIG9wZW46NjgwbnMsIGNsb3NlOjgwM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS41bXMsIG9wZW46NjgwbnMsIGNsb3NlOjgwM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_csv;\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestDetachedLoadParquet3268129203/001/test.parquet' FORMAT 'parquet';"] [2025/04/05 23:10:06.069 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=25] [2025/04/05 23:10:06.075 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:06.075 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=25] [2025/04/05 23:10:06.085 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/05 23:10:06.085 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:06.091 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:06.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:06.100 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 210, Table Name: t, Old Table ID: 208, Old Table Name: t)"] [2025/04/05 23:10:06.100 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:06.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=2.688895ms] [gotSchemaVersion=145] [phyTblIDs="[208,210]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:06.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=145] [2025/04/05 23:10:06.126 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=145] ["take time"=9.594458ms] [job="ID:211, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:06.136 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[208]"] [comment="truncate table: table ID"] [2025/04/05 23:10:06.141 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="truncate table"] [2025/04/05 23:10:06.142 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:06.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:06.162 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/05 23:10:06.162 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=145] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] [2025/04/05 23:10:06.168 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:06.216 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"parquet\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:10:06.240 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=26] [task-id=26] [data-size=2.623KiB] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:06.256 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=26] [2025/04/05 23:10:06.257 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:06.360 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:06.362 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:06.364 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [2025/04/05 23:10:06.374 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:06.376 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:06.376 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/05 23:10:06.380 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=3.927135ms] [2025/04/05 23:10:06.380 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=4.047469ms] [] [2025/04/05 23:10:06.380 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:06.380 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:06.422 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:06.444 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/05 23:10:06.444 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:06.452 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:06.452 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:06.453 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:06.453 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:06.453 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:06.453 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:06.453 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:06.453 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:06.454 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:06.454 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:06.467 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:06.468 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=26] [mode=Import] [2025/04/05 23:10:06.469 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:06.469 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:06.469 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=26] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:06.470 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:06.470 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=26] [disk-quota=348.5GiB] [2025/04/05 23:10:06.484 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=import] [2025/04/05 23:10:06.484 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [2025/04/05 23:10:06.488 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:06.488 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=26] [2025/04/05 23:10:06.491 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:06.492 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=210] [2025/04/05 23:10:06.511 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=210] [key=p:0] [2025/04/05 23:10:06.514 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=210] [key=p:0] [readDur=1.470096ms] [encodeDur=1.163437ms] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=257.661µs] [type=file] [takeTime=3.225684ms] [] [2025/04/05 23:10:06.515 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=726] [kvs=6] [files=1] [sstFileSize=1288] [file=/tmp/tidb/import-4000/26/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/909b5bbb-81ae-4d80-842d-d1ae3c7f4aef.sst] [firstKey=7480000000000000D25F728000000000000001] [lastKey=7480000000000000D25F728000000000000006] [2025/04/05 23:10:06.515 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/05 23:10:06.515 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/05 23:10:06.515 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:06.517 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.962557ms] [] [2025/04/05 23:10:06.517 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 23:10:06.521 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:06.543 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/05 23:10:06.543 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:06.544 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d25f728000000000000001] [endOfAllRanges=7480000000000000d25f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd25f728000000000ff0000070000000000fa] [2025/04/05 23:10:06.555 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/05 23:10:06.557 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=39.730831ms] [] [2025/04/05 23:10:06.557 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:06.558 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.003133ms] [] [2025/04/05 23:10:06.558 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/05 23:10:06.558 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:06.559 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.372368ms] [] [2025/04/05 23:10:06.560 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 23:10:06.563 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:06.563 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [takeTime=3.54459ms] [] [2025/04/05 23:10:06.563 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:06.564 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=860.094µs] [] [2025/04/05 23:10:06.564 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [takeTime=80.21859ms] [] [2025/04/05 23:10:06.565 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=import] [takeTime=81.475423ms] [] [2025/04/05 23:10:06.666 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:06.669 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:06.671 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:06.671 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:06.700 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:10:06.703 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:06.703 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:06.711 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:06.711 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/05 23:10:06.714 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:06.714 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:06.714 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:06.714 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:06.714 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:06.714 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:06.714 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:06.714 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:06.714 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:06.714 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:06.714 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:06.714 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:06.716 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:06.716 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:06.716 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:06.716 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:06.716 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=246.811806ms] [] [2025/04/05 23:10:06.716 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/05 23:10:06.740 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:06.762 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:06.770 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=50] [step=post-process] [2025/04/05 23:10:06.770 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/05 23:10:06.770 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/05 23:10:06.770 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/05 23:10:06.776 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=6.219365ms] [] [2025/04/05 23:10:06.776 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/05 23:10:06.777 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 23:10:06.777 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [weight=30] [2025/04/05 23:10:06.777 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [concurrency=15] [2025/04/05 23:10:06.779 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=210] [physicalTableID=210] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/05 23:10:06.779 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:06.779 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 23:10:06.779 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.876839ms] [] [2025/04/05 23:10:06.779 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=9.012343ms] [] [2025/04/05 23:10:06.779 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=50] [step=post-process] [takeTime=9.155839ms] [] [2025/04/05 23:10:06.788 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:06.865 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:06.865 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=26] [step=post-process] [state=running] [] [2025/04/05 23:10:06.869 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=26] [2025/04/05 23:10:06.900 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=137.992804ms] [] [2025/04/05 23:10:06.900 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/05 23:10:06.959 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=26] [2025/04/05 23:10:06.965 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:06.965 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=26] [2025/04/05 23:10:06.992 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:07.267 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:07.267 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/05 23:10:07.272 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.281 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 212, Table Name: t, Old Table ID: 210, Old Table Name: t)"] [2025/04/05 23:10:07.302 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=2.661313ms] [gotSchemaVersion=146] [phyTblIDs="[210,212]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:07.305 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=146] [2025/04/05 23:10:07.307 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=9.607008ms] [job="ID:213, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.318 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=213] [tableIDs="[210]"] [comment="truncate table: table ID"] [2025/04/05 23:10:07.322 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="truncate table"] [2025/04/05 23:10:07.323 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.342 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/05 23:10:07.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=146] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] --- PASS: TestImportInto/TestDetachedLoadParquet (2.11s) === NAME TestImportInto === RUN TestImportInto/TestDiskQuota [2025/04/05 23:10:07.344 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=146] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_test_disk_quota;"] [user=root@%] [2025/04/05 23:10:07.355 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:07.355 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_disk_quota;"] [2025/04/05 23:10:07.360 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=650.529µs] [gotSchemaVersion=147] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:07.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=147] [2025/04/05 23:10:07.378 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=7.296362ms] [job="ID:215, Type:create schema, State:done, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:synced, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/05 23:10:07.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=147] [cur_db=load_csv] [sql="CREATE DATABASE load_test_disk_quota;"] [user=root@%] [2025/04/05 23:10:07.409 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:07.409 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [2025/04/05 23:10:07.414 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.418 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 216, Table Name: t)"] [2025/04/05 23:10:07.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.577972ms] [gotSchemaVersion=148] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:07.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=148] [2025/04/05 23:10:07.437 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=148] ["take time"=8.491279ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:07.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.448 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:synced, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:07.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:07.460 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/05 23:10:07.460 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [user=root@%] [2025/04/05 23:10:07.502 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:07.548 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disk_quota\":\"1b\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:07.566 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=27] [task-id=27] [data-size=95.49KiB] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:07.579 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=27] [2025/04/05 23:10:07.580 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:07.682 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:07.683 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:07.684 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [2025/04/05 23:10:07.692 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:07.694 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:07.694 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97780] [2025/04/05 23:10:07.694 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=97780] [cost=63.085µs] [2025/04/05 23:10:07.695 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=189.405µs] [] [2025/04/05 23:10:07.695 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:07.695 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:07.731 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=27] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:07.751 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/05 23:10:07.751 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:07.761 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:07.761 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:07.761 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:07.761 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:07.761 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:07.761 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:07.761 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:07.762 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:07.762 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:07.762 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:07.776 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:07.778 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:07.778 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=27] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:07.778 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=27] [disk-quota=1B] [2025/04/05 23:10:07.778 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:07.786 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=import] [2025/04/05 23:10:07.787 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [2025/04/05 23:10:07.789 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=27] [mode=Import] [2025/04/05 23:10:07.791 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 23:10:07.795 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:07.795 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=216] [2025/04/05 23:10:07.808 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=27] [2025/04/05 23:10:07.818 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [2025/04/05 23:10:07.891 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=49152] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 23:10:07.896 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=98304] [kvs=2816] [files=1] [sstFileSize=29166] [file=/tmp/tidb/import-4000/27/958a8637-d337-5bb1-a7f0-a440d652de89.sst/1d456b20-3816-4df5-9915-a4a4ee5ce477.sst] [firstKey=7480000000000000D85F728000000000000001] [lastKey=7480000000000000D85F728000000000000B00] [2025/04/05 23:10:07.899 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 23:10:07.903 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:07.925 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2816] [size=98304] [2025/04/05 23:10:07.925 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:07.927 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000001] [endOfAllRanges=7480000000000000d85f728000000000000b01] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [2025/04/05 23:10:07.948 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98304] [kvs=2816] [importedSize=98304] [importedCount=2816] [2025/04/05 23:10:07.950 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=51.140128ms] [] [2025/04/05 23:10:07.956 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=49152] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/05 23:10:07.958 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 23:10:07.961 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:07.962 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.673087ms] [] [2025/04/05 23:10:07.966 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 23:10:07.970 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 23:10:07.970 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=3.788141ms] [] [2025/04/05 23:10:07.975 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=98309] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 23:10:07.981 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=98315] [kvs=2809] [files=1] [sstFileSize=28835] [file=/tmp/tidb/import-4000/27/958a8637-d337-5bb1-a7f0-a440d652de89.sst/0d4cc108-710e-4e13-981d-ab8e793d4ae7.sst] [firstKey=7480000000000000D85F728000000000000B01] [lastKey=7480000000000000D85F7280000000000015F9] [2025/04/05 23:10:07.984 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 23:10:07.988 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:08.010 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/05 23:10:08.010 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:08.012 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000b01] [endOfAllRanges=7480000000000000d85f7280000000000015fa] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [2025/04/05 23:10:08.040 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=196619] [importedCount=5625] [2025/04/05 23:10:08.042 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=58.122185ms] [] [2025/04/05 23:10:08.048 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=147467] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/05 23:10:08.055 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=98315] [kvs=2809] [files=1] [sstFileSize=29091] [file=/tmp/tidb/import-4000/27/958a8637-d337-5bb1-a7f0-a440d652de89.sst/4649481f-b372-4698-a990-c4bcd80475f1.sst] [firstKey=7480000000000000D85F7280000000000015FA] [lastKey=7480000000000000D85F7280000000000020F2] [2025/04/05 23:10:08.057 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 23:10:08.061 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:08.061 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.693528ms] [] [2025/04/05 23:10:08.067 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 23:10:08.071 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:08.093 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/05 23:10:08.093 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:08.095 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000015fa] [endOfAllRanges=7480000000000000d85f7280000000000020f3] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [2025/04/05 23:10:08.116 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=294934] [importedCount=8434] [2025/04/05 23:10:08.118 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=50.711495ms] [] [2025/04/05 23:10:08.123 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=174872] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 23:10:08.126 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [readDur=58.598907ms] [encodeDur=188.620434ms] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [deliverDur=24.665651ms] [type=file] [takeTime=308.238118ms] [] [2025/04/05 23:10:08.127 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=54810] [kvs=1566] [files=1] [sstFileSize=16574] [file=/tmp/tidb/import-4000/27/958a8637-d337-5bb1-a7f0-a440d652de89.sst/b5737e6d-d443-4a2b-973c-57bc3fc8e057.sst] [firstKey=7480000000000000D85F7280000000000020F3] [lastKey=7480000000000000D85F728000000000002710] [2025/04/05 23:10:08.127 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/05 23:10:08.127 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/05 23:10:08.127 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 23:10:08.129 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 23:10:08.129 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [takeTime=2.431571ms] [] [2025/04/05 23:10:08.129 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 23:10:08.133 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:08.155 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/05 23:10:08.155 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:08.157 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/05 23:10:08.175 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=349744] [importedCount=10000] [2025/04/05 23:10:08.177 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=47.624618ms] [] [2025/04/05 23:10:08.177 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 23:10:08.177 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:08.199 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/05 23:10:08.199 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:08.200 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/05 23:10:08.216 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=404554] [importedCount=11566] [2025/04/05 23:10:08.218 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=88.927188ms] [] [2025/04/05 23:10:08.218 +00:00] [WARN] [engine_mgr.go:426] ["could not find engine in cleanupEngine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 23:10:08.219 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [takeTime=42.161021ms] [] [2025/04/05 23:10:08.219 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/05 23:10:08.219 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:08.220 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=0] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 23:10:08.222 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 23:10:08.222 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [takeTime=2.927987ms] [] [2025/04/05 23:10:08.222 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 23:10:08.226 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:08.226 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.674879ms] [] [2025/04/05 23:10:08.232 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:08.232 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=9.71024ms] [] [2025/04/05 23:10:08.232 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 23:10:08.233 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [takeTime=767.184µs] [] [2025/04/05 23:10:08.233 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [takeTime=446.486712ms] [] [2025/04/05 23:10:08.233 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=import] [takeTime=446.672957ms] [] [2025/04/05 23:10:08.287 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:08.288 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:08.289 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:08.289 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:08.318 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/05 23:10:08.319 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:08.319 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:08.356 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:08.363 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/05 23:10:08.373 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:08.373 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:08.373 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:08.373 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:08.373 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:08.373 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:08.373 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:08.373 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:08.373 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:08.373 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:08.373 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:08.373 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:08.376 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:08.376 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:08.376 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:08.376 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:08.376 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=598.044317ms] [] [2025/04/05 23:10:08.377 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:08.386 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=post-process] [2025/04/05 23:10:08.386 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/05 23:10:08.386 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/05 23:10:08.386 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/05 23:10:08.392 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=6.099596ms] [] [2025/04/05 23:10:08.392 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [groupId=-1] [size=349744] [kvs=10000] [checksum=13278823448959016481] [2025/04/05 23:10:08.392 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/05 23:10:08.393 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [weight=30] [2025/04/05 23:10:08.393 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [concurrency=15] [2025/04/05 23:10:08.397 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=216] [physicalTableID=216] [indexID=-1] [checksum=13278823448959016481] [totalKvs=10000] [totalBytes=349744] [2025/04/05 23:10:08.397 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:08.397 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [local="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/05 23:10:08.397 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=11.265865ms] [] [2025/04/05 23:10:08.398 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=11.442352ms] [] [2025/04/05 23:10:08.398 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=post-process] [takeTime=11.91889ms] [] [2025/04/05 23:10:08.412 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:08.487 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:08.487 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=27] [step=post-process] [state=running] [] [2025/04/05 23:10:08.490 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=27] [2025/04/05 23:10:08.520 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=142.308364ms] [] [2025/04/05 23:10:08.520 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=27] [type=ImportInto] [2025/04/05 23:10:08.582 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=27] [2025/04/05 23:10:08.589 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:08.589 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=27] [2025/04/05 23:10:08.610 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:08.784 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 1.287978553\n# Parse_time: 0.000111408\n# Compile_time: 0.000607021\n# Rewrite_time: 0.000175432\n# Optimize_time: 0.000392041\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: b74ef18b8b91fbb6972ff394e46ac7dcd3c98c579d826ec6957bbe1c6cbbe3d4\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjgyMm5zLCBjbG9zZTo4NzFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjgyMm5zLCBjbG9zZTo4NzFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_test_disk_quota`.`t` FROM 'gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disk_quota=_UTF8MB4'1b';"] --- PASS: TestImportInto/TestDiskQuota (1.45s) === NAME TestImportInto === RUN TestImportInto/TestGBK [2025/04/05 23:10:08.793 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/05 23:10:08.806 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:08.806 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/05 23:10:08.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:08.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=677.804µs] [gotSchemaVersion=149] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:08.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=149] [2025/04/05 23:10:08.831 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=8.181473ms] [job="ID:219, Type:create schema, State:done, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:synced, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:08.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/05 23:10:08.852 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=149] [cur_db=load_csv] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/05 23:10:08.866 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:08.866 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [2025/04/05 23:10:08.872 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.877 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: gbk)"] [2025/04/05 23:10:08.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.80724ms] [gotSchemaVersion=150] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:08.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=150] [2025/04/05 23:10:08.897 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=9.344377ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.909 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.921 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/05 23:10:08.921 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=150] [cur_db=load_csv] [sql="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [user=root@%] [2025/04/05 23:10:08.934 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:08.934 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/05 23:10:08.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:08.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.945 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 222, Table Name: utf8mb4)"] [2025/04/05 23:10:08.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.779813ms] [gotSchemaVersion=151] [phyTblIDs="[222]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:08.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=151] [2025/04/05 23:10:08.964 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=8.339552ms] [job="ID:223, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:08.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.976 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:08.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:08.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/05 23:10:08.988 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=151] [cur_db=load_csv] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/05 23:10:08.994 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:09.042 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:09.061 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=28] [task-id=28] [data-size=69B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:09.076 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=28] [2025/04/05 23:10:09.076 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:09.179 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:09.180 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:09.181 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [2025/04/05 23:10:09.189 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:09.192 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/05 23:10:09.192 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=69] [2025/04/05 23:10:09.192 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=68.779µs] [2025/04/05 23:10:09.192 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=206.747µs] [] [2025/04/05 23:10:09.192 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:09.192 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:09.231 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=28] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:09.251 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/05 23:10:09.252 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:09.260 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:09.260 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:09.260 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:09.260 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:09.261 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:09.261 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:09.261 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:09.261 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:09.261 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:09.261 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:09.274 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:09.276 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:09.276 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/05 23:10:09.276 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=28] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:09.276 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:09.276 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=28] [disk-quota=348.5GiB] [2025/04/05 23:10:09.284 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=import] [2025/04/05 23:10:09.284 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [2025/04/05 23:10:09.286 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=28] [mode=Import] [2025/04/05 23:10:09.288 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:09.291 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:09.292 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=220] [2025/04/05 23:10:09.305 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=28] [2025/04/05 23:10:09.314 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [2025/04/05 23:10:09.316 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [readDur=860.691µs] [encodeDur=299.378µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=196.397µs] [type=file] [takeTime=1.601057ms] [] [2025/04/05 23:10:09.316 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=160] [kvs=2] [files=1] [sstFileSize=1093] [file=/tmp/tidb/import-4000/28/bde291e2-5685-5f69-92ea-f9e2ed68f368.sst/797ccf96-e5af-45ea-bca4-ac16a2ffe60b.sst] [firstKey=7480000000000000DC5F728000000000000001] [lastKey=7480000000000000DC5F728000000000000002] [2025/04/05 23:10:09.316 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/05 23:10:09.316 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/05 23:10:09.316 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:09.319 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=2.011324ms] [] [2025/04/05 23:10:09.319 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/05 23:10:09.323 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:09.345 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/05 23:10:09.345 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:09.346 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000dc5f728000000000000001] [endOfAllRanges=7480000000000000dc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffdc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffdc5f728000000000ff0000030000000000fa] [2025/04/05 23:10:09.358 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 23:10:09.359 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [takeTime=40.848551ms] [] [2025/04/05 23:10:09.360 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:09.361 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.143224ms] [] [2025/04/05 23:10:09.361 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/05 23:10:09.361 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:09.362 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.437843ms] [] [2025/04/05 23:10:09.362 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/05 23:10:09.367 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:09.367 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [takeTime=5.04643ms] [] [2025/04/05 23:10:09.368 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:09.369 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=972.213µs] [] [2025/04/05 23:10:09.369 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [takeTime=84.671334ms] [] [2025/04/05 23:10:09.369 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=import] [takeTime=84.805529ms] [] [2025/04/05 23:10:09.384 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:09.385 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:09.386 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:09.386 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:09.417 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:09.418 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:09.418 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:09.453 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:09.460 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/05 23:10:09.463 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:09.463 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:09.463 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:09.463 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:09.463 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:09.463 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:09.463 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:09.463 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:09.463 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:09.463 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:09.463 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:09.463 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:09.465 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:09.465 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:09.465 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:09.465 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:09.465 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=188.958001ms] [] [2025/04/05 23:10:09.466 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:09.474 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=54] [step=post-process] [2025/04/05 23:10:09.474 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/05 23:10:09.474 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/05 23:10:09.474 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/05 23:10:09.480 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=5.940943ms] [] [2025/04/05 23:10:09.480 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/05 23:10:09.480 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 23:10:09.480 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [weight=30] [2025/04/05 23:10:09.480 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [concurrency=15] [2025/04/05 23:10:09.482 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=220] [physicalTableID=220] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/05 23:10:09.483 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:09.483 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 23:10:09.483 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=8.583939ms] [] [2025/04/05 23:10:09.483 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=8.713573ms] [] [2025/04/05 23:10:09.483 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=54] [step=post-process] [takeTime=8.999721ms] [] [2025/04/05 23:10:09.499 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:09.584 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:09.584 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=28] [step=post-process] [state=running] [] [2025/04/05 23:10:09.586 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=28] [2025/04/05 23:10:09.604 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=137.438156ms] [] [2025/04/05 23:10:09.604 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=28] [type=ImportInto] [2025/04/05 23:10:09.678 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=28] [2025/04/05 23:10:09.679 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.690590597\n# Parse_time: 0.00008676\n# Compile_time: 0.000539322\n# Rewrite_time: 0.000162198\n# Optimize_time: 0.000533908\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 366f6a89a6fc2abde0e7f87d5e3a8f2a04fc9cbaed14de3eec007915d595314d\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS43bXMsIG9wZW46NTgwbnMsIGNsb3NlOjcyNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS43bXMsIG9wZW46NTgwbnMsIGNsb3NlOjcyNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/05 23:10:09.685 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:09.685 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=28] [2025/04/05 23:10:09.689 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:09.710 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:09.744 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:09.764 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=29] [task-id=29] [data-size=69B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:09.779 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=29] [2025/04/05 23:10:09.779 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:09.882 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:09.884 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:09.885 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [2025/04/05 23:10:09.893 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:09.896 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/05 23:10:09.896 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=69] [2025/04/05 23:10:09.896 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=50.873µs] [2025/04/05 23:10:09.896 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=162.227µs] [] [2025/04/05 23:10:09.896 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:09.896 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:09.932 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:09.952 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/05 23:10:09.953 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:09.961 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:09.961 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:09.962 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:09.962 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:09.962 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:09.962 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:09.962 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:09.962 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:09.962 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:09.963 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:09.977 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:09.979 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:09.979 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/05 23:10:09.979 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=29] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:09.979 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=29] [disk-quota=348.5GiB] [2025/04/05 23:10:09.979 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:09.987 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=import] [2025/04/05 23:10:09.987 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [2025/04/05 23:10:09.990 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=29] [mode=Import] [2025/04/05 23:10:09.992 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:10:09.997 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:10:09.997 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=222] [2025/04/05 23:10:10.020 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=29] [2025/04/05 23:10:10.090 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [2025/04/05 23:10:10.092 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [readDur=1.019737ms] [encodeDur=544.764µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=263.221µs] [type=file] [takeTime=2.167372ms] [] [2025/04/05 23:10:10.093 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=160] [kvs=2] [files=1] [sstFileSize=1093] [file=/tmp/tidb/import-4000/29/26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b.sst/77e855ab-a7dc-46ee-8a7a-4805b0821135.sst] [firstKey=7480000000000000DE5F728000000000000001] [lastKey=7480000000000000DE5F728000000000000002] [2025/04/05 23:10:10.093 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/05 23:10:10.093 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/05 23:10:10.093 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:10:10.095 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.856272ms] [] [2025/04/05 23:10:10.095 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/05 23:10:10.099 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:10.121 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=160] [2025/04/05 23:10:10.121 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:10.123 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000de5f728000000000000001] [endOfAllRanges=7480000000000000de5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffde5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffde5f728000000000ff0000030000000000fa] [2025/04/05 23:10:10.134 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 23:10:10.136 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [takeTime=40.56274ms] [] [2025/04/05 23:10:10.136 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:10:10.137 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.103199ms] [] [2025/04/05 23:10:10.137 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/05 23:10:10.137 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:10:10.139 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.650396ms] [] [2025/04/05 23:10:10.139 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/05 23:10:10.143 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:10:10.143 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [takeTime=3.70169ms] [] [2025/04/05 23:10:10.143 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:10:10.144 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.004584ms] [] [2025/04/05 23:10:10.144 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [takeTime=156.376456ms] [] [2025/04/05 23:10:10.144 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=import] [takeTime=156.55382ms] [] [2025/04/05 23:10:10.186 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:10.188 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:10.189 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:10.189 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:10.219 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:10.220 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:10.220 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:10.254 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:10.260 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/05 23:10:10.263 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:10.263 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:10.263 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:10.263 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:10.263 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:10.263 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:10.263 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:10.263 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:10.263 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-28] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:10.263 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:10.263 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:10.263 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:10.265 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:10.265 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:10.265 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:10.265 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:10.265 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=286.298435ms] [] [2025/04/05 23:10:10.267 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:10.273 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=post-process] [2025/04/05 23:10:10.273 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/05 23:10:10.274 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/05 23:10:10.274 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/05 23:10:10.280 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=6.005301ms] [] [2025/04/05 23:10:10.280 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/05 23:10:10.280 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 23:10:10.280 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [weight=30] [2025/04/05 23:10:10.280 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [concurrency=15] [2025/04/05 23:10:10.282 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=222] [physicalTableID=222] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/05 23:10:10.282 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:10.282 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 23:10:10.282 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=8.722684ms] [] [2025/04/05 23:10:10.282 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=8.849923ms] [] [2025/04/05 23:10:10.282 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=post-process] [takeTime=8.964977ms] [] [2025/04/05 23:10:10.299 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:10.386 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:10.386 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=29] [step=post-process] [state=running] [] [2025/04/05 23:10:10.389 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=29] [2025/04/05 23:10:10.415 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=148.718393ms] [] [2025/04/05 23:10:10.415 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/05 23:10:10.482 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=29] [2025/04/05 23:10:10.488 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:10.488 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=29] [2025/04/05 23:10:10.508 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:10.680 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.997199869\n# Parse_time: 0.000129695\n# Compile_time: 0.000641578\n# Rewrite_time: 0.000184146\n# Optimize_time: 0.000263589\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 456657ccead4fe483db0b01bf04fee69e0a4728ba623fae84d7794bb531b116c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni4ybXMsIG9wZW46Nzk1bnMsIGNsb3NlOjg1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni4ybXMsIG9wZW46Nzk1bnMsIGNsb3NlOjg1OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/05 23:10:10.696 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:10.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/05 23:10:10.696 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:10.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:10.702 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:10.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:10.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:10:10.710 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 224, Table Name: gbk, Old Table ID: 220, Old Table Name: gbk)"] [2025/04/05 23:10:10.725 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.714268ms] [gotSchemaVersion=152] [phyTblIDs="[220,224]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:10.728 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=152] [2025/04/05 23:10:10.730 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=152] ["take time"=8.517681ms] [job="ID:225, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:10.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:10.739 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=225] [tableIDs="[220]"] [comment="truncate table: table ID"] [2025/04/05 23:10:10.744 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="truncate table"] [2025/04/05 23:10:10.744 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:10.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:10.762 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/05 23:10:10.762 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=152] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/05 23:10:10.769 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:10.815 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:10.833 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30] [task-id=30] [data-size=101B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:10.846 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30] [2025/04/05 23:10:10.846 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:10.949 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:10.950 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:10.951 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [2025/04/05 23:10:10.958 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:10.960 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/05 23:10:10.961 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=101] [2025/04/05 23:10:10.961 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=101] [cost=63.297µs] [2025/04/05 23:10:10.961 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=213.837µs] [] [2025/04/05 23:10:10.961 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:10.961 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:10.990 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:11.010 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/05 23:10:11.010 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:11.017 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:11.017 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:11.018 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:11.018 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:11.018 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:11.018 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:11.018 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:11.018 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:11.019 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:11.019 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:11.032 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:11.034 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:11.034 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/05 23:10:11.034 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:11.034 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30] [disk-quota=348.5GiB] [2025/04/05 23:10:11.034 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:11.041 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=import] [2025/04/05 23:10:11.041 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [2025/04/05 23:10:11.046 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:11.049 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:11.049 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=224] [2025/04/05 23:10:11.054 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30] [mode=Import] [2025/04/05 23:10:11.074 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30] [2025/04/05 23:10:11.083 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [2025/04/05 23:10:11.085 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [readDur=815.798µs] [encodeDur=266.034µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=239.423µs] [type=file] [takeTime=1.540086ms] [] [2025/04/05 23:10:11.086 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=160] [kvs=2] [files=1] [sstFileSize=1093] [file=/tmp/tidb/import-4000/30/bde291e2-5685-5f69-92ea-f9e2ed68f368.sst/acfeef50-0d6a-4e79-99e8-842a324f722c.sst] [firstKey=7480000000000000E05F728000000000000001] [lastKey=7480000000000000E05F728000000000000002] [2025/04/05 23:10:11.086 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/05 23:10:11.086 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/05 23:10:11.086 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:11.088 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.91121ms] [] [2025/04/05 23:10:11.088 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/05 23:10:11.093 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:11.114 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/05 23:10:11.115 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:11.116 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e05f728000000000000001] [endOfAllRanges=7480000000000000e05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe05f728000000000ff0000030000000000fa] [2025/04/05 23:10:11.127 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 23:10:11.129 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [takeTime=40.804197ms] [] [2025/04/05 23:10:11.129 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:11.130 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.109141ms] [] [2025/04/05 23:10:11.130 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/05 23:10:11.130 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:11.132 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.555129ms] [] [2025/04/05 23:10:11.132 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/05 23:10:11.135 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:11.135 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [takeTime=3.681258ms] [] [2025/04/05 23:10:11.135 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:11.137 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.115624ms] [] [2025/04/05 23:10:11.137 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [takeTime=95.223091ms] [] [2025/04/05 23:10:11.137 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=import] [takeTime=95.405658ms] [] [2025/04/05 23:10:11.154 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:11.155 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:11.156 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:11.156 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:11.185 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:11.187 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:11.187 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:11.206 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:11.212 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/05 23:10:11.215 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:11.215 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:11.215 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:11.215 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:11.215 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:11.215 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:11.215 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:11.215 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:11.215 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:11.216 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:11.215 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-29] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:11.216 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:11.218 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:11.218 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:11.218 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:11.218 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:11.218 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=183.767814ms] [] [2025/04/05 23:10:11.219 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:11.226 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=post-process] [2025/04/05 23:10:11.226 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/05 23:10:11.226 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/05 23:10:11.226 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/05 23:10:11.233 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=6.050497ms] [] [2025/04/05 23:10:11.233 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/05 23:10:11.233 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 23:10:11.233 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [weight=30] [2025/04/05 23:10:11.233 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [concurrency=15] [2025/04/05 23:10:11.235 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=224] [physicalTableID=224] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/05 23:10:11.235 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:11.235 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 23:10:11.235 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=8.675673ms] [] [2025/04/05 23:10:11.235 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=8.810037ms] [] [2025/04/05 23:10:11.235 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=post-process] [takeTime=8.947099ms] [] [2025/04/05 23:10:11.248 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:11.253 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:11.254 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30] [step=post-process] [state=running] [] [2025/04/05 23:10:11.256 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30] [2025/04/05 23:10:11.279 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=60.598018ms] [] [2025/04/05 23:10:11.280 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/05 23:10:11.349 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30] [2025/04/05 23:10:11.354 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:11.354 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30] [2025/04/05 23:10:11.375 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:11.449 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.686248797\n# Parse_time: 0.000099157\n# Compile_time: 0.000567135\n# Rewrite_time: 0.000158202\n# Optimize_time: 0.000259059\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 366f6a89a6fc2abde0e7f87d5e3a8f2a04fc9cbaed14de3eec007915d595314d\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS4zbXMsIG9wZW46NzA4bnMsIGNsb3NlOjg2Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS4zbXMsIG9wZW46NzA4bnMsIGNsb3NlOjg2Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8mb4';"] [2025/04/05 23:10:11.463 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:11.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:11.463 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:11.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/05 23:10:11.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:11.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:11.476 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 226, Table Name: gbk, Old Table ID: 224, Old Table Name: gbk)"] [2025/04/05 23:10:11.490 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.638897ms] [gotSchemaVersion=153] [phyTblIDs="[224,226]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:11.493 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=153] [2025/04/05 23:10:11.495 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=8.228478ms] [job="ID:227, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:11.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:11.506 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=227] [tableIDs="[224]"] [comment="truncate table: table ID"] [2025/04/05 23:10:11.510 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=227] [jobType="truncate table"] [2025/04/05 23:10:11.511 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:11.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:11.527 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/05 23:10:11.528 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=153] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/05 23:10:11.534 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:11.580 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/emoji.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:11.599 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=31] [task-id=31] [data-size=61B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:11.613 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=31] [2025/04/05 23:10:11.613 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:11.715 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:11.716 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:11.717 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [2025/04/05 23:10:11.725 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:11.727 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/05 23:10:11.727 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=61] [2025/04/05 23:10:11.727 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=61] [cost=44.779µs] [2025/04/05 23:10:11.727 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=136.88µs] [] [2025/04/05 23:10:11.728 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:11.728 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:11.761 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=31] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:11.780 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/05 23:10:11.780 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:11.788 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:11.789 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:11.789 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:11.789 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:11.789 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:11.789 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:11.789 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:11.789 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:11.790 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:11.790 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:11.802 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:11.804 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:11.804 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/05 23:10:11.804 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=31] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:11.804 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:11.804 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=31] [disk-quota=348.5GiB] [2025/04/05 23:10:11.812 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=import] [2025/04/05 23:10:11.812 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [2025/04/05 23:10:11.816 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 23:10:11.819 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 23:10:11.820 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=226] [2025/04/05 23:10:11.821 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=31] [mode=Import] [2025/04/05 23:10:11.840 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=31] [2025/04/05 23:10:11.866 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [2025/04/05 23:10:11.868 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [takeTime=1.154965ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 23:10:11.868 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [takeTime=55.442307ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:10:11.868 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=import] [takeTime=55.720298ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:11.868 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:11.875 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:10:11.923 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[table:1366]Incorrect string value '\\\\\\\\xF0\\\\\\\\x9F\\\\\\\\x98\\\\\\\\x80' for column 'j'\\\"}\"]"] [2025/04/05 23:10:11.942 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/05 23:10:11.945 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:11.945 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:11.945 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:11.945 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:11.945 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:11.945 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:11.945 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:11.945 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:11.945 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-30] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:11.945 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:11.945 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:11.945 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:11.947 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:11.947 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:11.947 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:11.947 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:11.947 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=142.885855ms] [] [2025/04/05 23:10:11.947 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=31] [type=ImportInto] [2025/04/05 23:10:12.020 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=31] [step=import] [state=reverting] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [2025/04/05 23:10:12.021 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=31] [step=import] [mode=Normal] [2025/04/05 23:10:12.036 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=31] [2025/04/05 23:10:12.115 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=31] [2025/04/05 23:10:12.121 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:12.121 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=31] [2025/04/05 23:10:12.142 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:12.213 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=31] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestGBK\n\ttests/realtikvtest/importintotest/import_into_test.go:591\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:10:12.214 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.685798765\n# Parse_time: 0.000164607\n# Compile_time: 0.000630119\n# Rewrite_time: 0.000188588\n# Optimize_time: 0.000274531\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 366f6a89a6fc2abde0e7f87d5e3a8f2a04fc9cbaed14de3eec007915d595314d\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4NC43bXMsIG9wZW46NzQ5bnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo2ODQuN21zLCBvcGVuOjc0OW5zLCBjbG9zZToxLjA0wrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/emoji.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8mb4';"] --- PASS: TestImportInto/TestGBK (3.42s) === NAME TestImportInto === RUN TestImportInto/TestGeneratedColumnsAndTSVFile [2025/04/05 23:10:12.227 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/05 23:10:12.227 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:12.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.250 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.461785ms] [gotSchemaVersion=154] [phyTblIDs="[212]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:12.254 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=154] [2025/04/05 23:10:12.255 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=154] ["take time"=9.601496ms] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.265 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=149.94µs] [gotSchemaVersion=155] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:12.282 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=155] [2025/04/05 23:10:12.284 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=7.171008ms] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.292 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.298 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:12.308 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=162.012µs] [gotSchemaVersion=156] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:12.312 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=156] [2025/04/05 23:10:12.314 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=7.661175ms] [job="ID:228, Type:drop schema, State:done, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.323 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[212]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:12.328 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop schema"] [2025/04/05 23:10:12.329 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:synced, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.345 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/05 23:10:12.345 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=156] [cur_db=] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 23:10:12.357 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:12.357 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 23:10:12.363 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.376 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=717.38µs] [gotSchemaVersion=157] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:12.380 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=230] [version=157] [2025/04/05 23:10:12.381 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=7.837563ms] [job="ID:230, Type:create schema, State:done, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.392 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:synced, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.401 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=230] [2025/04/05 23:10:12.402 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=157] [cur_db=] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 23:10:12.416 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:12.416 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [2025/04/05 23:10:12.421 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.426 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 231, Table Name: t_gen1)"] [2025/04/05 23:10:12.440 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.980166ms] [gotSchemaVersion=158] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:12.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=232] [version=158] [2025/04/05 23:10:12.446 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=9.057062ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:12.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.456 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:12.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:12.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=232] [2025/04/05 23:10:12.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=158] [cur_db=load_csv] [sql="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [user=root@%] [2025/04/05 23:10:12.474 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:12.629 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:12.649 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=32] [task-id=32] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:12.664 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=32] [2025/04/05 23:10:12.664 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:12.767 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:12.768 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:12.770 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [2025/04/05 23:10:12.778 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:12.781 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/05 23:10:12.782 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/05 23:10:12.782 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=50.454µs] [2025/04/05 23:10:12.782 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=159.391µs] [] [2025/04/05 23:10:12.782 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:12.782 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:12.820 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=32] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:12.840 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/05 23:10:12.841 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:12.849 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:12.849 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:12.850 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:12.850 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:12.850 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:12.850 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:12.850 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:12.850 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:12.851 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:12.851 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:12.864 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:12.866 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:12.867 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/05 23:10:12.867 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=32] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:12.867 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=32] [disk-quota=348.5GiB] [2025/04/05 23:10:12.867 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:12.874 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=32] [mode=Import] [2025/04/05 23:10:12.875 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [2025/04/05 23:10:12.875 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [2025/04/05 23:10:12.879 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:12.883 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:12.884 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/05 23:10:12.893 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=32] [2025/04/05 23:10:12.943 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/05 23:10:12.945 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.023603ms] [encodeDur=455.672µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=271.213µs] [type=file] [takeTime=2.027331ms] [] [2025/04/05 23:10:12.946 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=58] [kvs=2] [files=1] [sstFileSize=971] [file=/tmp/tidb/import-4000/32/2338f157-c807-5664-9eae-1ae164d075d7.sst/b4122933-b5e8-432b-bd7b-e4a277d8ba2c.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/05 23:10:12.946 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/05 23:10:12.946 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/05 23:10:12.946 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:12.948 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=2.060309ms] [] [2025/04/05 23:10:12.948 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/05 23:10:12.952 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:12.974 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/05 23:10:12.975 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:12.977 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/05 23:10:12.989 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 23:10:12.991 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [takeTime=42.680127ms] [] [2025/04/05 23:10:12.991 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:12.992 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=1.114642ms] [] [2025/04/05 23:10:12.992 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/05 23:10:12.992 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:12.994 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.704137ms] [] [2025/04/05 23:10:12.994 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/05 23:10:12.997 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:12.998 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [takeTime=3.73497ms] [] [2025/04/05 23:10:12.998 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:12.999 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.0488ms] [] [2025/04/05 23:10:12.999 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [takeTime=124.033346ms] [] [2025/04/05 23:10:12.999 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [takeTime=124.217825ms] [] [2025/04/05 23:10:13.072 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:13.073 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:13.074 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:13.074 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:13.106 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:13.107 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:13.108 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:13.143 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:13.149 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/05 23:10:13.152 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:13.152 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:13.152 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:13.152 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:13.152 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:13.152 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:13.152 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:13.152 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:13.152 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-31] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:13.152 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:13.152 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:13.153 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:13.155 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:13.155 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:13.155 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:13.155 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:13.155 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=287.988215ms] [] [2025/04/05 23:10:13.156 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:13.164 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=61] [step=post-process] [2025/04/05 23:10:13.164 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/05 23:10:13.164 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/05 23:10:13.164 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/05 23:10:13.171 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=6.826198ms] [] [2025/04/05 23:10:13.171 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 23:10:13.171 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:13.171 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [weight=30] [2025/04/05 23:10:13.171 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [concurrency=15] [2025/04/05 23:10:13.173 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 23:10:13.173 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:13.173 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:13.173 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=9.441671ms] [] [2025/04/05 23:10:13.173 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=9.595053ms] [] [2025/04/05 23:10:13.173 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=61] [step=post-process] [takeTime=9.72946ms] [] [2025/04/05 23:10:13.199 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:13.271 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:13.272 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=32] [step=post-process] [state=running] [] [2025/04/05 23:10:13.274 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=32] [2025/04/05 23:10:13.292 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=136.276305ms] [] [2025/04/05 23:10:13.292 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=32] [type=ImportInto] [2025/04/05 23:10:13.367 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=32] [2025/04/05 23:10:13.373 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:13.373 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=32] [2025/04/05 23:10:13.396 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:13.566 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 1.098048293\n# Parse_time: 0.000126158\n# Compile_time: 0.000846354\n# Rewrite_time: 0.000390163\n# Optimize_time: 0.000274531\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 83c244a30775de79c2da78d12ca20e26f744714d783e2c7211e4d693aeabfd67\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMXMsIG9wZW46NjIwbnMsIGNsb3NlOjk5Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuMXMsIG9wZW46NjIwbnMsIGNsb3NlOjk5Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_csv;\nIMPORT INTO `load_csv`.`t_gen1` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:10:13.581 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:13.631 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:13.651 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=33] [task-id=33] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:13.666 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=33] [2025/04/05 23:10:13.666 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:13.769 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:13.770 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:13.772 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [2025/04/05 23:10:13.780 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:13.782 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/05 23:10:13.783 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/05 23:10:13.783 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=66.182µs] [2025/04/05 23:10:13.783 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=206.294µs] [] [2025/04/05 23:10:13.783 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:13.783 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:13.821 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=33] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:13.842 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/05 23:10:13.842 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:13.850 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:13.850 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:13.851 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:13.851 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:13.851 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:13.851 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:13.851 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:13.851 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:13.852 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:13.852 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:13.865 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:13.866 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:13.866 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/05 23:10:13.867 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=33] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:13.867 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=33] [disk-quota=348.5GiB] [2025/04/05 23:10:13.867 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:13.874 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=import] [2025/04/05 23:10:13.874 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [2025/04/05 23:10:13.875 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=33] [mode=Import] [2025/04/05 23:10:13.879 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:13.883 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:13.883 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/05 23:10:13.894 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=33] [2025/04/05 23:10:13.917 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/05 23:10:13.919 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=973.787µs] [encodeDur=244.121µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=265.926µs] [type=file] [takeTime=1.767196ms] [] [2025/04/05 23:10:13.920 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=58] [kvs=2] [files=1] [sstFileSize=971] [file=/tmp/tidb/import-4000/33/2338f157-c807-5664-9eae-1ae164d075d7.sst/2695e5c1-b3ce-48d4-9af4-b10ca1e76930.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/05 23:10:13.920 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/05 23:10:13.920 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/05 23:10:13.920 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:13.922 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=1.946444ms] [] [2025/04/05 23:10:13.922 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/05 23:10:13.926 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:13.948 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/05 23:10:13.948 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:13.950 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/05 23:10:13.968 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 23:10:13.970 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [takeTime=48.301174ms] [] [2025/04/05 23:10:13.970 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:13.972 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=1.423916ms] [] [2025/04/05 23:10:13.972 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/05 23:10:13.972 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:13.974 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.971997ms] [] [2025/04/05 23:10:13.974 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/05 23:10:13.978 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:13.978 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [takeTime=3.762294ms] [] [2025/04/05 23:10:13.978 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:13.979 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.067554ms] [] [2025/04/05 23:10:13.979 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [takeTime=104.683763ms] [] [2025/04/05 23:10:13.979 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=import] [takeTime=104.850753ms] [] [2025/04/05 23:10:14.074 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:14.075 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:14.076 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:14.076 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:14.113 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:14.114 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:14.114 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:14.133 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:14.133 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/05 23:10:14.136 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:14.136 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:14.136 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:14.136 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:14.136 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:14.136 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:14.136 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:14.136 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:14.136 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-32] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:14.136 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:14.137 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:14.137 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:14.139 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:14.139 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:14.139 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:14.139 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:14.139 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=272.245801ms] [] [2025/04/05 23:10:14.139 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=33] [type=ImportInto] [2025/04/05 23:10:14.151 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=33] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:14.171 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:14.178 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=63] [step=post-process] [2025/04/05 23:10:14.178 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/05 23:10:14.178 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/05 23:10:14.178 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/05 23:10:14.182 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=3.830731ms] [] [2025/04/05 23:10:14.182 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 23:10:14.182 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:14.182 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [weight=30] [2025/04/05 23:10:14.183 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [concurrency=15] [2025/04/05 23:10:14.184 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 23:10:14.185 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:14.185 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:14.185 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.469186ms] [] [2025/04/05 23:10:14.185 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.62472ms] [] [2025/04/05 23:10:14.185 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=63] [step=post-process] [takeTime=6.77054ms] [] [2025/04/05 23:10:14.207 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:14.274 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:14.274 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=33] [step=post-process] [state=running] [] [2025/04/05 23:10:14.277 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=33] [2025/04/05 23:10:14.309 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=137.78197ms] [] [2025/04/05 23:10:14.309 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=33] [type=ImportInto] [2025/04/05 23:10:14.369 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=33] [2025/04/05 23:10:14.376 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:14.376 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=33] [2025/04/05 23:10:14.397 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:14.569 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.994214382\n# Parse_time: 0.000103333\n# Compile_time: 0.00081242\n# Rewrite_time: 0.000442205\n# Optimize_time: 0.000271676\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 270d30c701bd71ca11bf5517c378822c7f3ac846fed93f1da8ce212a30fa9320\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5M21zLCBvcGVuOjY4MW5zLCBjbG9zZTo5MjFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5M21zLCBvcGVuOjY4MW5zLCBjbG9zZTo5MjFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t_gen1` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:10:14.591 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:14.646 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:14.665 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=34] [task-id=34] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:14.679 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=34] [2025/04/05 23:10:14.679 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:14.782 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:14.784 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:14.785 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [2025/04/05 23:10:14.793 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:14.795 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/05 23:10:14.795 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/05 23:10:14.795 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=57.72µs] [2025/04/05 23:10:14.796 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=166.211µs] [] [2025/04/05 23:10:14.796 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:14.796 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:14.832 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:14.852 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/05 23:10:14.852 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:14.860 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:14.860 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:14.861 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:14.861 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:14.861 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:14.861 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:14.861 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:14.861 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:14.862 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:14.862 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:14.874 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:14.876 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:14.876 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/05 23:10:14.876 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=34] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:14.876 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:14.876 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=34] [disk-quota=348.5GiB] [2025/04/05 23:10:14.885 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=import] [2025/04/05 23:10:14.885 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [2025/04/05 23:10:14.889 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=34] [mode=Import] [2025/04/05 23:10:14.890 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:14.894 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:14.894 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/05 23:10:14.911 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=34] [2025/04/05 23:10:14.930 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/05 23:10:14.931 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=886.441µs] [encodeDur=270.731µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=238.451µs] [type=file] [takeTime=1.690324ms] [] [2025/04/05 23:10:14.932 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=58] [kvs=2] [files=1] [sstFileSize=971] [file=/tmp/tidb/import-4000/34/2338f157-c807-5664-9eae-1ae164d075d7.sst/4814ee43-9962-4adb-b32c-c848cdb0cc74.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/05 23:10:14.932 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/05 23:10:14.932 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/05 23:10:14.932 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:14.934 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=2.050155ms] [] [2025/04/05 23:10:14.934 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/05 23:10:14.939 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:14.960 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/05 23:10:14.961 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:14.962 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/05 23:10:14.992 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 23:10:14.994 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [takeTime=59.198415ms] [] [2025/04/05 23:10:14.994 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 23:10:14.995 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=1.068938ms] [] [2025/04/05 23:10:14.995 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/05 23:10:14.995 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:14.997 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.600887ms] [] [2025/04/05 23:10:14.997 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/05 23:10:15.000 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:15.000 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [takeTime=3.624615ms] [] [2025/04/05 23:10:15.000 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 23:10:15.001 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=976.028µs] [] [2025/04/05 23:10:15.002 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [takeTime=116.495257ms] [] [2025/04/05 23:10:15.002 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=import] [takeTime=116.71226ms] [] [2025/04/05 23:10:15.087 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:15.088 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:15.089 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:15.089 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:15.120 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:15.122 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:15.122 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:15.142 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:15.149 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/05 23:10:15.152 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:15.152 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:15.152 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:15.152 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:15.152 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:15.152 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:15.152 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:15.152 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-33] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:15.152 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:15.152 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:15.152 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:15.152 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:15.154 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:15.155 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:15.155 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:15.155 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:15.155 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=278.25924ms] [] [2025/04/05 23:10:15.156 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:15.163 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=post-process] [2025/04/05 23:10:15.164 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/05 23:10:15.164 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/05 23:10:15.164 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/05 23:10:15.167 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=3.417858ms] [] [2025/04/05 23:10:15.167 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 23:10:15.167 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:15.167 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [weight=30] [2025/04/05 23:10:15.167 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [concurrency=15] [2025/04/05 23:10:15.169 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 23:10:15.170 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:15.170 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:15.170 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=6.140534ms] [] [2025/04/05 23:10:15.170 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=6.299439ms] [] [2025/04/05 23:10:15.170 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=post-process] [takeTime=6.417235ms] [] [2025/04/05 23:10:15.180 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:15.187 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:15.187 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=34] [step=post-process] [state=running] [] [2025/04/05 23:10:15.189 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=34] [2025/04/05 23:10:15.214 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=58.386346ms] [] [2025/04/05 23:10:15.214 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/05 23:10:15.282 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.704250099\n# Parse_time: 0.00012272\n# Compile_time: 0.00071141\n# Rewrite_time: 0.000339672\n# Optimize_time: 0.000265509\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 531f5f7c33b39ea234221fa5a52494ba6c41bc6c4550333784358ae7e80c5933\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjcwMy4xbXMsIG9wZW46NjY3bnMsIGNsb3NlOjczMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjcwMy4xbXMsIG9wZW46NjY3bnMsIGNsb3NlOjczMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t_gen1` (`a`,@`1`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:10:15.282 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=34] [2025/04/05 23:10:15.289 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:15.289 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=34] [2025/04/05 23:10:15.298 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:15.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [2025/04/05 23:10:15.299 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:15.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:15.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:15.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:15.310 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 233, Table Name: t_gen2)"] [2025/04/05 23:10:15.310 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:15.326 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.993757ms] [gotSchemaVersion=159] [phyTblIDs="[233]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:15.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=159] [2025/04/05 23:10:15.332 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=159] ["take time"=10.092023ms] [job="ID:234, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:15.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:15.343 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:15.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:15.355 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/05 23:10:15.356 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=159] [cur_db=load_csv] [sql="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [user=root@%] [2025/04/05 23:10:15.363 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:15.411 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:15.430 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=35] [task-id=35] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:15.444 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=35] [2025/04/05 23:10:15.444 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:15.547 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:15.548 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:15.549 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [2025/04/05 23:10:15.557 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:15.559 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/05 23:10:15.559 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/05 23:10:15.559 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=51.892µs] [2025/04/05 23:10:15.559 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=179.174µs] [] [2025/04/05 23:10:15.560 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:15.560 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:15.590 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:15.611 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/05 23:10:15.611 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:15.619 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:15.619 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:15.620 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:15.620 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:15.620 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:15.620 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:15.620 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:15.620 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:15.621 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:15.621 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:15.633 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:15.634 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:15.634 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/05 23:10:15.635 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=35] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:15.635 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:15.635 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=35] [disk-quota=348.5GiB] [2025/04/05 23:10:15.643 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=import] [2025/04/05 23:10:15.644 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [2025/04/05 23:10:15.650 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:15.654 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:15.654 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/05 23:10:15.656 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=35] [mode=Import] [2025/04/05 23:10:15.677 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=35] [2025/04/05 23:10:15.677 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/05 23:10:15.679 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=1.011535ms] [encodeDur=994.182µs] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [deliverDur=276.86µs] [type=file] [takeTime=2.599541ms] [] [2025/04/05 23:10:15.680 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=58] [kvs=2] [files=1] [sstFileSize=971] [file=/tmp/tidb/import-4000/35/2af2eecd-4648-5805-aaa5-feaf0c6afb0e.sst/8911e3ca-f719-4030-b2ec-7999da4ba29d.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/05 23:10:15.680 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/05 23:10:15.680 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/05 23:10:15.680 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:15.683 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=2.425367ms] [] [2025/04/05 23:10:15.683 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/05 23:10:15.688 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:15.710 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/05 23:10:15.710 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:15.712 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/05 23:10:15.723 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 23:10:15.725 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [takeTime=41.768012ms] [] [2025/04/05 23:10:15.725 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:15.726 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=1.173622ms] [] [2025/04/05 23:10:15.726 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/05 23:10:15.726 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:15.727 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=1.444052ms] [] [2025/04/05 23:10:15.728 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/05 23:10:15.731 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:15.731 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [takeTime=3.732768ms] [] [2025/04/05 23:10:15.731 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:15.732 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=1.009314ms] [] [2025/04/05 23:10:15.733 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [takeTime=88.972021ms] [] [2025/04/05 23:10:15.733 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=import] [takeTime=89.104626ms] [] [2025/04/05 23:10:15.751 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:15.753 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:15.754 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:15.754 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:15.783 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:15.784 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:15.784 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:15.817 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:15.824 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/05 23:10:15.827 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:15.827 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:15.827 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:15.827 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:15.827 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:15.827 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:15.827 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:15.827 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-34] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:15.827 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:15.827 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:15.827 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:15.827 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:15.829 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:15.829 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:15.829 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:15.829 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:15.829 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=194.560839ms] [] [2025/04/05 23:10:15.830 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:15.838 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=post-process] [2025/04/05 23:10:15.838 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/05 23:10:15.838 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/05 23:10:15.838 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/05 23:10:15.844 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=5.802281ms] [] [2025/04/05 23:10:15.844 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [groupId=-1] [size=58] [kvs=2] [checksum=12236948213998824982] [2025/04/05 23:10:15.844 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/05 23:10:15.845 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [weight=30] [2025/04/05 23:10:15.845 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [concurrency=15] [2025/04/05 23:10:15.847 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=12236948213998824982] [totalKvs=2] [totalBytes=58] [2025/04/05 23:10:15.847 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:15.847 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [local="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/05 23:10:15.847 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=8.496489ms] [] [2025/04/05 23:10:15.847 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=8.628117ms] [] [2025/04/05 23:10:15.847 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=post-process] [takeTime=8.754365ms] [] [2025/04/05 23:10:15.864 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:15.952 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:15.952 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=35] [step=post-process] [state=running] [] [2025/04/05 23:10:15.954 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=35] [2025/04/05 23:10:15.984 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=153.808253ms] [] [2025/04/05 23:10:15.984 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/05 23:10:16.046 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=35] [2025/04/05 23:10:16.048 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.691621508\n# Parse_time: 0.000095497\n# Compile_time: 0.000795026\n# Rewrite_time: 0.000382277\n# Optimize_time: 0.000260207\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: aadb5d4e27c12b2f9dfc09d6d7106d4c5a35ddea525aa93fd4dbeff74192d1f1\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC41bXMsIG9wZW46NjYzbnMsIGNsb3NlOjY4MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC41bXMsIG9wZW46NjYzbnMsIGNsb3NlOjY4MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t_gen2` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:10:16.052 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:16.052 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=35] [2025/04/05 23:10:16.064 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:16.075 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:16.110 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:16.129 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=36] [task-id=36] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:16.144 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=36] [2025/04/05 23:10:16.144 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:16.247 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:16.248 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:16.249 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [2025/04/05 23:10:16.257 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:16.260 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/05 23:10:16.260 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/05 23:10:16.260 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=54.398µs] [2025/04/05 23:10:16.260 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=167.745µs] [] [2025/04/05 23:10:16.260 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:16.260 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:16.291 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:16.310 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/05 23:10:16.311 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:16.319 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:16.319 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:16.319 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:16.319 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:16.320 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:16.320 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:16.320 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:16.320 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:16.320 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:16.320 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:16.332 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:16.334 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:16.334 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/05 23:10:16.335 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=36] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:16.335 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=36] [disk-quota=348.5GiB] [2025/04/05 23:10:16.335 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:16.342 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=import] [2025/04/05 23:10:16.342 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [2025/04/05 23:10:16.346 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:16.350 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:16.351 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/05 23:10:16.353 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=36] [mode=Import] [2025/04/05 23:10:16.364 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/05 23:10:16.366 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=1.071148ms] [encodeDur=265.818µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=284.235µs] [type=file] [takeTime=1.985902ms] [] [2025/04/05 23:10:16.367 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=58] [kvs=2] [files=1] [sstFileSize=971] [file=/tmp/tidb/import-4000/36/2af2eecd-4648-5805-aaa5-feaf0c6afb0e.sst/fc72bae3-58ee-468c-bfad-2653ebe4cfd4.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/05 23:10:16.367 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/05 23:10:16.367 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/05 23:10:16.367 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:16.369 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=2.223101ms] [] [2025/04/05 23:10:16.370 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/05 23:10:16.373 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=36] [2025/04/05 23:10:16.374 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:16.395 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/05 23:10:16.395 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:16.397 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/05 23:10:16.426 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 23:10:16.428 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [takeTime=58.201702ms] [] [2025/04/05 23:10:16.428 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:16.429 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=1.341097ms] [] [2025/04/05 23:10:16.429 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/05 23:10:16.429 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:16.431 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=1.802116ms] [] [2025/04/05 23:10:16.431 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/05 23:10:16.436 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:16.436 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [takeTime=4.911316ms] [] [2025/04/05 23:10:16.436 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:16.437 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=974.228µs] [] [2025/04/05 23:10:16.437 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [takeTime=94.976306ms] [] [2025/04/05 23:10:16.438 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=import] [takeTime=95.133587ms] [] [2025/04/05 23:10:16.453 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:16.454 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:16.455 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:16.455 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:16.488 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:16.489 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:16.489 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:16.524 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:16.530 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/05 23:10:16.534 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:16.534 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:16.534 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:16.534 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:16.534 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:16.534 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:16.534 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:16.534 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:16.534 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:16.534 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-35] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:16.534 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:16.534 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:16.536 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:16.536 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:16.536 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:16.536 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:16.536 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=201.782875ms] [] [2025/04/05 23:10:16.538 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:16.545 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=post-process] [2025/04/05 23:10:16.545 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/05 23:10:16.545 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/05 23:10:16.545 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/05 23:10:16.549 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=3.607001ms] [] [2025/04/05 23:10:16.549 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 23:10:16.549 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:16.549 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [weight=30] [2025/04/05 23:10:16.549 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [concurrency=15] [2025/04/05 23:10:16.551 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 23:10:16.552 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:16.552 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 23:10:16.552 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.322767ms] [] [2025/04/05 23:10:16.552 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.47238ms] [] [2025/04/05 23:10:16.552 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=post-process] [takeTime=6.609358ms] [] [2025/04/05 23:10:16.570 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:16.651 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:16.651 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=36] [step=post-process] [state=running] [] [2025/04/05 23:10:16.654 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=36] [2025/04/05 23:10:16.679 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=141.179653ms] [] [2025/04/05 23:10:16.679 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/05 23:10:16.746 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.688362032\n# Parse_time: 0.000144664\n# Compile_time: 0.001082498\n# Rewrite_time: 0.000508476\n# Optimize_time: 0.000245232\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: 77767b6e1c4f50d19609f42a064e114e77fed5992582539ccd017c6272f21e28\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ni44bXMsIG9wZW46OTQwbnMsIGNsb3NlOjk3NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ni44bXMsIG9wZW46OTQwbnMsIGNsb3NlOjk3NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t_gen2` (`b`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:10:16.746 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=36] [2025/04/05 23:10:16.752 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:16.753 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=36] [2025/04/05 23:10:16.767 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:16.784 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:16.818 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:16.837 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=37] [task-id=37] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:16.852 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=37] [2025/04/05 23:10:16.852 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:16.954 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:16.955 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:16.956 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [2025/04/05 23:10:16.964 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:16.967 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/05 23:10:16.967 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/05 23:10:16.967 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=50.831µs] [2025/04/05 23:10:16.967 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=140.786µs] [] [2025/04/05 23:10:16.967 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:16.967 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:17.001 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:17.021 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/05 23:10:17.021 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:17.029 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:17.030 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:17.030 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:17.030 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:17.030 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:17.030 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:17.030 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:17.030 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:17.032 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:17.032 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:17.044 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:17.045 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:17.045 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/05 23:10:17.045 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=37] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:17.046 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:17.046 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=37] [disk-quota=348.5GiB] [2025/04/05 23:10:17.053 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=import] [2025/04/05 23:10:17.053 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [2025/04/05 23:10:17.057 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:17.060 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=37] [mode=Import] [2025/04/05 23:10:17.060 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:17.061 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/05 23:10:17.074 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/05 23:10:17.076 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=1.148916ms] [encodeDur=310.873µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=288.928µs] [type=file] [takeTime=2.129622ms] [] [2025/04/05 23:10:17.077 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=961] [file=/tmp/tidb/import-4000/37/2af2eecd-4648-5805-aaa5-feaf0c6afb0e.sst/3c1578ae-bf7b-4b45-b19d-97f587196a83.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/05 23:10:17.077 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/05 23:10:17.077 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/05 23:10:17.077 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:17.079 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=37] [2025/04/05 23:10:17.080 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=2.144917ms] [] [2025/04/05 23:10:17.080 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/05 23:10:17.085 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:17.107 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:10:17.107 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:17.108 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/05 23:10:17.124 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:10:17.126 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [takeTime=46.024692ms] [] [2025/04/05 23:10:17.126 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 23:10:17.127 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=1.093171ms] [] [2025/04/05 23:10:17.127 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/05 23:10:17.127 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:17.129 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=1.460916ms] [] [2025/04/05 23:10:17.129 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/05 23:10:17.132 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:17.132 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [takeTime=3.609661ms] [] [2025/04/05 23:10:17.132 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 23:10:17.133 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=875.322µs] [] [2025/04/05 23:10:17.133 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [takeTime=80.024024ms] [] [2025/04/05 23:10:17.133 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=import] [takeTime=80.163828ms] [] [2025/04/05 23:10:17.159 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:17.160 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:17.161 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:17.161 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:17.190 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:17.191 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:17.191 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:17.217 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:17.224 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/05 23:10:17.226 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:17.226 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:17.226 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:17.226 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:17.226 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:17.226 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:17.226 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:17.226 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:17.226 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:17.227 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:17.226 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-36] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:17.227 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:17.229 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:17.229 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:17.229 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:17.229 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:17.229 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=183.329708ms] [] [2025/04/05 23:10:17.230 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:17.237 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=post-process] [2025/04/05 23:10:17.237 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/05 23:10:17.238 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/05 23:10:17.238 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/05 23:10:17.241 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=3.546591ms] [] [2025/04/05 23:10:17.241 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 23:10:17.241 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:10:17.241 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [weight=30] [2025/04/05 23:10:17.241 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [concurrency=15] [2025/04/05 23:10:17.243 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 23:10:17.244 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:17.244 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:10:17.244 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=6.25317ms] [] [2025/04/05 23:10:17.244 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=6.411161ms] [] [2025/04/05 23:10:17.244 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=post-process] [takeTime=6.551696ms] [] [2025/04/05 23:10:17.258 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:17.260 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:17.260 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=37] [step=post-process] [state=running] [] [2025/04/05 23:10:17.262 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=37] [2025/04/05 23:10:17.289 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=58.971936ms] [] [2025/04/05 23:10:17.289 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/05 23:10:17.354 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=37] [2025/04/05 23:10:17.360 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:17.360 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=37] [2025/04/05 23:10:17.381 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:17.454 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.700195078\n# Parse_time: 0.000156924\n# Compile_time: 0.000955808\n# Rewrite_time: 0.000483728\n# Optimize_time: 0.000261934\n# Wait_TS: 0\n# DB: load_csv\n# Is_internal: false\n# Digest: ce5157336e474352b6ec42e96f0d265354fe3d79136030a10a71e3dd75c5f13e\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5OC44bXMsIG9wZW46Nzk2bnMsIGNsb3NlOjEuMDnCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5OC44bXMsIG9wZW46Nzk2bnMsIGNsb3NlOjEuMDnCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t_gen2` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] --- PASS: TestImportInto/TestGeneratedColumnsAndTSVFile (5.24s) === NAME TestImportInto === RUN TestImportInto/TestIgnoreNLines [2025/04/05 23:10:17.471 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:17.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:10:17.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.845216ms] [gotSchemaVersion=160] [phyTblIDs="[204]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:17.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=160] [2025/04/05 23:10:17.499 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=160] ["take time"=9.036103ms] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.508 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.521 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=139.758µs] [gotSchemaVersion=161] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:17.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=161] [2025/04/05 23:10:17.526 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=7.240555ms] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.539 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:17.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=172.199µs] [gotSchemaVersion=162] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:17.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=162] [2025/04/05 23:10:17.555 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=7.407674ms] [job="ID:235, Type:drop schema, State:done, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.564 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[204]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:17.568 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop schema"] [2025/04/05 23:10:17.569 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:synced, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/05 23:10:17.586 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=162] [cur_db=load_csv] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:10:17.598 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:17.598 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:10:17.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.616 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=588.769µs] [gotSchemaVersion=163] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:17.620 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=163] [2025/04/05 23:10:17.621 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=7.432156ms] [job="ID:237, Type:create schema, State:done, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.631 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:synced, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.640 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/05 23:10:17.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_csv] [sql="create database load_data"] [user=root@%] [2025/04/05 23:10:17.642 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:10:17.654 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:10:17.654 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:17.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.664 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t)"] [2025/04/05 23:10:17.680 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.894747ms] [gotSchemaVersion=164] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:17.684 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=164] [2025/04/05 23:10:17.685 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=8.923814ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:17.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.697 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:17.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:17.715 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/05 23:10:17.715 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=164] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:10:17.722 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:17.775 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:17.795 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=38] [task-id=38] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:10:17.810 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=38] [2025/04/05 23:10:17.810 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:10:17.913 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:17.914 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:17.915 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [2025/04/05 23:10:17.923 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:17.926 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:17.926 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/05 23:10:17.926 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=73.665µs] [2025/04/05 23:10:17.926 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=217.208µs] [] [2025/04/05 23:10:17.926 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:17.926 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:10:17.961 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:17.981 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/05 23:10:17.982 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:17.989 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:17.989 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:17.990 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:17.990 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:17.990 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:17.990 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:17.990 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:17.990 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:17.991 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:17.991 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:18.003 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:18.005 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:18.005 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:18.005 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=38] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:18.005 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:18.005 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=38] [disk-quota=348.5GiB] [2025/04/05 23:10:18.013 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=import] [2025/04/05 23:10:18.013 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [2025/04/05 23:10:18.017 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:18.020 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=38] [mode=Import] [2025/04/05 23:10:18.022 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:18.022 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/05 23:10:18.041 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [2025/04/05 23:10:18.043 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [readDur=1.008341ms] [encodeDur=387.371µs] [checksum="{cksum=12736467198054628245,size=164,kvs=4}"] [deliverDur=230.032µs] [type=file] [takeTime=1.874212ms] [] [2025/04/05 23:10:18.043 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/05 23:10:18.043 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=164] [kvs=4] [files=1] [sstFileSize=1017] [file=/tmp/tidb/import-4000/38/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/486eea0e-8d23-44d3-bd00-635a8f6bfc96.sst] [firstKey=7480000000000000EE5F728000000000000001] [lastKey=7480000000000000EE5F728000000000000004] [2025/04/05 23:10:18.049 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=38] [2025/04/05 23:10:18.056 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [2025/04/05 23:10:18.059 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [readDur=962.52µs] [encodeDur=618.717µs] [checksum="{cksum=17165499041007397678,size=205,kvs=5}"] [deliverDur=300.746µs] [type=file] [takeTime=2.125347ms] [] [2025/04/05 23:10:18.059 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=205] [kvs=5] [files=1] [sstFileSize=1032] [file=/tmp/tidb/import-4000/38/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/15d1e452-96a7-4477-b14c-1ef76cbe5ce7.sst] [firstKey=7480000000000000EE5F72800000000000000F] [lastKey=7480000000000000EE5F728000000000000013] [2025/04/05 23:10:18.059 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/05 23:10:18.059 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/05 23:10:18.059 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:18.062 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.59395ms] [] [2025/04/05 23:10:18.062 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:18.067 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:18.089 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/05 23:10:18.089 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:18.091 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ee5f728000000000000001] [endOfAllRanges=7480000000000000ee5f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffee5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffee5f728000000000ff0000140000000000fa] [2025/04/05 23:10:18.102 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/05 23:10:18.104 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.572777ms] [] [2025/04/05 23:10:18.104 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:18.105 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.136861ms] [] [2025/04/05 23:10:18.105 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/05 23:10:18.105 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:18.107 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.356001ms] [] [2025/04/05 23:10:18.107 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:18.110 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:18.110 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.65386ms] [] [2025/04/05 23:10:18.110 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:18.111 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.024244ms] [] [2025/04/05 23:10:18.112 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [takeTime=98.366122ms] [] [2025/04/05 23:10:18.112 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=import] [takeTime=98.529265ms] [] [2025/04/05 23:10:18.216 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:18.218 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:18.219 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:18.219 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:18.247 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 23:10:18.248 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:18.248 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:10:18.250 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:18.250 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/05 23:10:18.253 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:18.253 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:18.253 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:18.253 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:18.253 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:18.253 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:18.253 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:18.253 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:18.253 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:18.253 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:18.253 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:18.253 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-37] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:18.255 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:18.255 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:18.255 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:18.255 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:18.255 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=249.736955ms] [] [2025/04/05 23:10:18.255 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/05 23:10:18.280 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:18.300 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:18.306 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=post-process] [2025/04/05 23:10:18.306 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/05 23:10:18.306 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/05 23:10:18.307 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/05 23:10:18.312 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=5.453518ms] [] [2025/04/05 23:10:18.312 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [groupId=-1] [size=369] [kvs=9] [checksum=6843535201192644795] [2025/04/05 23:10:18.312 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [checksum="{cksum=6843535201192644795,size=369,kvs=9}"] [2025/04/05 23:10:18.312 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [weight=30] [2025/04/05 23:10:18.312 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [concurrency=15] [2025/04/05 23:10:18.314 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=238] [physicalTableID=238] [indexID=-1] [checksum=6843535201192644795] [totalKvs=9] [totalBytes=369] [2025/04/05 23:10:18.314 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:18.315 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [local="{cksum=6843535201192644795,size=369,kvs=9}"] [2025/04/05 23:10:18.315 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=8.050613ms] [] [2025/04/05 23:10:18.315 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=8.177507ms] [] [2025/04/05 23:10:18.315 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=post-process] [takeTime=8.334557ms] [] [2025/04/05 23:10:18.339 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:18.416 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:18.417 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=38] [step=post-process] [state=running] [] [2025/04/05 23:10:18.419 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=38] [2025/04/05 23:10:18.448 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=147.943764ms] [] [2025/04/05 23:10:18.448 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/05 23:10:18.512 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=38] [2025/04/05 23:10:18.518 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:18.518 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=38] [2025/04/05 23:10:18.540 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:18.711 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.995268285\n# Parse_time: 0.000105399\n# Compile_time: 0.000599033\n# Rewrite_time: 0.000183579\n# Optimize_time: 0.000273789\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 58d360ce67e24b4d18a606f88f2f459d57f87ba3f12a22d674a5660c2ce18713\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC4zbXMsIG9wZW46NzMzbnMsIGNsb3NlOjY4NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC4zbXMsIG9wZW46NzMzbnMsIGNsb3NlOjY4NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:10:18.726 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:18.726 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:10:18.731 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:18.739 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 240, Table Name: t, Old Table ID: 238, Old Table Name: t)"] [2025/04/05 23:10:18.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=2.166792ms] [gotSchemaVersion=165] [phyTblIDs="[238,240]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:18.759 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=165] [2025/04/05 23:10:18.761 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=9.708899ms] [job="ID:241, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:18.772 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=241] [tableIDs="[238]"] [comment="truncate table: table ID"] [2025/04/05 23:10:18.777 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="truncate table"] [2025/04/05 23:10:18.778 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:18.794 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/05 23:10:18.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=165] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 23:10:18.801 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:18.844 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:18.862 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=39] [task-id=39] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:10:18.876 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=39] [2025/04/05 23:10:18.876 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:10:18.978 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:18.980 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:18.981 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [2025/04/05 23:10:18.988 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:18.990 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:18.990 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/05 23:10:18.990 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=55.959µs] [2025/04/05 23:10:18.990 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=154.068µs] [] [2025/04/05 23:10:18.990 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:18.990 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:10:19.020 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=39] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:19.040 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/05 23:10:19.040 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:19.047 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:19.047 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:19.047 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:19.048 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:19.048 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:19.048 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:19.048 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:19.048 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:19.048 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:19.048 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:19.060 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:19.061 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:19.061 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:19.061 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=39] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:19.062 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:19.062 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=39] [disk-quota=348.5GiB] [2025/04/05 23:10:19.069 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=import] [2025/04/05 23:10:19.069 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [2025/04/05 23:10:19.072 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:19.075 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.076 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/05 23:10:19.085 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=39] [mode=Import] [2025/04/05 23:10:19.089 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [2025/04/05 23:10:19.090 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [readDur=66.812µs] [encodeDur=310.445µs] [checksum="{cksum=7570671136109282668,size=123,kvs=3}"] [deliverDur=258.701µs] [type=file] [takeTime=873.932µs] [] [2025/04/05 23:10:19.090 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/05 23:10:19.090 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=123] [kvs=3] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/39/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/d9df7b06-2002-43db-be17-0154af7b3684.sst] [firstKey=7480000000000000F05F728000000000000001] [lastKey=7480000000000000F05F728000000000000003] [2025/04/05 23:10:19.104 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=39] [2025/04/05 23:10:19.110 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [2025/04/05 23:10:19.110 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [readDur=114.161µs] [encodeDur=312.776µs] [checksum="{cksum=5624564024173586417,size=164,kvs=4}"] [deliverDur=234.963µs] [type=file] [takeTime=837.53µs] [] [2025/04/05 23:10:19.111 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=164] [kvs=4] [files=1] [sstFileSize=1017] [file=/tmp/tidb/import-4000/39/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/fe9f8d01-e698-4f30-97e6-3c3201e922e9.sst] [firstKey=7480000000000000F05F72800000000000000F] [lastKey=7480000000000000F05F728000000000000012] [2025/04/05 23:10:19.111 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/05 23:10:19.111 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/05 23:10:19.111 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:19.113 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.183385ms] [] [2025/04/05 23:10:19.113 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:19.118 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:19.139 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=7] [size=287] [2025/04/05 23:10:19.139 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:19.141 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f05f728000000000000001] [endOfAllRanges=7480000000000000f05f728000000000000013] [startKeyOfFirstRegion=7480000000000000fff05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff05f728000000000ff0000130000000000fa] [2025/04/05 23:10:19.152 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=287] [kvs=7] [importedSize=287] [importedCount=7] [2025/04/05 23:10:19.154 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.34247ms] [] [2025/04/05 23:10:19.154 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:19.155 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.092714ms] [] [2025/04/05 23:10:19.155 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/05 23:10:19.155 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.157 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.401968ms] [] [2025/04/05 23:10:19.157 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:19.160 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.160 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.482277ms] [] [2025/04/05 23:10:19.160 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.161 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=817.116µs] [] [2025/04/05 23:10:19.161 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [takeTime=92.370063ms] [] [2025/04/05 23:10:19.161 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=import] [takeTime=92.490803ms] [] [2025/04/05 23:10:19.183 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:19.184 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:19.185 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:19.185 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:19.215 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":7}"] [2025/04/05 23:10:19.216 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:19.216 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:10:19.247 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:19.253 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/05 23:10:19.260 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:19.260 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:19.260 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:19.260 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:19.260 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:19.260 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:19.260 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:19.260 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:19.260 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:19.260 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:19.260 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-38] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:19.260 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:19.262 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:19.262 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:19.262 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:19.262 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:19.262 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=200.578935ms] [] [2025/04/05 23:10:19.264 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:19.271 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=post-process] [2025/04/05 23:10:19.271 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/05 23:10:19.271 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/05 23:10:19.271 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/05 23:10:19.277 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=5.688963ms] [] [2025/04/05 23:10:19.277 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [groupId=-1] [size=287] [kvs=7] [checksum=2818719448718254749] [2025/04/05 23:10:19.277 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [checksum="{cksum=2818719448718254749,size=287,kvs=7}"] [2025/04/05 23:10:19.277 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [weight=30] [2025/04/05 23:10:19.277 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [concurrency=15] [2025/04/05 23:10:19.279 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=240] [physicalTableID=240] [indexID=-1] [checksum=2818719448718254749] [totalKvs=7] [totalBytes=287] [2025/04/05 23:10:19.279 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:19.280 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [local="{cksum=2818719448718254749,size=287,kvs=7}"] [2025/04/05 23:10:19.280 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=8.257327ms] [] [2025/04/05 23:10:19.280 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=8.397115ms] [] [2025/04/05 23:10:19.280 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=post-process] [takeTime=8.5239ms] [] [2025/04/05 23:10:19.299 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:19.383 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:19.383 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=39] [step=post-process] [state=running] [] [2025/04/05 23:10:19.386 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=39] [2025/04/05 23:10:19.414 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=150.048053ms] [] [2025/04/05 23:10:19.414 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=39] [type=ImportInto] [2025/04/05 23:10:19.478 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.68316458\n# Parse_time: 0.00010693\n# Compile_time: 0.000527685\n# Rewrite_time: 0.000169304\n# Optimize_time: 0.00023841\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 1431ef0f8152ec147cf77c85ee9c8be43939ce00a132572b45fe6bd8841230f7\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Mi4zbXMsIG9wZW46NjE2bnMsIGNsb3NlOjY5MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Mi4zbXMsIG9wZW46NjE2bnMsIGNsb3NlOjY5MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=1;"] [2025/04/05 23:10:19.478 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=39] [2025/04/05 23:10:19.485 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:19.485 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=39] [2025/04/05 23:10:19.493 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:19.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:19.493 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:19.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:10:19.499 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:19.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:19.506 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:19.507 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 242, Table Name: t, Old Table ID: 240, Old Table Name: t)"] [2025/04/05 23:10:19.524 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.126806ms] [gotSchemaVersion=166] [phyTblIDs="[240,242]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:19.528 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=166] [2025/04/05 23:10:19.529 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=166] ["take time"=9.391137ms] [job="ID:243, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:19.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:19.540 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=243] [tableIDs="[240]"] [comment="truncate table: table ID"] [2025/04/05 23:10:19.544 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="truncate table"] [2025/04/05 23:10:19.545 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:19.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:19.563 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/05 23:10:19.563 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=166] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 23:10:19.569 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:19.613 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"3\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:19.632 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=40] [task-id=40] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:10:19.646 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=40] [2025/04/05 23:10:19.646 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:10:19.749 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:19.750 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:19.751 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [2025/04/05 23:10:19.760 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:19.762 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:19.762 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/05 23:10:19.762 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=65.254µs] [2025/04/05 23:10:19.763 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=188.79µs] [] [2025/04/05 23:10:19.763 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:19.763 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:10:19.800 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:19.820 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/05 23:10:19.820 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:19.828 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:19.828 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:19.828 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:19.828 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:19.829 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:19.829 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:19.829 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:19.829 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:19.829 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:19.829 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:19.841 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:19.843 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:19.843 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:19.843 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=40] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:19.843 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=40] [disk-quota=348.5GiB] [2025/04/05 23:10:19.843 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:19.851 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=import] [2025/04/05 23:10:19.851 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [2025/04/05 23:10:19.854 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:19.855 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=40] [mode=Import] [2025/04/05 23:10:19.858 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.858 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/05 23:10:19.874 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=40] [2025/04/05 23:10:19.878 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [2025/04/05 23:10:19.879 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [readDur=59.971µs] [encodeDur=370.631µs] [checksum="{cksum=16041078963605923607,size=41,kvs=1}"] [deliverDur=211.246µs] [type=file] [takeTime=933.411µs] [] [2025/04/05 23:10:19.879 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/05 23:10:19.879 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=41] [kvs=1] [files=1] [sstFileSize=939] [file=/tmp/tidb/import-4000/40/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/3488803e-e3dd-4ae4-8b30-67123c5a9498.sst] [firstKey=7480000000000000F25F728000000000000001] [lastKey=7480000000000000F25F728000000000000001] [2025/04/05 23:10:19.898 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [2025/04/05 23:10:19.900 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [readDur=70.835µs] [encodeDur=888.86µs] [checksum="{cksum=4333126819455252683,size=82,kvs=2}"] [deliverDur=256.889µs] [type=file] [takeTime=1.40649ms] [] [2025/04/05 23:10:19.900 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/40/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/caf19cab-b018-47eb-8b39-74b1c08ba875.sst] [firstKey=7480000000000000F25F72800000000000000F] [lastKey=7480000000000000F25F728000000000000010] [2025/04/05 23:10:19.901 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/05 23:10:19.901 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/05 23:10:19.901 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:19.903 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.892987ms] [] [2025/04/05 23:10:19.903 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:19.907 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:19.929 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=123] [2025/04/05 23:10:19.929 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:19.931 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f25f728000000000000001] [endOfAllRanges=7480000000000000f25f728000000000000011] [startKeyOfFirstRegion=7480000000000000fff25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff25f728000000000ff0000110000000000fa] [2025/04/05 23:10:19.942 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=123] [kvs=3] [importedSize=123] [importedCount=3] [2025/04/05 23:10:19.944 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.783477ms] [] [2025/04/05 23:10:19.944 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:19.945 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.095738ms] [] [2025/04/05 23:10:19.945 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/05 23:10:19.945 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.946 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.609468ms] [] [2025/04/05 23:10:19.947 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:19.950 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.950 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.627088ms] [] [2025/04/05 23:10:19.950 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:19.951 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=948.804µs] [] [2025/04/05 23:10:19.951 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [takeTime=100.631264ms] [] [2025/04/05 23:10:19.952 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=import] [takeTime=101.658421ms] [] [2025/04/05 23:10:20.054 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:20.056 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:20.057 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:20.057 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:20.087 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":3}"] [2025/04/05 23:10:20.088 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:20.088 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:10:20.098 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:20.098 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/05 23:10:20.102 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:20.102 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:20.102 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:20.102 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:20.102 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:20.102 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:20.102 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:20.102 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:20.102 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-39] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:20.102 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:20.102 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:20.102 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:20.104 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:20.104 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:20.104 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:20.105 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:20.105 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=261.459909ms] [] [2025/04/05 23:10:20.105 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/05 23:10:20.121 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:10:20.141 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:10:20.148 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=77] [step=post-process] [2025/04/05 23:10:20.148 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/05 23:10:20.149 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/05 23:10:20.149 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/05 23:10:20.155 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=6.106105ms] [] [2025/04/05 23:10:20.155 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [groupId=-1] [size=123] [kvs=3] [checksum=16338786432462217180] [2025/04/05 23:10:20.155 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [checksum="{cksum=16338786432462217180,size=123,kvs=3}"] [2025/04/05 23:10:20.155 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [weight=30] [2025/04/05 23:10:20.155 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [concurrency=15] [2025/04/05 23:10:20.157 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=242] [physicalTableID=242] [indexID=-1] [checksum=16338786432462217180] [totalKvs=3] [totalBytes=123] [2025/04/05 23:10:20.158 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:20.158 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [local="{cksum=16338786432462217180,size=123,kvs=3}"] [2025/04/05 23:10:20.158 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=9.149771ms] [] [2025/04/05 23:10:20.158 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=9.346334ms] [] [2025/04/05 23:10:20.158 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=77] [step=post-process] [takeTime=9.51782ms] [] [2025/04/05 23:10:20.179 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:20.255 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:20.255 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=40] [step=post-process] [state=running] [] [2025/04/05 23:10:20.257 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=40] [2025/04/05 23:10:20.277 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=135.636683ms] [] [2025/04/05 23:10:20.277 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/05 23:10:20.349 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=40] [2025/04/05 23:10:20.355 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:20.355 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=40] [2025/04/05 23:10:20.378 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:20.550 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.986235982\n# Parse_time: 0.000092917\n# Compile_time: 0.000663402\n# Rewrite_time: 0.000169368\n# Optimize_time: 0.000265124\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 1431ef0f8152ec147cf77c85ee9c8be43939ce00a132572b45fe6bd8841230f7\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4ybXMsIG9wZW46NzIybnMsIGNsb3NlOjg5Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS4ybXMsIG9wZW46NzIybnMsIGNsb3NlOjg5Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=3;"] --- PASS: TestImportInto/TestIgnoreNLines (3.10s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoPrivilegePositiveCase [2025/04/05 23:10:20.566 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:20.566 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/05 23:10:20.571 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.590 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.309318ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[2,2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:20.594 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=167] [2025/04/05 23:10:20.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=10.818065ms] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.606 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.620 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=150.627µs] [gotSchemaVersion=168] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:20.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=168] [2025/04/05 23:10:20.626 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=7.721036ms] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.634 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.640 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:20.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=129.656µs] [gotSchemaVersion=169] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:20.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=169] [2025/04/05 23:10:20.656 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=7.350948ms] [job="ID:244, Type:drop schema, State:done, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.665 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=244] [tableIDs="[171,172,173,174,175,176]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:20.671 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="drop schema"] [2025/04/05 23:10:20.672 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:synced, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.790 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=244] [2025/04/05 23:10:20.791 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=169] [cur_db=load_data] [sql="drop database if exists import_into"] [user=root@%] [2025/04/05 23:10:20.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:20.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/05 23:10:20.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=760.064µs] [gotSchemaVersion=170] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:20.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=170] [2025/04/05 23:10:20.835 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=9.862487ms] [job="ID:246, Type:create schema, State:done, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.846 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:synced, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.857 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=246] [2025/04/05 23:10:20.857 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=170] [cur_db=load_data] [sql="create database import_into"] [user=root@%] [2025/04/05 23:10:20.872 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:20.872 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:10:20.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.882 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 247, Table Name: t)"] [2025/04/05 23:10:20.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=1.949044ms] [gotSchemaVersion=171] [phyTblIDs="[247]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:20.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=248] [version=171] [2025/04/05 23:10:20.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=9.626268ms] [job="ID:248, Type:create table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:20.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:20.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:20.928 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=248] [2025/04/05 23:10:20.928 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:10:20.991 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="DROP USER IF EXISTS 'test_import_into'@'localhost';"] [user=root@%] [2025/04/05 23:10:21.030 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="create user test_import_into@localhost"] [user=root@%] [2025/04/05 23:10:21.076 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT SELECT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 23:10:21.118 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT UPDATE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 23:10:21.159 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT INSERT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 23:10:21.201 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT DELETE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 23:10:21.242 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT ALTER on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 23:10:21.249 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:21.297 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:21.317 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=41] [task-id=41] [data-size=21B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:21.331 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=41] [2025/04/05 23:10:21.331 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:21.434 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:21.435 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:21.436 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [2025/04/05 23:10:21.444 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:21.446 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:21.446 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/05 23:10:21.446 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=51.993µs] [2025/04/05 23:10:21.446 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=140.01µs] [] [2025/04/05 23:10:21.447 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:21.447 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:21.481 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:21.501 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/05 23:10:21.501 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:21.509 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:21.509 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:21.510 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:21.510 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:21.510 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:21.510 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:21.510 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:21.510 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:21.511 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:21.511 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:21.523 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:21.525 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:21.525 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:21.525 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=41] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:21.525 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=41] [disk-quota=348.5GiB] [2025/04/05 23:10:21.525 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:21.532 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=import] [2025/04/05 23:10:21.532 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [2025/04/05 23:10:21.536 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:21.539 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:21.540 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=247] [2025/04/05 23:10:21.540 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=41] [mode=Import] [2025/04/05 23:10:21.560 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=41] [2025/04/05 23:10:21.578 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [2025/04/05 23:10:21.581 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [readDur=1.095413ms] [encodeDur=375.999µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=311.518µs] [type=file] [takeTime=2.078852ms] [] [2025/04/05 23:10:21.581 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/41/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/766848ed-976f-4afa-95ca-38eb718fbc49.sst] [firstKey=7480000000000000F75F728000000000000001] [lastKey=7480000000000000F75F728000000000000002] [2025/04/05 23:10:21.582 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/05 23:10:21.582 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/05 23:10:21.582 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:21.584 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.447254ms] [] [2025/04/05 23:10:21.584 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:10:21.589 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:21.610 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/05 23:10:21.611 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:21.612 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f75f728000000000000001] [endOfAllRanges=7480000000000000f75f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff75f728000000000ff0000030000000000fa] [2025/04/05 23:10:21.624 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 23:10:21.626 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=41.629514ms] [] [2025/04/05 23:10:21.626 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:21.627 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.033426ms] [] [2025/04/05 23:10:21.627 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/05 23:10:21.627 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:21.629 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.681866ms] [] [2025/04/05 23:10:21.629 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:10:21.633 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:21.633 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=4.041667ms] [] [2025/04/05 23:10:21.633 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:21.634 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=943.808µs] [] [2025/04/05 23:10:21.634 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [takeTime=101.941056ms] [] [2025/04/05 23:10:21.634 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=import] [takeTime=102.077114ms] [] [2025/04/05 23:10:21.739 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:21.741 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:21.743 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:21.743 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:21.774 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:21.775 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:21.775 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:21.783 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:21.783 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/05 23:10:21.786 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:21.786 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:21.786 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:21.786 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:21.786 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:21.786 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:21.786 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:21.786 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:21.786 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-40] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:21.786 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:21.786 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:21.786 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:21.788 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:21.788 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:21.788 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:21.788 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:21.788 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=263.341514ms] [] [2025/04/05 23:10:21.788 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/05 23:10:21.811 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:21.831 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:21.838 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=post-process] [2025/04/05 23:10:21.838 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/05 23:10:21.839 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/05 23:10:21.839 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/05 23:10:21.845 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=5.975302ms] [] [2025/04/05 23:10:21.845 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/05 23:10:21.845 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 23:10:21.845 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [weight=30] [2025/04/05 23:10:21.845 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [concurrency=15] [2025/04/05 23:10:21.847 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=247] [physicalTableID=247] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/05 23:10:21.847 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:21.847 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 23:10:21.847 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=8.545617ms] [] [2025/04/05 23:10:21.847 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=8.699167ms] [] [2025/04/05 23:10:21.847 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=post-process] [takeTime=8.847123ms] [] [2025/04/05 23:10:21.874 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:21.939 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:21.939 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=41] [step=post-process] [state=running] [] [2025/04/05 23:10:21.942 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=41] [2025/04/05 23:10:21.965 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=134.287214ms] [] [2025/04/05 23:10:21.965 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/05 23:10:22.034 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=41] [2025/04/05 23:10:22.039 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:22.039 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=41] [2025/04/05 23:10:22.061 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:22.236 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_import_into[test_import_into] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.99353395\n# Parse_time: 0.000097998\n# Compile_time: 0.000572762\n# Rewrite_time: 0.000169224\n# Optimize_time: 0.000276594\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi42bXMsIG9wZW46NjQ1bnMsIGNsb3NlOjkwOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi42bXMsIG9wZW46NjQ1bnMsIGNsb3NlOjkwOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:10:22.240 +00:00] [INFO] [sem.go:79] ["tidb-server is operating with security enhanced mode (SEM) enabled"] [2025/04/05 23:10:22.252 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:22.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:10:22.252 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:22.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:22.257 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:22.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:22.265 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 249, Table Name: t, Old Table ID: 247, Old Table Name: t)"] [2025/04/05 23:10:22.281 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.878403ms] [gotSchemaVersion=172] [phyTblIDs="[247,249]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:22.285 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=172] [2025/04/05 23:10:22.287 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=9.168552ms] [job="ID:250, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:22.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:22.298 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=250] [tableIDs="[247]"] [comment="truncate table: table ID"] [2025/04/05 23:10:22.302 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="truncate table"] [2025/04/05 23:10:22.303 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:22.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:22.320 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/05 23:10:22.321 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/05 23:10:22.327 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:22.373 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:22.392 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=42] [task-id=42] [data-size=21B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:22.406 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=42] [2025/04/05 23:10:22.406 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:22.509 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:22.511 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:22.512 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [2025/04/05 23:10:22.520 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:22.522 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:22.522 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/05 23:10:22.522 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=53.592µs] [2025/04/05 23:10:22.523 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.61µs] [] [2025/04/05 23:10:22.523 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:22.523 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:22.561 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:22.581 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/05 23:10:22.581 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:22.589 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:22.589 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:22.589 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:22.589 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:22.589 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:22.589 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:22.589 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:22.590 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:22.590 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:22.590 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:22.605 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:22.607 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:22.607 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:22.607 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=42] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:22.607 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=42] [disk-quota=348.5GiB] [2025/04/05 23:10:22.607 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:22.615 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=42] [mode=Import] [2025/04/05 23:10:22.615 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=import] [2025/04/05 23:10:22.615 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [2025/04/05 23:10:22.619 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:22.623 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:22.624 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=249] [2025/04/05 23:10:22.635 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=42] [2025/04/05 23:10:22.637 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [2025/04/05 23:10:22.639 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [readDur=888.145µs] [encodeDur=378.453µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=276.075µs] [type=file] [takeTime=1.886057ms] [] [2025/04/05 23:10:22.639 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/42/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/d5e95bd0-ff6d-47a6-9dbe-200cecf7ae7f.sst] [firstKey=7480000000000000F95F728000000000000001] [lastKey=7480000000000000F95F728000000000000002] [2025/04/05 23:10:22.639 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/05 23:10:22.640 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/05 23:10:22.640 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:22.642 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.073066ms] [] [2025/04/05 23:10:22.642 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:10:22.646 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:22.667 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/05 23:10:22.667 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:22.669 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f95f728000000000000001] [endOfAllRanges=7480000000000000f95f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff95f728000000000ff0000030000000000fa] [2025/04/05 23:10:22.680 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 23:10:22.682 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=40.066751ms] [] [2025/04/05 23:10:22.682 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:22.683 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.04835ms] [] [2025/04/05 23:10:22.683 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/05 23:10:22.683 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:22.685 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.438543ms] [] [2025/04/05 23:10:22.685 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:10:22.688 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:22.688 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.591397ms] [] [2025/04/05 23:10:22.688 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:22.689 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=868.264µs] [] [2025/04/05 23:10:22.689 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [takeTime=74.093645ms] [] [2025/04/05 23:10:22.689 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=import] [takeTime=74.24303ms] [] [2025/04/05 23:10:22.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:10:22.714 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:22.716 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:22.717 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:22.717 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:22.750 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:22.751 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:22.751 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:22.775 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:22.782 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/05 23:10:22.785 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:22.785 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:22.785 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:22.785 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:22.785 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:22.785 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:22.785 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:22.785 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:22.785 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:22.785 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-41] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:22.785 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:22.785 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:22.787 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:22.787 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:22.787 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:22.787 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:22.787 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=179.772182ms] [] [2025/04/05 23:10:22.788 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:22.796 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=post-process] [2025/04/05 23:10:22.796 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/05 23:10:22.796 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/05 23:10:22.796 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/05 23:10:22.802 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=5.932355ms] [] [2025/04/05 23:10:22.802 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/05 23:10:22.802 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 23:10:22.802 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [weight=30] [2025/04/05 23:10:22.802 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [concurrency=15] [2025/04/05 23:10:22.804 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=249] [physicalTableID=249] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/05 23:10:22.804 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:22.804 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 23:10:22.804 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.431261ms] [] [2025/04/05 23:10:22.804 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.577119ms] [] [2025/04/05 23:10:22.804 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=post-process] [takeTime=8.711992ms] [] [2025/04/05 23:10:22.830 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:22.914 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:22.914 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=42] [step=post-process] [state=running] [] [2025/04/05 23:10:22.917 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=42] [2025/04/05 23:10:22.944 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=155.543271ms] [] [2025/04/05 23:10:22.944 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/05 23:10:23.009 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_import_into[test_import_into] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.68737212\n# Parse_time: 0.000063792\n# Compile_time: 0.000543372\n# Rewrite_time: 0.000150862\n# Optimize_time: 0.000263222\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ni41bXMsIG9wZW46NjQ2bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4Ni41bXMsIG9wZW46NjQ2bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:10:23.009 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=42] [2025/04/05 23:10:23.013 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1227]Access denied; you need (at least one of) the FILE privilege(s) for this operation"] [errorVerbose="[planner:1227]Access denied; you need (at least one of) the FILE privilege(s) for this operation\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4639\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestImportIntoPrivilegePositiveCase\n\ttests/realtikvtest/importintotest/import_into_test.go:111\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase2999469077/001/file.csv'"] [2025/04/05 23:10:23.015 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:23.015 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=42] [2025/04/05 23:10:23.037 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:23.053 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] ["secure text"="GRANT FILE on *.* to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 23:10:23.066 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:23.066 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:10:23.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.080 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 251, Table Name: t, Old Table ID: 249, Old Table Name: t)"] [2025/04/05 23:10:23.096 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.81567ms] [gotSchemaVersion=173] [phyTblIDs="[249,251]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:23.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=173] [2025/04/05 23:10:23.101 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=9.327846ms] [job="ID:252, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.112 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=252] [tableIDs="[249]"] [comment="truncate table: table ID"] [2025/04/05 23:10:23.116 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=252] [jobType="truncate table"] [2025/04/05 23:10:23.117 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.134 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=252] [2025/04/05 23:10:23.135 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=173] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/05 23:10:23.180 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase2999469077/001/file.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:23.180 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:23.180 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/05 23:10:23.180 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=40.187µs] [2025/04/05 23:10:23.180 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=132.904µs] [] [2025/04/05 23:10:23.200 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=43] [task-id=43] [data-size=21B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:10:23.215 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=43] [2025/04/05 23:10:23.215 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:10:23.318 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:23.319 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:23.320 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [2025/04/05 23:10:23.328 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:23.328 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:10:23.361 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=43] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:10:23.381 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/05 23:10:23.387 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:23.387 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:23.388 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:23.388 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:23.388 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:23.388 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:23.388 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:23.388 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:23.389 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:23.389 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:23.401 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:23.403 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:23.403 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:23.403 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=43] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:23.403 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=43] [disk-quota=348.5GiB] [2025/04/05 23:10:23.403 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:10:23.411 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=import] [2025/04/05 23:10:23.411 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [2025/04/05 23:10:23.414 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:23.418 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:23.418 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=251] [2025/04/05 23:10:23.424 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=43] [mode=Import] [2025/04/05 23:10:23.438 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=251] [key=file.csv:0] [2025/04/05 23:10:23.439 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=251] [key=file.csv:0] [readDur=84.632µs] [encodeDur=282.298µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=239.499µs] [type=file] [takeTime=899.441µs] [] [2025/04/05 23:10:23.440 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=987] [file=/tmp/tidb/import-4000/43/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/ed12c0b1-7c32-4d4b-b6bd-e4391e3e39e5.sst] [firstKey=7480000000000000FB5F728000000000000001] [lastKey=7480000000000000FB5F728000000000000002] [2025/04/05 23:10:23.440 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/05 23:10:23.440 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/05 23:10:23.440 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:23.442 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=43] [2025/04/05 23:10:23.442 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.362288ms] [] [2025/04/05 23:10:23.443 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 23:10:23.447 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:23.468 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/05 23:10:23.468 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:23.470 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000fb5f728000000000000001] [endOfAllRanges=7480000000000000fb5f728000000000000003] [startKeyOfFirstRegion=7480000000000000fffb5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fffb5f728000000000ff0000030000000000fa] [2025/04/05 23:10:23.481 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 23:10:23.482 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=39.787869ms] [] [2025/04/05 23:10:23.482 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 23:10:23.483 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.02109ms] [] [2025/04/05 23:10:23.484 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/05 23:10:23.484 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:23.485 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.430917ms] [] [2025/04/05 23:10:23.485 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 23:10:23.489 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:23.489 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=3.550885ms] [] [2025/04/05 23:10:23.489 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 23:10:23.490 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=959.767µs] [] [2025/04/05 23:10:23.490 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [takeTime=79.14585ms] [] [2025/04/05 23:10:23.490 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=import] [takeTime=79.295582ms] [] [2025/04/05 23:10:23.522 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:23.524 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:23.525 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:23.525 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:23.556 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:23.557 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:23.557 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:10:23.593 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:23.600 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/05 23:10:23.603 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:23.603 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:23.603 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:23.603 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:23.603 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:23.603 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:23.603 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:23.603 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:23.603 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-42] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:23.603 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:23.603 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:23.603 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:23.605 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:23.605 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:23.605 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:23.605 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:23.606 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=202.516923ms] [] [2025/04/05 23:10:23.607 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:10:23.614 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=83] [step=post-process] [2025/04/05 23:10:23.614 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/05 23:10:23.615 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/05 23:10:23.615 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/05 23:10:23.620 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=5.644911ms] [] [2025/04/05 23:10:23.620 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/05 23:10:23.620 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 23:10:23.620 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [weight=30] [2025/04/05 23:10:23.620 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [concurrency=15] [2025/04/05 23:10:23.622 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=251] [physicalTableID=251] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/05 23:10:23.623 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:23.623 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 23:10:23.623 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=8.406595ms] [] [2025/04/05 23:10:23.623 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=8.540291ms] [] [2025/04/05 23:10:23.623 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=83] [step=post-process] [takeTime=8.675159ms] [] [2025/04/05 23:10:23.659 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:23.722 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:23.722 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=43] [step=post-process] [state=running] [] [2025/04/05 23:10:23.725 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=43] [2025/04/05 23:10:23.743 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=136.183014ms] [] [2025/04/05 23:10:23.743 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=43] [type=ImportInto] [2025/04/05 23:10:23.817 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=43] [2025/04/05 23:10:23.818 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_import_into[test_import_into] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.682399514\n# Parse_time: 0.00007072\n# Compile_time: 0.000557466\n# Rewrite_time: 0.000163013\n# Optimize_time: 0.000314895\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MS41bXMsIG9wZW46NjQ3bnMsIGNsb3NlOjg1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4MS41bXMsIG9wZW46NjQ3bnMsIGNsb3NlOjg1OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `import_into`.`t` FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase2999469077/001/file.csv';"] --- PASS: TestImportInto/TestImportIntoPrivilegePositiveCase (3.27s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoWithFK [2025/04/05 23:10:23.823 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:23.823 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=43] [2025/04/05 23:10:23.834 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:23.834 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/05 23:10:23.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.845 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:23.858 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.73807ms] [gotSchemaVersion=174] [phyTblIDs="[251]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:23.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=174] [2025/04/05 23:10:23.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=8.8623ms] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.873 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=136.555µs] [gotSchemaVersion=175] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:23.889 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=175] [2025/04/05 23:10:23.890 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=7.188342ms] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.904 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:23.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=153.675µs] [gotSchemaVersion=176] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:23.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=176] [2025/04/05 23:10:23.919 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=7.262887ms] [job="ID:253, Type:drop schema, State:done, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.928 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=253] [tableIDs="[251]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:23.932 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=253] [jobType="drop schema"] [2025/04/05 23:10:23.933 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:synced, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.949 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/05 23:10:23.949 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=176] [cur_db=] [sql="drop database if exists import_into"] [user=root@%] [2025/04/05 23:10:23.961 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:23.961 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/05 23:10:23.969 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=764.677µs] [gotSchemaVersion=177] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:23.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=177] [2025/04/05 23:10:23.988 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=8.015374ms] [job="ID:255, Type:create schema, State:done, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:23.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:23.998 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:synced, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:23.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=255] [2025/04/05 23:10:24.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=177] [cur_db=] [sql="create database import_into"] [user=root@%] [2025/04/05 23:10:24.021 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:24.022 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key);"] [2025/04/05 23:10:24.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:24.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.031 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 256, Table Name: parent)"] [2025/04/05 23:10:24.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.554945ms] [gotSchemaVersion=178] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:24.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=178] [2025/04/05 23:10:24.051 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=178] ["take time"=8.800948ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.062 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:24.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.072 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/05 23:10:24.073 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=178] [cur_db=import_into] [sql="create table parent (id int primary key);"] [user=root@%] [2025/04/05 23:10:24.086 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:24.086 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [2025/04/05 23:10:24.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.806122ms] [gotSchemaVersion=179] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:24.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=179] [2025/04/05 23:10:24.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=9.190933ms] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.124 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.129 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 258, Table Name: child)"] [2025/04/05 23:10:24.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=2.035759ms] [gotSchemaVersion=180] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:24.149 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=180] [2025/04/05 23:10:24.151 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=180] ["take time"=9.238667ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.161 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:24.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:24.173 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/05 23:10:24.173 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=180] [cur_db=import_into] [sql="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [user=root@%] [2025/04/05 23:10:24.180 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:24.225 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:24.245 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=44] [task-id=44] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:24.259 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=44] [2025/04/05 23:10:24.259 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:24.362 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:24.363 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:24.365 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [2025/04/05 23:10:24.372 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:24.375 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=child] [2025/04/05 23:10:24.375 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=child] [before=536870912000] [after=8] [2025/04/05 23:10:24.375 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=child] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=51.875µs] [2025/04/05 23:10:24.375 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=child] [takeTime=141.731µs] [] [2025/04/05 23:10:24.375 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:24.375 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:24.411 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=44] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:24.431 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/05 23:10:24.431 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:24.439 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:24.440 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:24.440 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:24.440 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:24.440 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:24.440 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:24.440 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:24.441 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:24.441 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:24.441 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:24.453 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:24.455 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:24.455 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=child] [quota=374.2GB] [2025/04/05 23:10:24.455 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=44] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:24.455 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=child] [import-id=44] [disk-quota=348.5GiB] [2025/04/05 23:10:24.455 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:24.463 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=import] [2025/04/05 23:10:24.463 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [2025/04/05 23:10:24.467 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/05 23:10:24.468 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=44] [mode=Import] [2025/04/05 23:10:24.471 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/05 23:10:24.471 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=258] [2025/04/05 23:10:24.491 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=44] [2025/04/05 23:10:24.511 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=258] [key=child.csv:0] [2025/04/05 23:10:24.513 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=258] [key=child.csv:0] [readDur=1.05507ms] [encodeDur=385.785µs] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [deliverDur=418.687µs] [type=file] [takeTime=2.297852ms] [] [2025/04/05 23:10:24.515 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=58] [kvs=2] [files=1] [sstFileSize=974] [file=/tmp/tidb/import-4000/44/6cb30ba2-e19b-5956-98c4-24bd955c910a.sst/319c2a43-eae7-464a-8f8b-edc1d080c87b.sst] [firstKey=7480000000000001025F728000000000000001] [lastKey=7480000000000001025F728000000000000002] [2025/04/05 23:10:24.515 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/05 23:10:24.515 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/05 23:10:24.515 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/05 23:10:24.517 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=2.32548ms] [] [2025/04/05 23:10:24.517 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [2025/04/05 23:10:24.522 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:24.544 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] ["region ranges"=1] [count=2] [size=58] [2025/04/05 23:10:24.544 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:24.546 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f728000000000000001] [endOfAllRanges=7480000000000001025f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff025f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff025f728000000000ff0000030000000000fa] [2025/04/05 23:10:24.558 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 23:10:24.560 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [takeTime=42.096019ms] [] [2025/04/05 23:10:24.560 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/05 23:10:24.561 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.311292ms] [] [2025/04/05 23:10:24.561 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/05 23:10:24.561 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/05 23:10:24.561 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=1006] [file=/tmp/tidb/import-4000/44/09ee1db8-6b03-5a28-8f53-b1dfdaea150d.sst/18a9ee41-b4c2-45af-b6b4-aaa876f3b726.sst] [firstKey=7480000000000001025F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000001025F698000000000000001038000000000000002038000000000000002] [2025/04/05 23:10:24.564 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=2.622403ms] [] [2025/04/05 23:10:24.564 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [2025/04/05 23:10:24.569 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:24.591 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] ["region ranges"=1] [count=2] [size=76] [2025/04/05 23:10:24.591 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:24.593 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000001025f69800000000000000103800000000000000203800000000000000200] [startKeyOfFirstRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000203800000ff0000000002000000fd] [2025/04/05 23:10:24.603 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/05 23:10:24.605 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [takeTime=40.836162ms] [] [2025/04/05 23:10:24.605 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/05 23:10:24.606 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=1.15363ms] [] [2025/04/05 23:10:24.606 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [takeTime=142.827501ms] [] [2025/04/05 23:10:24.606 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=import] [takeTime=143.044593ms] [] [2025/04/05 23:10:24.667 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:24.668 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:24.669 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:24.669 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:24.698 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:24.700 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:24.700 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:24.734 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:24.740 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/05 23:10:24.745 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:24.745 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:24.745 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:24.745 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:24.745 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:24.745 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:24.745 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:24.745 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:24.745 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:24.745 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-43] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:24.745 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:24.745 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:24.747 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:24.747 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:24.747 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:24.747 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:24.747 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=291.839875ms] [] [2025/04/05 23:10:24.749 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:24.757 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=post-process] [2025/04/05 23:10:24.757 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/05 23:10:24.757 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/05 23:10:24.757 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/05 23:10:24.757 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=2.025µs] [] [2025/04/05 23:10:24.757 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 23:10:24.757 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [groupId=1] [size=76] [kvs=2] [checksum=16701486629303771758] [2025/04/05 23:10:24.757 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/05 23:10:24.757 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [weight=30] [2025/04/05 23:10:24.757 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [concurrency=15] [2025/04/05 23:10:24.763 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 23:10:24.765 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=1] [checksum=16701486629303771758] [totalKvs=2] [totalBytes=76] [2025/04/05 23:10:24.765 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:24.765 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [local="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/05 23:10:24.765 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=8.431537ms] [] [2025/04/05 23:10:24.765 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=8.567905ms] [] [2025/04/05 23:10:24.765 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=post-process] [takeTime=8.720983ms] [] [2025/04/05 23:10:24.774 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:24.866 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:24.867 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=44] [step=post-process] [state=running] [] [2025/04/05 23:10:24.869 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=44] [2025/04/05 23:10:24.884 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=134.673245ms] [] [2025/04/05 23:10:24.884 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=44] [type=ImportInto] [2025/04/05 23:10:24.961 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=44] [2025/04/05 23:10:24.967 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:24.967 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=44] [2025/04/05 23:10:24.988 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:25.160 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.98653489\n# Parse_time: 0.000099743\n# Compile_time: 0.00059921\n# Rewrite_time: 0.00017605\n# Optimize_time: 0.000293377\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 0ac55364a925ed2a0ae64f4dad4ce99796ab01003b34f77391697b2d8dbd1b46\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS42bXMsIG9wZW46NjcybnMsIGNsb3NlOjY0Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS42bXMsIG9wZW46NjcybnMsIGNsb3NlOjY0Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse import_into;\nIMPORT INTO `import_into`.`child` FROM 'gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestImportIntoWithFK (1.34s) === NAME TestImportInto === RUN TestImportInto/TestImportMode [2025/04/05 23:10:25.176 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/05 23:10:25.176 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:25.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.199 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.849184ms] [gotSchemaVersion=181] [phyTblIDs="[242]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:25.202 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=181] [2025/04/05 23:10:25.204 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=9.006467ms] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=138.637µs] [gotSchemaVersion=182] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:25.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=182] [2025/04/05 23:10:25.230 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=6.992293ms] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.238 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.244 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:25.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=142.132µs] [gotSchemaVersion=183] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:25.256 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=183] [2025/04/05 23:10:25.258 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=6.862509ms] [job="ID:260, Type:drop schema, State:done, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.266 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=260] [tableIDs="[242]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:25.271 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=260] [jobType="drop schema"] [2025/04/05 23:10:25.272 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:synced, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.287 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=260] [2025/04/05 23:10:25.287 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=183] [cur_db=import_into] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/05 23:10:25.299 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:25.299 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/05 23:10:25.304 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.317 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=631.812µs] [gotSchemaVersion=184] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:25.320 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=184] [2025/04/05 23:10:25.322 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=7.282815ms] [job="ID:262, Type:create schema, State:done, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.332 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:synced, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.341 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/05 23:10:25.341 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=184] [cur_db=import_into] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/05 23:10:25.354 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:25.354 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [2025/04/05 23:10:25.360 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.364 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 263, Table Name: import_mode)"] [2025/04/05 23:10:25.379 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.738078ms] [gotSchemaVersion=185] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:25.383 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=264] [version=185] [2025/04/05 23:10:25.384 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=8.747856ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:25.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.395 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:25.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:25.406 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=264] [2025/04/05 23:10:25.407 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=185] [cur_db=import_into] [sql="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [user=root@%] [2025/04/05 23:10:25.413 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:25.460 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:25.479 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=45] [task-id=45] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:25.493 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=45] [2025/04/05 23:10:25.493 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:25.596 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:25.597 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:25.599 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [2025/04/05 23:10:25.609 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:25.612 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 23:10:25.612 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 23:10:25.612 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=82.687µs] [2025/04/05 23:10:25.612 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=212.858µs] [] [2025/04/05 23:10:25.612 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:25.612 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:25.652 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=45] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:25.673 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/05 23:10:25.674 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:25.682 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:25.682 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:25.683 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:25.683 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:25.683 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:25.683 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:25.683 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:25.683 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:25.684 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:25.684 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:25.697 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:25.699 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:25.699 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/05 23:10:25.700 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=45] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:25.700 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:25.700 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=45] [disk-quota=348.5GiB] [2025/04/05 23:10:25.702 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/05 23:10:25.708 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=45] [2025/04/05 23:10:25.709 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=import] [2025/04/05 23:10:25.709 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [2025/04/05 23:10:25.713 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:25.717 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:25.717 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=263] [2025/04/05 23:10:25.740 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [2025/04/05 23:10:25.742 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [readDur=965.177µs] [encodeDur=313.855µs] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [deliverDur=215.117µs] [type=file] [takeTime=1.850081ms] [] [2025/04/05 23:10:25.743 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/45/1ccc2128-36af-5780-96ac-757ded6634c4.sst/7d7395fd-37a9-448f-beb5-8342aee27f4a.sst] [firstKey=7480000000000001075F728000000000000001] [lastKey=7480000000000001075F728000000000000001] [2025/04/05 23:10:25.743 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/05 23:10:25.743 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/05 23:10:25.743 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:25.745 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=2.126145ms] [] [2025/04/05 23:10:25.745 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 23:10:25.750 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:25.772 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:10:25.772 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:25.774 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001075f728000000000000001] [endOfAllRanges=7480000000000001075f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff075f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff075f728000000000ff0000020000000000fa] [2025/04/05 23:10:25.787 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:10:25.789 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=43.313536ms] [] [2025/04/05 23:10:25.789 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:25.790 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=1.239813ms] [] [2025/04/05 23:10:25.790 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/05 23:10:25.790 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:25.792 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=1.566692ms] [] [2025/04/05 23:10:25.792 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 23:10:25.795 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:25.795 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [takeTime=3.604346ms] [] [2025/04/05 23:10:25.795 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:25.797 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=1.217648ms] [] [2025/04/05 23:10:25.797 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [takeTime=88.037453ms] [] [2025/04/05 23:10:25.797 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=import] [takeTime=88.228021ms] [] [2025/04/05 23:10:25.900 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:25.901 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:25.902 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:25.903 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/05 23:10:25.919 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:10:25.920 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:25.920 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:25.944 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:25.944 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/05 23:10:25.947 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:25.947 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:25.947 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:25.947 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:25.947 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:25.947 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:25.947 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:25.947 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-44] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:25.947 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:25.947 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:25.947 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:25.947 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:25.950 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:25.950 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:25.950 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:25.950 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:25.950 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=250.140932ms] [] [2025/04/05 23:10:25.950 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=45] [type=ImportInto] [2025/04/05 23:10:25.961 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=45] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:25.981 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:25.989 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=87] [step=post-process] [2025/04/05 23:10:25.989 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/05 23:10:25.989 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/05 23:10:25.989 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/05 23:10:25.995 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=5.915166ms] [] [2025/04/05 23:10:25.995 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [groupId=-1] [size=37] [kvs=1] [checksum=15861435141353566364] [2025/04/05 23:10:25.995 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [2025/04/05 23:10:25.995 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [weight=30] [2025/04/05 23:10:25.995 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [concurrency=15] [2025/04/05 23:10:25.997 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=263] [physicalTableID=263] [indexID=-1] [checksum=15861435141353566364] [totalKvs=1] [totalBytes=37] [2025/04/05 23:10:25.998 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:25.998 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [local="{cksum=15861435141353566364,size=37,kvs=1}"] [2025/04/05 23:10:25.998 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=8.848317ms] [] [2025/04/05 23:10:25.998 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=8.987082ms] [] [2025/04/05 23:10:25.998 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=87] [step=post-process] [takeTime=9.145551ms] [] [2025/04/05 23:10:26.026 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:26.100 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:26.100 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=45] [step=post-process] [state=running] [] [2025/04/05 23:10:26.102 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=45] [2025/04/05 23:10:26.120 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=138.811302ms] [] [2025/04/05 23:10:26.120 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=45] [type=ImportInto] [2025/04/05 23:10:26.195 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=45] [2025/04/05 23:10:26.201 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:26.201 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=45] [2025/04/05 23:10:26.223 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:26.396 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.988637012\n# Parse_time: 0.00008822\n# Compile_time: 0.000568188\n# Rewrite_time: 0.000164718\n# Optimize_time: 0.00031678\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: ae0dcf732c1f5baf44d07ac24a9457237e66bf22998758151391164a64a91a40\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny43bXMsIG9wZW46ODE5bnMsIGNsb3NlOjgzMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny43bXMsIG9wZW46ODE5bnMsIGNsb3NlOjgzMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/05 23:10:26.423 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:26.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 23:10:26.423 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:26.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:26.429 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:26.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:26.442 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 265, Table Name: import_mode, Old Table ID: 263, Old Table Name: import_mode)"] [2025/04/05 23:10:26.459 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=2.278935ms] [gotSchemaVersion=186] [phyTblIDs="[263,265]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:26.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=266] [version=186] [2025/04/05 23:10:26.466 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=8.994398ms] [job="ID:266, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:26.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:26.480 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=266] [tableIDs="[263]"] [comment="truncate table: table ID"] [2025/04/05 23:10:26.485 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=266] [jobType="truncate table"] [2025/04/05 23:10:26.486 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:26.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:26.507 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=266] [2025/04/05 23:10:26.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=186] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 23:10:26.514 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:26.567 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:26.591 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=46] [task-id=46] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:26.607 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=46] [2025/04/05 23:10:26.607 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:26.709 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:26.710 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:26.712 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [2025/04/05 23:10:26.720 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:26.722 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 23:10:26.722 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 23:10:26.722 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=60.19µs] [2025/04/05 23:10:26.722 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=193.066µs] [] [2025/04/05 23:10:26.722 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:26.722 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:26.762 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=46] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:26.783 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/05 23:10:26.783 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:26.791 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:26.791 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:26.792 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:26.792 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:26.792 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:26.792 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:26.792 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:26.792 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:26.792 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:26.793 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:26.806 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:26.808 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:26.808 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/05 23:10:26.808 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=46] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:26.808 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=46] [disk-quota=348.5GiB] [2025/04/05 23:10:26.808 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:26.816 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=import] [2025/04/05 23:10:26.816 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [2025/04/05 23:10:26.816 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/05 23:10:26.820 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:26.822 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=46] [2025/04/05 23:10:26.824 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:26.825 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=265] [2025/04/05 23:10:26.847 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [2025/04/05 23:10:26.849 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [readDur=936.711µs] [encodeDur=696.511µs] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [deliverDur=250.904µs] [type=file] [takeTime=2.220937ms] [] [2025/04/05 23:10:26.850 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/46/1ccc2128-36af-5780-96ac-757ded6634c4.sst/5f18e7dd-d3e1-4a37-897e-20a8231b1bd4.sst] [firstKey=7480000000000001095F728000000000000001] [lastKey=7480000000000001095F728000000000000001] [2025/04/05 23:10:26.850 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/05 23:10:26.850 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/05 23:10:26.850 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:26.852 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=2.272495ms] [] [2025/04/05 23:10:26.852 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 23:10:26.857 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:26.878 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:10:26.878 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:26.880 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001095f728000000000000001] [endOfAllRanges=7480000000000001095f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff095f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff095f728000000000ff0000020000000000fa] [2025/04/05 23:10:26.892 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:10:26.894 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=41.549162ms] [] [2025/04/05 23:10:26.894 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:26.895 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=1.109046ms] [] [2025/04/05 23:10:26.895 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/05 23:10:26.895 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:26.897 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=1.639185ms] [] [2025/04/05 23:10:26.897 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 23:10:26.901 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:26.901 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [takeTime=3.587554ms] [] [2025/04/05 23:10:26.901 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:26.902 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=994.348µs] [] [2025/04/05 23:10:26.902 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [takeTime=85.894401ms] [] [2025/04/05 23:10:26.902 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=import] [takeTime=86.05476ms] [] [2025/04/05 23:10:26.915 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:26.916 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:26.917 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:26.917 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/05 23:10:26.933 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:10:26.935 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:26.935 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:26.969 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:26.976 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/05 23:10:26.978 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:26.978 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:26.978 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:26.979 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:26.979 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:26.979 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:26.979 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:26.979 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:26.979 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-45] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:26.979 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:26.979 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:26.979 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:26.981 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:26.981 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:26.981 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:26.981 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:26.981 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=173.122682ms] [] [2025/04/05 23:10:26.982 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:26.990 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=89] [step=post-process] [2025/04/05 23:10:26.990 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/05 23:10:31.991 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/05 23:10:31.991 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/05 23:10:31.998 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=6.594537ms] [] [2025/04/05 23:10:31.998 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [groupId=-1] [size=37] [kvs=1] [checksum=14356619400929386623] [2025/04/05 23:10:31.998 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [2025/04/05 23:10:31.998 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [weight=30] [2025/04/05 23:10:31.998 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [concurrency=15] [2025/04/05 23:10:32.000 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=265] [physicalTableID=265] [indexID=-1] [checksum=14356619400929386623] [totalKvs=1] [totalBytes=37] [2025/04/05 23:10:32.001 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:32.001 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [local="{cksum=14356619400929386623,size=37,kvs=1}"] [2025/04/05 23:10:32.001 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=9.437731ms] [] [2025/04/05 23:10:32.001 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=5.010662874s] [] [2025/04/05 23:10:32.002 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=89] [step=post-process] [takeTime=5.011499969s] [] [2025/04/05 23:10:32.014 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:32.014 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=46] [step=post-process] [state=running] [] [2025/04/05 23:10:32.017 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=46] [2025/04/05 23:10:32.018 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:32.048 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=5.065544797s] [] [2025/04/05 23:10:32.048 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=46] [type=ImportInto] [2025/04/05 23:10:32.110 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=46] [2025/04/05 23:10:32.116 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:32.116 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=46] [2025/04/05 23:10:32.137 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:32.314 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 5.806267761\n# Parse_time: 0.000075712\n# Compile_time: 0.000573067\n# Rewrite_time: 0.000147659\n# Optimize_time: 0.000331128\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: ae0dcf732c1f5baf44d07ac24a9457237e66bf22998758151391164a64a91a40\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjUuODFzLCBvcGVuOjYzMm5zLCBjbG9zZTo5MjhucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjUuODFzLCBvcGVuOjYzMm5zLCBjbG9zZTo5MjhucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/05 23:10:32.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 23:10:32.331 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:32.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:32.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:32.344 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 267, Table Name: import_mode, Old Table ID: 265, Old Table Name: import_mode)"] [2025/04/05 23:10:32.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=2.045537ms] [gotSchemaVersion=187] [phyTblIDs="[265,267]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:32.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=187] [2025/04/05 23:10:32.367 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=187] ["take time"=10.079201ms] [job="ID:268, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:32.378 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=268] [tableIDs="[265]"] [comment="truncate table: table ID"] [2025/04/05 23:10:32.382 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=268] [jobType="truncate table"] [2025/04/05 23:10:32.383 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:32.401 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=268] [2025/04/05 23:10:32.401 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=187] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 23:10:32.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:32.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 23:10:32.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:32.426 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 269, Table Name: import_mode, Old Table ID: 267, Old Table Name: import_mode)"] [2025/04/05 23:10:32.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.88741ms] [gotSchemaVersion=188] [phyTblIDs="[267,269]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:32.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=188] [2025/04/05 23:10:32.447 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=9.355965ms] [job="ID:270, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:32.458 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=270] [tableIDs="[267]"] [comment="truncate table: table ID"] [2025/04/05 23:10:32.463 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=270] [jobType="truncate table"] [2025/04/05 23:10:32.464 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:32.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:32.482 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/05 23:10:32.482 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=188] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 23:10:32.489 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:32.539 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"disable_tikv_import_mode\":null}}"] [dist-task-enabled=true] [2025/04/05 23:10:32.558 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=47] [task-id=47] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:32.573 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=47] [2025/04/05 23:10:32.573 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:32.676 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:32.677 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:32.678 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [2025/04/05 23:10:32.686 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:32.688 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 23:10:32.689 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 23:10:32.689 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=66.407µs] [2025/04/05 23:10:32.689 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=171.602µs] [] [2025/04/05 23:10:32.689 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:32.689 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:32.721 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=47] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:32.741 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/05 23:10:32.741 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:32.750 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:32.750 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:32.751 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:32.751 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:32.751 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:32.751 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:32.751 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:32.751 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:32.752 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:32.752 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:32.767 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:32.770 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:32.770 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/05 23:10:32.770 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=47] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:32.770 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:32.770 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=47] [disk-quota=348.5GiB] [2025/04/05 23:10:32.778 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=import] [2025/04/05 23:10:32.778 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [2025/04/05 23:10:32.782 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:32.786 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:32.787 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=269] [2025/04/05 23:10:32.790 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=47] [2025/04/05 23:10:32.809 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [2025/04/05 23:10:32.812 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [readDur=1.385661ms] [encodeDur=785.807µs] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [deliverDur=322.257µs] [type=file] [takeTime=2.871023ms] [] [2025/04/05 23:10:32.813 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/47/1ccc2128-36af-5780-96ac-757ded6634c4.sst/1624b672-9422-472f-87ba-772bebe9cc9d.sst] [firstKey=74800000000000010D5F728000000000000001] [lastKey=74800000000000010D5F728000000000000001] [2025/04/05 23:10:32.813 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/05 23:10:32.813 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/05 23:10:32.813 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:32.815 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=2.080947ms] [] [2025/04/05 23:10:32.815 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 23:10:32.820 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:32.841 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:10:32.842 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:32.843 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000010d5f728000000000000001] [endOfAllRanges=74800000000000010d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff0d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff0d5f728000000000ff0000020000000000fa] [2025/04/05 23:10:32.856 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:10:32.858 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=42.779855ms] [] [2025/04/05 23:10:32.858 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:32.859 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=1.412927ms] [] [2025/04/05 23:10:32.860 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/05 23:10:32.860 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:32.861 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=1.770734ms] [] [2025/04/05 23:10:32.861 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 23:10:32.865 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:32.865 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [takeTime=3.685251ms] [] [2025/04/05 23:10:32.865 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:32.866 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=974.531µs] [] [2025/04/05 23:10:32.866 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [takeTime=88.325996ms] [] [2025/04/05 23:10:32.867 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=import] [takeTime=88.483112ms] [] [2025/04/05 23:10:32.881 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:32.882 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:32.883 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:32.900 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:10:32.901 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:32.901 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:32.932 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:32.939 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/05 23:10:32.942 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:32.942 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:32.942 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:32.942 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:32.942 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:32.942 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:32.942 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:32.942 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:32.942 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-46] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:32.942 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:32.942 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:32.942 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:32.944 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:32.944 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:32.944 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:32.944 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:32.944 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=173.998872ms] [] [2025/04/05 23:10:32.945 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:32.953 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=post-process] [2025/04/05 23:10:32.953 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/05 23:10:32.953 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/05 23:10:32.953 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/05 23:10:32.959 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=5.984059ms] [] [2025/04/05 23:10:32.959 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [groupId=-1] [size=37] [kvs=1] [checksum=14782680275667121893] [2025/04/05 23:10:32.959 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [2025/04/05 23:10:32.960 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [weight=30] [2025/04/05 23:10:32.960 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [concurrency=15] [2025/04/05 23:10:32.962 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=269] [physicalTableID=269] [indexID=-1] [checksum=14782680275667121893] [totalKvs=1] [totalBytes=37] [2025/04/05 23:10:32.962 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:32.962 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [local="{cksum=14782680275667121893,size=37,kvs=1}"] [2025/04/05 23:10:32.962 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=8.65314ms] [] [2025/04/05 23:10:32.962 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=8.822771ms] [] [2025/04/05 23:10:32.962 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=post-process] [takeTime=8.961078ms] [] [2025/04/05 23:10:32.981 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:32.981 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=47] [step=post-process] [state=running] [] [2025/04/05 23:10:32.984 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=47] [2025/04/05 23:10:32.985 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:33.007 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=61.913959ms] [] [2025/04/05 23:10:33.008 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=47] [type=ImportInto] [2025/04/05 23:10:33.076 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=47] [2025/04/05 23:10:33.082 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:33.082 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=47] [2025/04/05 23:10:33.104 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:33.176 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.693865556\n# Parse_time: 0.000094182\n# Compile_time: 0.000629745\n# Rewrite_time: 0.000185624\n# Optimize_time: 0.000291673\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: 4d8a4afea956b0619ba2ec93bd669e57402129ae88f875500d6ece25c85e69b6\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi44bXMsIG9wZW46NzEybnMsIGNsb3NlOjEuMTbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5Mi44bXMsIG9wZW46NzEybnMsIGNsb3NlOjEuMTbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH disable_tikv_import_mode;"] [2025/04/05 23:10:33.192 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:33.192 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 23:10:33.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:33.206 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 271, Table Name: import_mode, Old Table ID: 269, Old Table Name: import_mode)"] [2025/04/05 23:10:33.222 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.954872ms] [gotSchemaVersion=189] [phyTblIDs="[269,271]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:33.226 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=189] [2025/04/05 23:10:33.228 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=189] ["take time"=9.487424ms] [job="ID:272, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:33.239 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=272] [tableIDs="[269]"] [comment="truncate table: table ID"] [2025/04/05 23:10:33.244 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=272] [jobType="truncate table"] [2025/04/05 23:10:33.244 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:33.263 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/05 23:10:33.263 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=189] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 23:10:33.276 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:33.276 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 23:10:33.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:33.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:33.290 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 273, Table Name: import_mode, Old Table ID: 271, Old Table Name: import_mode)"] [2025/04/05 23:10:33.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.868105ms] [gotSchemaVersion=190] [phyTblIDs="[271,273]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:33.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=190] [2025/04/05 23:10:33.312 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=190] ["take time"=9.786119ms] [job="ID:274, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:33.323 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[271]"] [comment="truncate table: table ID"] [2025/04/05 23:10:33.327 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate table"] [2025/04/05 23:10:33.328 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:33.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:33.347 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/05 23:10:33.347 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=190] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 23:10:33.354 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:33.371 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:33.391 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=48] [task-id=48] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:33.406 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=48] [2025/04/05 23:10:33.406 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:33.508 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:33.509 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:33.510 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [2025/04/05 23:10:33.518 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:33.521 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 23:10:33.521 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 23:10:33.521 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=50.655µs] [2025/04/05 23:10:33.521 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=146.218µs] [] [2025/04/05 23:10:33.521 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:33.521 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:33.561 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:33.582 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/05 23:10:33.582 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:33.590 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:33.590 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:33.591 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:33.591 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:33.591 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:33.591 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:33.591 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:33.591 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:33.592 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:33.592 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:33.605 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:33.606 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:33.606 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/05 23:10:33.606 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=48] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:33.606 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=48] [disk-quota=348.5GiB] [2025/04/05 23:10:33.606 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:33.615 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=import] [2025/04/05 23:10:33.615 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [2025/04/05 23:10:33.619 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:33.620 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=48] [2025/04/05 23:10:33.623 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:33.623 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=273] [2025/04/05 23:10:33.661 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [2025/04/05 23:10:33.663 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [readDur=1.104106ms] [encodeDur=491.595µs] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [deliverDur=318.092µs] [type=file] [takeTime=2.204969ms] [] [2025/04/05 23:10:33.664 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/48/1ccc2128-36af-5780-96ac-757ded6634c4.sst/3d9f2d9b-7a9f-4e70-980e-5ac4b0f4061c.sst] [firstKey=7480000000000001115F728000000000000001] [lastKey=7480000000000001115F728000000000000001] [2025/04/05 23:10:33.664 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/05 23:10:33.664 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/05 23:10:33.664 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:33.667 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=2.607418ms] [] [2025/04/05 23:10:33.667 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 23:10:33.672 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:33.695 +00:00] [INFO] [local.go:1354] ["switch import mode of ranges"] [category=ddl-ingest] [startKey=7480000000000001115f728000000000000001] [endKey=7480000000000001115f728000000000000002] [2025/04/05 23:10:33.695 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:10:33.695 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Import] [2025/04/05 23:10:33.695 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:33.697 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001115f728000000000000001] [endOfAllRanges=7480000000000001115f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff115f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff115f728000000000ff0000020000000000fa] [2025/04/05 23:10:33.709 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:10:33.709 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Normal] [2025/04/05 23:10:33.725 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=58.214722ms] [] [2025/04/05 23:10:33.725 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:33.727 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=1.081715ms] [] [2025/04/05 23:10:33.727 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/05 23:10:33.727 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:33.728 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=1.654672ms] [] [2025/04/05 23:10:33.728 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 23:10:33.732 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:33.732 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [takeTime=3.595433ms] [] [2025/04/05 23:10:33.732 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:33.733 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=885.669µs] [] [2025/04/05 23:10:33.733 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [takeTime=118.501026ms] [] [2025/04/05 23:10:33.733 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=import] [takeTime=118.677619ms] [] [2025/04/05 23:10:33.813 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:33.814 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:33.815 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:33.832 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:10:33.833 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:33.833 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:33.855 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:33.862 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/05 23:10:33.865 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:33.865 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:33.865 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:33.865 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:33.865 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:33.865 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:33.865 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:33.865 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:33.865 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-47] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:33.865 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:33.865 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:33.865 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:33.868 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:33.868 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:33.868 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:33.868 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:33.868 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=261.494632ms] [] [2025/04/05 23:10:33.869 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:33.876 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=93] [step=post-process] [2025/04/05 23:10:33.876 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/05 23:10:33.876 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/05 23:10:33.876 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/05 23:10:33.883 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=6.23068ms] [] [2025/04/05 23:10:33.883 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [groupId=-1] [size=37] [kvs=1] [checksum=18113774150194779939] [2025/04/05 23:10:33.883 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [2025/04/05 23:10:33.883 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [weight=30] [2025/04/05 23:10:33.883 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [concurrency=15] [2025/04/05 23:10:33.885 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=273] [physicalTableID=273] [indexID=-1] [checksum=18113774150194779939] [totalKvs=1] [totalBytes=37] [2025/04/05 23:10:33.885 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:33.885 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [local="{cksum=18113774150194779939,size=37,kvs=1}"] [2025/04/05 23:10:33.886 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=9.070926ms] [] [2025/04/05 23:10:33.886 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=9.228142ms] [] [2025/04/05 23:10:33.886 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=93] [step=post-process] [takeTime=9.388783ms] [] [2025/04/05 23:10:33.911 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:33.913 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:33.913 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=48] [step=post-process] [state=running] [] [2025/04/05 23:10:33.916 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=48] [2025/04/05 23:10:33.931 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=62.070317ms] [] [2025/04/05 23:10:33.931 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/05 23:10:34.008 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=48] [2025/04/05 23:10:34.009 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.661180341\n# Parse_time: 0.000074677\n# Compile_time: 0.000565087\n# Rewrite_time: 0.000185431\n# Optimize_time: 0.000271758\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: ae0dcf732c1f5baf44d07ac24a9457237e66bf22998758151391164a64a91a40\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY2MC4ybXMsIG9wZW46ODAwbnMsIGNsb3NlOjc4M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY2MC4ybXMsIG9wZW46ODAwbnMsIGNsb3NlOjc4M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/05 23:10:34.015 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:34.015 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=48] [2025/04/05 23:10:34.025 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:34.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:34.025 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:34.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 23:10:34.031 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:34.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:34.040 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 275, Table Name: import_mode, Old Table ID: 273, Old Table Name: import_mode)"] [2025/04/05 23:10:34.040 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:34.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.937197ms] [gotSchemaVersion=191] [phyTblIDs="[273,275]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:34.060 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=191] [2025/04/05 23:10:34.061 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=9.509075ms] [job="ID:276, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:34.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:34.073 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[273]"] [comment="truncate table: table ID"] [2025/04/05 23:10:34.077 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate table"] [2025/04/05 23:10:34.078 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:34.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:34.096 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=276] [2025/04/05 23:10:34.097 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=191] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 23:10:34.103 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:34.152 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:34.174 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=49] [task-id=49] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:34.189 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=49] [2025/04/05 23:10:34.189 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:34.291 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:34.293 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:34.294 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [2025/04/05 23:10:34.302 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:34.305 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 23:10:34.305 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 23:10:34.305 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=51.08µs] [2025/04/05 23:10:34.305 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=170.33µs] [] [2025/04/05 23:10:34.305 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:34.305 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:34.341 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=49] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:34.361 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/05 23:10:34.361 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:34.371 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:34.371 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:34.372 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:34.372 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:34.372 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:34.372 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:34.372 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:34.372 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:34.373 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:34.373 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:34.385 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:34.387 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:34.387 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/05 23:10:34.387 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=49] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:34.387 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=49] [disk-quota=348.5GiB] [2025/04/05 23:10:34.387 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:34.395 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [subtaskID=94] [step=import] [2025/04/05 23:10:34.395 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [2025/04/05 23:10:34.399 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/05 23:10:34.399 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 23:10:34.403 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 23:10:34.403 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=275] [2025/04/05 23:10:34.405 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=49] [2025/04/05 23:10:34.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:10:34.710 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=191] ["oldest version"=1] [deleted=0] [total=932] [takes=1.527876ms] [2025/04/05 23:10:36.377 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:10:37.404 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [takeTime=3.0088836s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:10:37.404 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [subtaskID=94] [step=import] [takeTime=3.009262299s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:37.404 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:37.412 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:10:37.500 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/05 23:10:37.517 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/05 23:10:37.520 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:37.520 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:37.520 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:37.520 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:37.520 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:37.520 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:37.520 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:37.520 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:37.520 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:37.521 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:37.520 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-48] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:37.521 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:37.523 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:37.523 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:37.523 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:37.523 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:37.523 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=3.136000074s] [] [2025/04/05 23:10:37.523 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=49] [type=ImportInto] [2025/04/05 23:10:37.597 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=49] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/05 23:10:37.598 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/05 23:10:37.599 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=49] [2025/04/05 23:10:37.691 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=49] [2025/04/05 23:10:37.697 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:37.698 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=49] [2025/04/05 23:10:37.720 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:37.790 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=49] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestImportMode\n\ttests/realtikvtest/importintotest/import_into_test.go:937\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:10:37.791 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 3.693422275\n# Parse_time: 0.000091823\n# Compile_time: 0.000567912\n# Rewrite_time: 0.000155513\n# Optimize_time: 0.000283465\n# Wait_TS: 0\n# DB: import_into\n# Is_internal: false\n# Digest: ae0dcf732c1f5baf44d07ac24a9457237e66bf22998758151391164a64a91a40\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjYzN25zLCBjbG9zZTo3ODlucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY5cywgb3Blbjo2MzducywgY2xvc2U6Nzg5bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] --- PASS: TestImportInto/TestImportMode (12.64s) === NAME TestImportInto === RUN TestImportInto/TestInputCountMisMatchAndDefault [2025/04/05 23:10:37.815 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:37.815 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:10:37.820 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.839 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=1.801524ms] [gotSchemaVersion=192] [phyTblIDs="[275]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:37.842 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=192] [2025/04/05 23:10:37.844 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=192] ["take time"=9.522872ms] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=147.585µs] [gotSchemaVersion=193] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:37.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=193] [2025/04/05 23:10:37.872 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=193] ["take time"=7.680859ms] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.886 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:37.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=141.669µs] [gotSchemaVersion=194] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:37.900 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=194] [2025/04/05 23:10:37.901 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=6.998403ms] [job="ID:277, Type:drop schema, State:done, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.910 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=277] [tableIDs="[275]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:37.915 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=277] [jobType="drop schema"] [2025/04/05 23:10:37.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:synced, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.933 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/05 23:10:37.933 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=194] [cur_db=import_into] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:10:37.945 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:10:37.945 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:37.950 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.964 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=700.586µs] [gotSchemaVersion=195] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:37.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=279] [version=195] [2025/04/05 23:10:37.970 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=195] ["take time"=8.256766ms] [job="ID:279, Type:create schema, State:done, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.981 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:synced, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:37.991 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=279] [2025/04/05 23:10:37.991 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=import_into] [sql="create database load_data"] [user=root@%] [2025/04/05 23:10:37.993 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:10:38.007 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:38.007 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:10:38.013 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:38.018 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 280, Table Name: t)"] [2025/04/05 23:10:38.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=1.822308ms] [gotSchemaVersion=196] [phyTblIDs="[280]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:38.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=196] [2025/04/05 23:10:38.040 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=9.095048ms] [job="ID:281, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:38.051 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:38.063 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/05 23:10:38.063 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=196] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:10:38.070 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:38.119 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:38.139 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=50] [task-id=50] [data-size=24B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:38.154 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=50] [2025/04/05 23:10:38.154 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:38.257 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:38.258 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:38.259 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [2025/04/05 23:10:38.268 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:38.270 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:38.270 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/05 23:10:38.271 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=38.61µs] [2025/04/05 23:10:38.271 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=133.817µs] [] [2025/04/05 23:10:38.271 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:38.271 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:38.311 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:38.332 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/05 23:10:38.332 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:38.340 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:38.340 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:38.341 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:38.341 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:38.341 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:38.341 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:38.341 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:38.341 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:38.342 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:38.342 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:38.354 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:38.356 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:38.357 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:38.357 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=50] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:38.357 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:38.357 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=50] [disk-quota=348.5GiB] [2025/04/05 23:10:38.363 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=50] [mode=Import] [2025/04/05 23:10:38.365 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [2025/04/05 23:10:38.365 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [2025/04/05 23:10:38.369 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:38.373 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:38.374 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=280] [2025/04/05 23:10:38.382 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=50] [2025/04/05 23:10:38.418 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [2025/04/05 23:10:38.420 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [readDur=1.017776ms] [encodeDur=381.218µs] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [deliverDur=303.647µs] [type=file] [takeTime=2.033448ms] [] [2025/04/05 23:10:38.420 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=78] [kvs=2] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/50/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/96517875-c4b8-4af3-bf0a-1b5a83785921.sst] [firstKey=7480000000000001185F728000000000000001] [lastKey=7480000000000001185F728000000000000002] [2025/04/05 23:10:38.421 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/05 23:10:38.421 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/05 23:10:38.421 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:38.423 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.379389ms] [] [2025/04/05 23:10:38.423 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:38.427 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:38.449 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=78] [2025/04/05 23:10:38.449 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:38.451 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001185f728000000000000001] [endOfAllRanges=7480000000000001185f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff185f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff185f728000000000ff0000030000000000fa] [2025/04/05 23:10:38.463 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=78] [kvs=2] [importedSize=78] [importedCount=2] [2025/04/05 23:10:38.465 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.32763ms] [] [2025/04/05 23:10:38.465 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:38.466 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.112589ms] [] [2025/04/05 23:10:38.466 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/05 23:10:38.466 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:38.468 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.551329ms] [] [2025/04/05 23:10:38.468 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:38.471 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:38.471 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.638614ms] [] [2025/04/05 23:10:38.471 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:38.472 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=910.446µs] [] [2025/04/05 23:10:38.473 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [takeTime=107.801584ms] [] [2025/04/05 23:10:38.473 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [takeTime=107.960756ms] [] [2025/04/05 23:10:38.563 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:38.564 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:38.565 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:38.565 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:38.595 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:38.597 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:38.597 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:38.622 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:38.622 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/05 23:10:38.625 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:38.625 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:38.625 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:38.625 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:38.625 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:38.625 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:38.625 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:38.625 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:38.625 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:38.625 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:38.625 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-49] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:38.625 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:38.628 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:38.628 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:38.628 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:38.628 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:38.628 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=271.211037ms] [] [2025/04/05 23:10:38.628 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/05 23:10:38.631 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:38.652 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:38.659 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=96] [step=post-process] [2025/04/05 23:10:38.659 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/05 23:10:38.659 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/05 23:10:38.659 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/05 23:10:38.666 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=6.299216ms] [] [2025/04/05 23:10:38.666 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [groupId=-1] [size=78] [kvs=2] [checksum=4834883050368624781] [2025/04/05 23:10:38.666 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [2025/04/05 23:10:38.666 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [weight=30] [2025/04/05 23:10:38.666 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [concurrency=15] [2025/04/05 23:10:38.668 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=280] [physicalTableID=280] [indexID=-1] [checksum=4834883050368624781] [totalKvs=2] [totalBytes=78] [2025/04/05 23:10:38.669 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:38.669 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [local="{cksum=4834883050368624781,size=78,kvs=2}"] [2025/04/05 23:10:38.669 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=9.678875ms] [] [2025/04/05 23:10:38.669 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=9.851923ms] [] [2025/04/05 23:10:38.669 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=96] [step=post-process] [takeTime=9.981289ms] [] [2025/04/05 23:10:38.696 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:38.762 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:38.762 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=50] [step=post-process] [state=running] [] [2025/04/05 23:10:38.765 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=50] [2025/04/05 23:10:38.790 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=138.570771ms] [] [2025/04/05 23:10:38.790 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/05 23:10:38.857 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=50] [2025/04/05 23:10:38.863 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:38.863 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=50] [2025/04/05 23:10:38.885 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:39.058 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.994454023\n# Parse_time: 0.000081176\n# Compile_time: 0.000567075\n# Rewrite_time: 0.000147438\n# Optimize_time: 0.000283465\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My41bXMsIG9wZW46NjI4bnMsIGNsb3NlOjk2M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My41bXMsIG9wZW46NjI4bnMsIGNsb3NlOjk2M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:10:39.074 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:39.074 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:10:39.080 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.097 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=2.509108ms] [gotSchemaVersion=197] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:39.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=197] [2025/04/05 23:10:39.102 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=197] ["take time"=10.248085ms] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=2.591586ms] [gotSchemaVersion=198] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:39.133 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=198] [2025/04/05 23:10:39.135 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=10.196571ms] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.143 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.150 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 280, Old Table Name: t)"] [2025/04/05 23:10:39.164 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.220827ms] [gotSchemaVersion=199] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:39.168 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=199] [2025/04/05 23:10:39.170 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=199] ["take time"=8.814457ms] [job="ID:282, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.179 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[280]"] [comment="drop table: table ID"] [2025/04/05 23:10:39.184 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="drop table"] [2025/04/05 23:10:39.185 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.204 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=282] [2025/04/05 23:10:39.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=199] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:10:39.219 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:39.219 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int default 100);"] [2025/04/05 23:10:39.225 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.230 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 283, Table Name: t)"] [2025/04/05 23:10:39.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.859708ms] [gotSchemaVersion=200] [phyTblIDs="[283]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:39.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=200] [2025/04/05 23:10:39.252 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=9.317057ms] [job="ID:284, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.265 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:39.277 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/05 23:10:39.278 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=200] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int default 100);"] [user=root@%] [2025/04/05 23:10:39.285 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:39.335 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:39.356 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=51] [task-id=51] [data-size=24B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:39.371 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=51] [2025/04/05 23:10:39.371 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:39.474 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:39.475 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:39.477 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [2025/04/05 23:10:39.485 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:39.489 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:39.489 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/05 23:10:39.489 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=44.396µs] [2025/04/05 23:10:39.489 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=159.641µs] [] [2025/04/05 23:10:39.489 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:39.489 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:39.522 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:39.542 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/05 23:10:39.542 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:39.551 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:39.551 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:39.551 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:39.551 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:39.551 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:39.551 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:39.552 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:39.552 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:39.552 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:39.552 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:39.564 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:39.567 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:39.567 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:39.567 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=51] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:39.567 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:39.567 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=51] [disk-quota=348.5GiB] [2025/04/05 23:10:39.574 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=import] [2025/04/05 23:10:39.575 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [2025/04/05 23:10:39.578 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:39.580 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=51] [mode=Import] [2025/04/05 23:10:39.582 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:39.582 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=283] [2025/04/05 23:10:39.599 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=51] [2025/04/05 23:10:39.622 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [2025/04/05 23:10:39.625 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [readDur=1.229565ms] [encodeDur=516.968µs] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [deliverDur=262.206µs] [type=file] [takeTime=2.339088ms] [] [2025/04/05 23:10:39.625 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=79] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/51/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/c36a53e3-5bf8-45aa-bc67-1b3fcba97247.sst] [firstKey=74800000000000011B5F728000000000000001] [lastKey=74800000000000011B5F728000000000000002] [2025/04/05 23:10:39.625 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/05 23:10:39.626 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/05 23:10:39.626 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:39.628 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.962448ms] [] [2025/04/05 23:10:39.628 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:39.632 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:39.654 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=79] [2025/04/05 23:10:39.654 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:39.656 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011b5f728000000000000001] [endOfAllRanges=74800000000000011b5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1b5f728000000000ff0000030000000000fa] [2025/04/05 23:10:39.667 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=79] [kvs=2] [importedSize=79] [importedCount=2] [2025/04/05 23:10:39.669 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.175457ms] [] [2025/04/05 23:10:39.669 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:39.670 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.276327ms] [] [2025/04/05 23:10:39.670 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/05 23:10:39.670 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:39.672 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.530505ms] [] [2025/04/05 23:10:39.672 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:39.676 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:39.676 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.604297ms] [] [2025/04/05 23:10:39.676 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:39.677 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=999.496µs] [] [2025/04/05 23:10:39.677 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [takeTime=102.411317ms] [] [2025/04/05 23:10:39.677 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=import] [takeTime=102.709148ms] [] [2025/04/05 23:10:39.779 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:39.781 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:39.783 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:39.783 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:39.813 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:39.815 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:39.815 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:39.825 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:39.825 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/05 23:10:39.828 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:39.829 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:39.829 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:39.829 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:39.829 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:39.829 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-50] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:39.829 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:39.829 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:39.829 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:39.829 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:39.829 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:39.829 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:39.834 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:39.834 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:39.834 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:39.834 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:39.834 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=267.435619ms] [] [2025/04/05 23:10:39.834 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/05 23:10:39.861 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:39.882 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:39.890 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=98] [step=post-process] [2025/04/05 23:10:39.890 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/05 23:10:39.890 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/05 23:10:39.890 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/05 23:10:39.896 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=6.33214ms] [] [2025/04/05 23:10:39.896 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [groupId=-1] [size=79] [kvs=2] [checksum=14192221556862743119] [2025/04/05 23:10:39.896 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [2025/04/05 23:10:39.896 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [weight=30] [2025/04/05 23:10:39.896 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [concurrency=15] [2025/04/05 23:10:39.898 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=283] [physicalTableID=283] [indexID=-1] [checksum=14192221556862743119] [totalKvs=2] [totalBytes=79] [2025/04/05 23:10:39.899 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:39.899 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [local="{cksum=14192221556862743119,size=79,kvs=2}"] [2025/04/05 23:10:39.899 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=9.013962ms] [] [2025/04/05 23:10:39.899 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=9.151018ms] [] [2025/04/05 23:10:39.899 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=98] [step=post-process] [takeTime=9.282036ms] [] [2025/04/05 23:10:39.929 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:39.979 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:39.979 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=51] [step=post-process] [state=running] [] [2025/04/05 23:10:39.982 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=51] [2025/04/05 23:10:40.001 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=118.578699ms] [] [2025/04/05 23:10:40.001 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/05 23:10:40.074 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=51] [2025/04/05 23:10:40.080 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:40.080 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=51] [2025/04/05 23:10:40.103 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:40.275 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.996233276\n# Parse_time: 0.00013084\n# Compile_time: 0.000575451\n# Rewrite_time: 0.000171944\n# Optimize_time: 0.00029195\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS4ybXMsIG9wZW46NjY2bnMsIGNsb3NlOjkyMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS4ybXMsIG9wZW46NjY2bnMsIGNsb3NlOjkyMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:10:40.292 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:40.292 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:10:40.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.317 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=2.41205ms] [gotSchemaVersion=201] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:40.321 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=201] [2025/04/05 23:10:40.323 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=10.806878ms] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.333 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.351 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=2.643377ms] [gotSchemaVersion=202] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:40.355 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=202] [2025/04/05 23:10:40.357 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=202] ["take time"=10.069576ms] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.373 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 283, Old Table Name: t)"] [2025/04/05 23:10:40.387 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.223191ms] [gotSchemaVersion=203] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:10:40.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=203] [2025/04/05 23:10:40.393 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=203] ["take time"=9.730579ms] [job="ID:285, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.403 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=285] [tableIDs="[283]"] [comment="drop table: table ID"] [2025/04/05 23:10:40.408 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=285] [jobType="drop table"] [2025/04/05 23:10:40.409 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.428 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=285] [2025/04/05 23:10:40.428 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=203] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:10:40.443 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:40.443 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:10:40.449 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:40.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.455 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 286, Table Name: t)"] [2025/04/05 23:10:40.472 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=2.000319ms] [gotSchemaVersion=204] [phyTblIDs="[286]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:40.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=204] [2025/04/05 23:10:40.477 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=204] ["take time"=9.429688ms] [job="ID:287, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:40.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.490 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:40.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:40.502 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=287] [2025/04/05 23:10:40.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=204] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:10:40.509 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:40.563 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, `b`, @`1`)\",\"set-clause\":\"`c`=COALESCE(@`1`, 100)\",\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:40.583 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=52] [task-id=52] [data-size=24B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:40.597 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=52] [2025/04/05 23:10:40.597 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:40.700 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:40.702 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:40.704 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [2025/04/05 23:10:40.713 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:40.716 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:40.716 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/05 23:10:40.716 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=42.856µs] [2025/04/05 23:10:40.716 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=130.843µs] [] [2025/04/05 23:10:40.716 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:40.716 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:40.751 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=52] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:40.773 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/05 23:10:40.773 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:40.781 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:40.782 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:40.782 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:40.782 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:40.782 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:40.782 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:40.782 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:40.783 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:40.783 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:40.783 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:40.796 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:40.798 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:40.798 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:40.798 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=52] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:40.798 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:40.798 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=52] [disk-quota=348.5GiB] [2025/04/05 23:10:40.806 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=52] [mode=Import] [2025/04/05 23:10:40.806 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=import] [2025/04/05 23:10:40.806 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [2025/04/05 23:10:40.811 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:40.815 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:40.816 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=286] [2025/04/05 23:10:40.828 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=52] [2025/04/05 23:10:40.829 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [2025/04/05 23:10:40.831 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [readDur=952.323µs] [encodeDur=379.599µs] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [deliverDur=246.159µs] [type=file] [takeTime=1.887792ms] [] [2025/04/05 23:10:40.832 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=988] [file=/tmp/tidb/import-4000/52/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/90c77520-07a0-444b-8169-ffe4cc92278a.sst] [firstKey=74800000000000011E5F728000000000000001] [lastKey=74800000000000011E5F728000000000000002] [2025/04/05 23:10:40.832 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/05 23:10:40.832 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/05 23:10:40.832 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:40.834 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.922536ms] [] [2025/04/05 23:10:40.834 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:40.838 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:40.860 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=82] [2025/04/05 23:10:40.860 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:40.862 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011e5f728000000000000001] [endOfAllRanges=74800000000000011e5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1e5f728000000000ff0000030000000000fa] [2025/04/05 23:10:40.874 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 23:10:40.876 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.454295ms] [] [2025/04/05 23:10:40.876 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:40.877 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.129028ms] [] [2025/04/05 23:10:40.877 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/05 23:10:40.877 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:40.879 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.497035ms] [] [2025/04/05 23:10:40.879 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:40.882 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:40.882 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.524436ms] [] [2025/04/05 23:10:40.882 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:40.883 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.004414ms] [] [2025/04/05 23:10:40.883 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [takeTime=77.041787ms] [] [2025/04/05 23:10:40.884 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=import] [takeTime=77.193212ms] [] [2025/04/05 23:10:40.904 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:40.905 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:40.906 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:40.906 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:40.937 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:40.939 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:40.939 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:40.969 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:40.976 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/05 23:10:40.978 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:40.978 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:40.978 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:40.979 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:40.979 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:40.979 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:40.979 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:40.979 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:40.979 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:40.979 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-51] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:40.979 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:40.979 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:40.981 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:40.981 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:40.981 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:40.981 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:40.981 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=182.76502ms] [] [2025/04/05 23:10:40.983 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:40.990 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=post-process] [2025/04/05 23:10:40.990 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/05 23:10:40.990 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/05 23:10:40.990 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/05 23:10:40.996 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=5.70187ms] [] [2025/04/05 23:10:40.996 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [groupId=-1] [size=82] [kvs=2] [checksum=4856294282864387256] [2025/04/05 23:10:40.996 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/05 23:10:40.996 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [weight=30] [2025/04/05 23:10:40.996 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [concurrency=15] [2025/04/05 23:10:40.998 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=286] [physicalTableID=286] [indexID=-1] [checksum=4856294282864387256] [totalKvs=2] [totalBytes=82] [2025/04/05 23:10:40.998 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:40.999 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [local="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/05 23:10:40.999 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=8.372699ms] [] [2025/04/05 23:10:40.999 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=8.534237ms] [] [2025/04/05 23:10:40.999 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=post-process] [takeTime=8.685053ms] [] [2025/04/05 23:10:41.024 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:41.105 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:41.105 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=52] [step=post-process] [state=running] [] [2025/04/05 23:10:41.108 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=52] [2025/04/05 23:10:41.139 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=156.202472ms] [] [2025/04/05 23:10:41.139 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=52] [type=ImportInto] [2025/04/05 23:10:41.199 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=52] [2025/04/05 23:10:41.199 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.69669121\n# Parse_time: 0.000177148\n# Compile_time: 0.000587287\n# Rewrite_time: 0.000171305\n# Optimize_time: 0.000256995\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 6be6ceffb424c57058f47c47fbefd24c0d807fe3c30448873e5dc402a3cb9b8c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NS42bXMsIG9wZW46NjM0bnMsIGNsb3NlOjgxMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NS42bXMsIG9wZW46NjM0bnMsIGNsb3NlOjgxMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`t` (`a`,`b`,@`1`) SET `c`=COALESCE(@`1`, 100) FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestInputCountMisMatchAndDefault (3.40s) === NAME TestImportInto === RUN TestImportInto/TestInputNull [2025/04/05 23:10:41.206 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:41.206 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=52] [2025/04/05 23:10:41.217 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:41.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:10:41.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.230 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:41.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=2.003436ms] [gotSchemaVersion=205] [phyTblIDs="[286]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:41.245 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=205] [2025/04/05 23:10:41.247 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=205] ["take time"=9.779271ms] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=182.363µs] [gotSchemaVersion=206] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:41.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=206] [2025/04/05 23:10:41.274 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=7.585992ms] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.288 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:41.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=150.149µs] [gotSchemaVersion=207] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:41.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=207] [2025/04/05 23:10:41.303 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=207] ["take time"=7.520162ms] [job="ID:288, Type:drop schema, State:done, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.312 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=288] [tableIDs="[286]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:41.316 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=288] [jobType="drop schema"] [2025/04/05 23:10:41.317 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:synced, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/05 23:10:41.334 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=207] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:10:41.345 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:10:41.345 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:41.351 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=802.673µs] [gotSchemaVersion=208] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:41.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=208] [2025/04/05 23:10:41.371 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=8.560628ms] [job="ID:290, Type:create schema, State:done, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.381 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:synced, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.391 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/05 23:10:41.391 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 23:10:41.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:10:41.406 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 23:10:41.406 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:41.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.418 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 291, Table Name: t)"] [2025/04/05 23:10:41.435 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.904171ms] [gotSchemaVersion=209] [phyTblIDs="[291]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:41.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=209] [2025/04/05 23:10:41.440 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=9.451082ms] [job="ID:292, Type:create table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.452 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:41.463 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/05 23:10:41.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=209] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:10:41.470 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:41.518 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:41.538 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=53] [task-id=53] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:41.553 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=53] [2025/04/05 23:10:41.553 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:41.655 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:41.656 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:41.657 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [2025/04/05 23:10:41.665 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:41.670 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:41.670 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 23:10:41.670 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=63.355µs] [2025/04/05 23:10:41.670 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=213.173µs] [] [2025/04/05 23:10:41.670 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:41.670 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:41.711 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=53] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:41.732 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/05 23:10:41.732 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:41.740 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:41.740 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:41.741 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:41.741 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:41.741 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:41.741 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:41.741 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:41.741 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:41.742 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:41.742 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:41.755 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:41.757 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:41.757 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:41.757 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=53] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:41.757 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=53] [disk-quota=348.5GiB] [2025/04/05 23:10:41.757 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:41.763 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=53] [mode=Import] [2025/04/05 23:10:41.766 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=import] [2025/04/05 23:10:41.766 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [2025/04/05 23:10:41.770 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:41.774 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:41.774 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=291] [2025/04/05 23:10:41.783 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=53] [2025/04/05 23:10:41.797 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [2025/04/05 23:10:41.799 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [readDur=1.063469ms] [encodeDur=239.225µs] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [deliverDur=303.088µs] [type=file] [takeTime=1.972749ms] [] [2025/04/05 23:10:41.799 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=993] [file=/tmp/tidb/import-4000/53/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/5dabe3b8-df31-4c62-af3d-93f138837d74.sst] [firstKey=7480000000000001235F728000000000000001] [lastKey=7480000000000001235F728000000000000002] [2025/04/05 23:10:41.800 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/05 23:10:41.800 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/05 23:10:41.800 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:41.802 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.962603ms] [] [2025/04/05 23:10:41.802 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:41.806 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:41.828 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=74] [2025/04/05 23:10:41.828 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:41.830 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001235f728000000000000001] [endOfAllRanges=7480000000000001235f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff235f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff235f728000000000ff0000030000000000fa] [2025/04/05 23:10:41.841 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/05 23:10:41.843 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.844524ms] [] [2025/04/05 23:10:41.843 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:41.844 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.109743ms] [] [2025/04/05 23:10:41.844 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/05 23:10:41.844 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:41.846 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.722346ms] [] [2025/04/05 23:10:41.846 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:41.850 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:41.850 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.717713ms] [] [2025/04/05 23:10:41.850 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:41.851 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=920.328µs] [] [2025/04/05 23:10:41.851 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [takeTime=84.998599ms] [] [2025/04/05 23:10:41.851 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=import] [takeTime=85.141604ms] [] [2025/04/05 23:10:41.960 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:41.962 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:41.963 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:41.963 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:41.993 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:41.994 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:41.994 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:41.997 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:41.997 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/05 23:10:42.000 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:42.000 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:42.000 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:42.000 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:42.000 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:42.000 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:42.000 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:42.000 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:42.000 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-52] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:42.000 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:42.000 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:42.000 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:42.002 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:42.002 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:42.002 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:42.003 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:42.003 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=245.158104ms] [] [2025/04/05 23:10:42.003 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=53] [type=ImportInto] [2025/04/05 23:10:42.031 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=53] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:42.051 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:42.059 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=post-process] [2025/04/05 23:10:42.059 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/05 23:10:42.059 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/05 23:10:42.059 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/05 23:10:42.066 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=6.638416ms] [] [2025/04/05 23:10:42.066 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [groupId=-1] [size=74] [kvs=2] [checksum=18253638469051024344] [2025/04/05 23:10:42.066 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [2025/04/05 23:10:42.066 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [weight=30] [2025/04/05 23:10:42.066 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [concurrency=15] [2025/04/05 23:10:42.068 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=291] [physicalTableID=291] [indexID=-1] [checksum=18253638469051024344] [totalKvs=2] [totalBytes=74] [2025/04/05 23:10:42.069 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:42.069 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [local="{cksum=18253638469051024344,size=74,kvs=2}"] [2025/04/05 23:10:42.069 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=9.509549ms] [] [2025/04/05 23:10:42.069 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=9.648882ms] [] [2025/04/05 23:10:42.069 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=post-process] [takeTime=9.78576ms] [] [2025/04/05 23:10:42.097 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:42.160 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:42.160 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=53] [step=post-process] [state=running] [] [2025/04/05 23:10:42.162 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=53] [2025/04/05 23:10:42.189 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=138.022188ms] [] [2025/04/05 23:10:42.189 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=53] [type=ImportInto] [2025/04/05 23:10:42.255 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=53] [2025/04/05 23:10:42.261 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:42.262 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=53] [2025/04/05 23:10:42.284 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:42.455 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.991061148\n# Parse_time: 0.000110339\n# Compile_time: 0.000560733\n# Rewrite_time: 0.00016231\n# Optimize_time: 0.000287811\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 04e3a722142273b9b122933333636d6692b05a35913f7650fc04d34a7a7ca73f\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC4xbXMsIG9wZW46NjIwbnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5MC4xbXMsIG9wZW46NjIwbnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:10:42.470 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:42.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:42.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:42.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:10:42.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:42.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:42.484 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 293, Table Name: t, Old Table ID: 291, Old Table Name: t)"] [2025/04/05 23:10:42.500 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.736204ms] [gotSchemaVersion=210] [phyTblIDs="[291,293]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:42.503 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=210] [2025/04/05 23:10:42.505 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=8.700459ms] [job="ID:294, Type:truncate table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:42.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:42.516 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=294] [tableIDs="[291]"] [comment="truncate table: table ID"] [2025/04/05 23:10:42.521 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="truncate table"] [2025/04/05 23:10:42.522 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:42.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:42.539 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/05 23:10:42.540 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 23:10:42.546 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:42.596 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`, `c`)\",\"set-clause\":\"`b`=COALESCE(@`1`, _UTF8MB4'def')\",\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:42.615 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=54] [task-id=54] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:42.629 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=54] [2025/04/05 23:10:42.630 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:42.732 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:42.733 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:42.734 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [2025/04/05 23:10:42.742 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:42.745 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:42.745 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 23:10:42.745 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=42.418µs] [2025/04/05 23:10:42.745 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=131.209µs] [] [2025/04/05 23:10:42.745 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:42.745 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:42.781 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:42.801 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/05 23:10:42.802 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:42.810 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:42.810 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:42.810 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:42.810 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:42.811 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:42.811 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:42.811 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:42.811 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:42.811 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:42.811 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:42.824 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:42.826 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:42.826 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:42.826 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=54] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:42.826 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=54] [disk-quota=348.5GiB] [2025/04/05 23:10:42.826 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:42.834 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=import] [2025/04/05 23:10:42.834 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [2025/04/05 23:10:42.839 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=54] [mode=Import] [2025/04/05 23:10:42.839 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:42.843 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:42.843 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=293] [2025/04/05 23:10:42.858 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=54] [2025/04/05 23:10:42.881 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [2025/04/05 23:10:42.883 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [readDur=940.509µs] [encodeDur=492.942µs] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [deliverDur=298.201µs] [type=file] [takeTime=2.075738ms] [] [2025/04/05 23:10:42.884 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=80] [kvs=2] [files=1] [sstFileSize=992] [file=/tmp/tidb/import-4000/54/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/724d5309-f210-47ae-805f-97878f9d30b1.sst] [firstKey=7480000000000001255F728000000000000001] [lastKey=7480000000000001255F728000000000000002] [2025/04/05 23:10:42.884 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/05 23:10:42.884 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/05 23:10:42.884 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:42.887 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.082917ms] [] [2025/04/05 23:10:42.887 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:10:42.891 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:42.912 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=80] [2025/04/05 23:10:42.912 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:42.914 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001255f728000000000000001] [endOfAllRanges=7480000000000001255f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff255f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff255f728000000000ff0000030000000000fa] [2025/04/05 23:10:42.926 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/05 23:10:42.928 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=41.593541ms] [] [2025/04/05 23:10:42.928 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:10:42.929 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.014031ms] [] [2025/04/05 23:10:42.929 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/05 23:10:42.930 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:42.931 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.44654ms] [] [2025/04/05 23:10:42.931 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:10:42.936 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:42.936 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=5.065459ms] [] [2025/04/05 23:10:42.936 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:10:42.937 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=996µs] [] [2025/04/05 23:10:42.937 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [takeTime=103.354861ms] [] [2025/04/05 23:10:42.938 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=import] [takeTime=103.503493ms] [] [2025/04/05 23:10:43.038 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:43.039 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:43.040 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:43.040 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:43.079 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:43.081 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:43.081 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:43.097 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:43.097 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/05 23:10:43.100 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:43.100 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:43.100 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:43.100 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:43.100 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:43.100 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:43.100 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:43.100 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:43.100 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:43.100 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-53] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:43.100 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:43.100 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:43.102 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:43.102 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:43.102 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:43.102 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:43.102 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=275.72937ms] [] [2025/04/05 23:10:43.102 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/05 23:10:43.121 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:43.143 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:43.150 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=104] [step=post-process] [2025/04/05 23:10:43.150 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/05 23:10:43.151 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/05 23:10:43.151 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/05 23:10:43.156 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=5.866548ms] [] [2025/04/05 23:10:43.157 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [groupId=-1] [size=80] [kvs=2] [checksum=5368846511036415957] [2025/04/05 23:10:43.157 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [2025/04/05 23:10:43.157 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [weight=30] [2025/04/05 23:10:43.157 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [concurrency=15] [2025/04/05 23:10:43.159 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=293] [physicalTableID=293] [indexID=-1] [checksum=5368846511036415957] [totalKvs=2] [totalBytes=80] [2025/04/05 23:10:43.159 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:43.159 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [local="{cksum=5368846511036415957,size=80,kvs=2}"] [2025/04/05 23:10:43.159 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=8.612209ms] [] [2025/04/05 23:10:43.159 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=8.767539ms] [] [2025/04/05 23:10:43.159 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=104] [step=post-process] [takeTime=8.889307ms] [] [2025/04/05 23:10:43.187 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:43.237 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:43.237 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=54] [step=post-process] [state=running] [] [2025/04/05 23:10:43.239 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=54] [2025/04/05 23:10:43.261 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=118.108134ms] [] [2025/04/05 23:10:43.261 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/05 23:10:43.331 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=54] [2025/04/05 23:10:43.337 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:43.337 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=54] [2025/04/05 23:10:43.359 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:43.533 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.992338366\n# Parse_time: 0.000172141\n# Compile_time: 0.000698192\n# Rewrite_time: 0.000265074\n# Optimize_time: 0.00026869\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 5fc90d49cd6c5db4492fcb810e59b8425f38ab71f4e9a5a76407f02caf95b16e\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS4ybXMsIG9wZW46NjU5bnMsIGNsb3NlOjg0MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS4ybXMsIG9wZW46NjU5bnMsIGNsb3NlOjg0MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`t` (`a`,@`1`,`c`) SET `b`=COALESCE(@`1`, _UTF8MB4'def') FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] --- PASS: TestImportInto/TestInputNull (2.33s) === NAME TestImportInto === RUN TestImportInto/TestJobFailWhenDispatchSubtask [2025/04/05 23:10:43.538 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="drop database if exists fail_job_after_import"] [user=root@%] [2025/04/05 23:10:43.551 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:43.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database fail_job_after_import"] [2025/04/05 23:10:43.551 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:43.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:43.556 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:43.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:43.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=713.796µs] [gotSchemaVersion=211] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:43.574 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=211] [2025/04/05 23:10:43.575 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=7.846524ms] [job="ID:296, Type:create schema, State:done, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:43.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:43.586 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:synced, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:43.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:43.596 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/05 23:10:43.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=211] [cur_db=load_data] [sql="create database fail_job_after_import"] [user=root@%] [2025/04/05 23:10:43.609 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 23:10:43.609 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:43.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:43.618 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 297, Table Name: t1)"] [2025/04/05 23:10:43.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.639355ms] [gotSchemaVersion=212] [phyTblIDs="[297]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:43.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=212] [2025/04/05 23:10:43.638 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=212] ["take time"=9.090923ms] [job="ID:298, Type:create table, State:done, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:43.649 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:synced, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:43.660 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/05 23:10:43.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:10:43.667 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:43.714 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:43.731 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=55] [task-id=55] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:43.744 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=55] [2025/04/05 23:10:43.744 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:43.847 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:43.848 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:43.849 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [2025/04/05 23:10:43.857 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:43.860 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 23:10:43.860 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 23:10:43.860 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=59.074µs] [2025/04/05 23:10:43.860 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=147.513µs] [] [2025/04/05 23:10:43.861 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:43.861 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:43.891 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=55] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:43.912 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/05 23:10:43.912 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:43.919 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:43.919 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:43.920 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:43.920 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:43.920 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:43.920 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:43.920 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:43.920 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:43.920 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:43.920 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:43.932 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:43.934 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:43.934 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/05 23:10:43.934 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=55] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:43.934 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=55] [disk-quota=348.5GiB] [2025/04/05 23:10:43.934 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:43.942 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=import] [2025/04/05 23:10:43.942 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [2025/04/05 23:10:43.945 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/05 23:10:43.948 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 23:10:43.949 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=297] [2025/04/05 23:10:43.955 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=55] [mode=Import] [2025/04/05 23:10:43.975 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=55] [2025/04/05 23:10:43.983 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=297] [key=t.csv:0] [2025/04/05 23:10:43.986 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=297] [key=t.csv:0] [readDur=952.967µs] [encodeDur=244.778µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=691.073µs] [type=file] [takeTime=2.158549ms] [] [2025/04/05 23:10:43.987 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/55/3c229875-a87b-5dfa-aef9-0ffcec4d91ae.sst/719e79d0-d964-4c58-8595-7f6be9c4153c.sst] [firstKey=7480000000000001295F728000000000000001] [lastKey=7480000000000001295F728000000000000002] [2025/04/05 23:10:43.987 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/05 23:10:43.987 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/05 23:10:43.987 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/05 23:10:43.989 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [takeTime=1.878865ms] [] [2025/04/05 23:10:43.989 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [retryCnt=0] [2025/04/05 23:10:43.993 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:44.014 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:10:44.015 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:44.017 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001295f728000000000000001] [endOfAllRanges=7480000000000001295f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff295f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff295f728000000000ff0000030000000000fa] [2025/04/05 23:10:44.028 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:10:44.029 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [retryCnt=0] [takeTime=40.109036ms] [] [2025/04/05 23:10:44.029 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/05 23:10:44.030 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [takeTime=996.624µs] [] [2025/04/05 23:10:44.030 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/05 23:10:44.030 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 23:10:44.032 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [takeTime=1.421127ms] [] [2025/04/05 23:10:44.032 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [retryCnt=0] [2025/04/05 23:10:44.035 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 23:10:44.035 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [retryCnt=0] [takeTime=3.618833ms] [] [2025/04/05 23:10:44.035 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 23:10:44.036 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [takeTime=1.016332ms] [] [2025/04/05 23:10:44.037 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [takeTime=94.798892ms] [] [2025/04/05 23:10:44.037 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=import] [takeTime=94.944227ms] [] [2025/04/05 23:10:44.052 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:44.053 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:44.054 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:44.054 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:44.075 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:44.075 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/05 23:10:44.087 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/05 23:10:44.089 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:44.089 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:44.089 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:44.089 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:44.089 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:44.090 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:44.090 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:44.090 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:44.090 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:44.090 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-54] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:44.090 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:44.090 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:44.092 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:44.092 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:44.092 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:44.092 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:44.092 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=157.945851ms] [] [2025/04/05 23:10:44.092 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=55] [type=ImportInto] [2025/04/05 23:10:44.152 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=55] [step=import] [state=reverting] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:44.153 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [step=import] [mode=Normal] [2025/04/05 23:10:44.158 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=55] [2025/04/05 23:10:44.247 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=55] [2025/04/05 23:10:44.253 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:44.253 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=55] [2025/04/05 23:10:44.273 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:44.345 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=55] [error="[0]injected error after ImportStepImport"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestJobFailWhenDispatchSubtask\n\ttests/realtikvtest/importintotest/job_test.go:599\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:10:44.345 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.684615891\n# Parse_time: 0.000081316\n# Compile_time: 0.000539603\n# Rewrite_time: 0.000158264\n# Optimize_time: 0.000352892\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 99e0210d02768185f513fdb4826de8b909e90d125e9b68ebb96c6b40a088fef9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4My44bXMsIG9wZW46NjYybnMsIGNsb3NlOjgzNW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODMuOG1zLCBvcGVuOjY2Mm5zLCBjbG9zZTo4MzVucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse fail_job_after_import;\nIMPORT INTO `fail_job_after_import`.`t1` FROM 'gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestJobFailWhenDispatchSubtask (0.81s) === NAME TestImportInto === RUN TestImportInto/TestKillBeforeFinish [2025/04/05 23:10:44.369 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS kill_job;"] [user=root@%] [2025/04/05 23:10:44.381 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:44.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:44.381 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:44.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE kill_job;"] [2025/04/05 23:10:44.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:44.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:44.401 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=820.37µs] [gotSchemaVersion=213] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:44.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=213] [2025/04/05 23:10:44.406 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=8.378683ms] [job="ID:300, Type:create schema, State:done, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:44.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:44.416 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:synced, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:44.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:44.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/05 23:10:44.425 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=213] [cur_db=fail_job_after_import] [sql="CREATE DATABASE kill_job;"] [user=root@%] [2025/04/05 23:10:44.438 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:44.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:44.438 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:44.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [2025/04/05 23:10:44.444 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:44.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:44.448 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: t)"] [2025/04/05 23:10:44.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.913771ms] [gotSchemaVersion=214] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:44.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=214] [2025/04/05 23:10:44.471 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=214] ["take time"=10.4917ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:44.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:44.482 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:44.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:44.493 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/05 23:10:44.494 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=214] [cur_db=fail_job_after_import] [sql="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [user=root@%] [2025/04/05 23:10:44.500 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:44.546 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:44.564 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=56] [task-id=56] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:44.579 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=56] [2025/04/05 23:10:44.579 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:44.681 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:44.682 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:44.684 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [2025/04/05 23:10:44.691 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:44.694 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:44.694 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=8] [2025/04/05 23:10:44.694 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=46.941µs] [2025/04/05 23:10:44.694 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=138.839µs] [] [2025/04/05 23:10:44.694 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:44.694 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:44.731 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=56] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:44.750 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/05 23:10:44.750 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:44.758 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:44.758 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:44.758 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:44.759 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:44.759 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:44.759 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:44.759 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:44.759 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:44.759 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:44.760 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:44.771 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:44.773 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:44.773 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:44.773 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=56] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:44.773 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=56] [disk-quota=348.5GiB] [2025/04/05 23:10:44.773 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:44.781 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [2025/04/05 23:10:44.781 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [2025/04/05 23:10:44.784 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/05 23:10:44.787 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=56] [mode=Import] [2025/04/05 23:10:44.788 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 23:10:44.788 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=301] [2025/04/05 23:10:44.807 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=56] [2025/04/05 23:10:44.807 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [2025/04/05 23:10:44.809 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [readDur=867.546µs] [encodeDur=486.458µs] [checksum="{cksum=11381722441307210293,size=37,kvs=1}"] [deliverDur=190.415µs] [type=file] [takeTime=1.761312ms] [] [2025/04/05 23:10:44.809 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/56/64636ef9-3fe4-5434-ae74-7ab09274a71e.sst/010d9afe-36f3-47a9-82db-1839a78dc6cb.sst] [firstKey=74800000000000012D5F728000000000000001] [lastKey=74800000000000012D5F728000000000000001] [2025/04/05 23:10:44.809 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/05 23:10:44.809 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/05 23:10:44.809 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/05 23:10:44.811 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=1.932726ms] [] [2025/04/05 23:10:44.811 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [retryCnt=0] [2025/04/05 23:10:44.815 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:44.837 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:10:44.837 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:44.839 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000012d5f728000000000000001] [endOfAllRanges=74800000000000012d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff2d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff2d5f728000000000ff0000020000000000fa] [2025/04/05 23:10:44.850 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:10:44.852 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [retryCnt=0] [takeTime=40.421827ms] [] [2025/04/05 23:10:44.852 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/05 23:10:44.853 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=1.101601ms] [] [2025/04/05 23:10:44.853 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/05 23:10:44.853 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 23:10:44.855 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=1.482214ms] [] [2025/04/05 23:10:44.855 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [retryCnt=0] [2025/04/05 23:10:44.858 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 23:10:44.858 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [retryCnt=0] [takeTime=3.521088ms] [] [2025/04/05 23:10:44.858 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 23:10:44.859 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=1.031987ms] [] [2025/04/05 23:10:44.859 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [takeTime=78.384092ms] [] [2025/04/05 23:10:44.860 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [takeTime=78.563619ms] [] [2025/04/05 23:10:44.868 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/05 23:10:44.871 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:44.871 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:44.871 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:44.871 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:44.871 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:44.871 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:44.871 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:44.871 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:44.871 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:44.871 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-55] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:44.871 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:44.871 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:44.873 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:44.873 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:44.873 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:44.873 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:44.873 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=100.02575ms] [] [2025/04/05 23:10:44.874 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=56] [type=ImportInto] [2025/04/05 23:10:44.881 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=import] [2025/04/05 23:10:44.883 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=import] [2025/04/05 23:10:44.986 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=56] [step=import] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:44.988 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=56] [step=import] [mode=Normal] [2025/04/05 23:10:45.002 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=56] [2025/04/05 23:10:45.081 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=56] [2025/04/05 23:10:45.087 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:45.087 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=56] [2025/04/05 23:10:45.108 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:45.113 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.618431346\n# Parse_time: 0.000267972\n# Compile_time: 0.000574473\n# Rewrite_time: 0.000155672\n# Optimize_time: 0.000038093\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 7f56264ab0414ae2938a1523a0e4c563176c6bbd667ba0cba2fbec69538781ee\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjYxNy4zbXMsIG9wZW46ODQ5bnMsIGNsb3NlOjk0MW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2MTcuM21zLCBvcGVuOjg0OW5zLCBjbG9zZTo5NDFucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `kill_job`.`t` FROM 'gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestKillBeforeFinish (1.78s) === NAME TestImportInto === RUN TestImportInto/TestLoadSQLDump [2025/04/05 23:10:46.140 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/05 23:10:46.140 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:46.146 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.165 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=2.295578ms] [gotSchemaVersion=215] [phyTblIDs="[231,233]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:46.169 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=215] [2025/04/05 23:10:46.171 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=10.610428ms] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.181 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.194 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=130.243µs] [gotSchemaVersion=216] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:46.198 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=216] [2025/04/05 23:10:46.200 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=7.889418ms] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.208 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.214 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:46.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=142.425µs] [gotSchemaVersion=217] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:46.228 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=217] [2025/04/05 23:10:46.229 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=217] ["take time"=7.003941ms] [job="ID:303, Type:drop schema, State:done, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.239 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[231,233]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:46.246 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop schema"] [2025/04/05 23:10:46.247 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:synced, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.264 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/05 23:10:46.264 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=217] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 23:10:46.277 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:46.277 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 23:10:46.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=776.278µs] [gotSchemaVersion=218] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:46.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=305] [version=218] [2025/04/05 23:10:46.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=218] ["take time"=7.946896ms] [job="ID:305, Type:create schema, State:done, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.312 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:synced, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=305] [2025/04/05 23:10:46.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=218] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 23:10:46.336 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:46.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [2025/04/05 23:10:46.342 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.347 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 306, Table Name: t)"] [2025/04/05 23:10:46.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=2.14832ms] [gotSchemaVersion=219] [phyTblIDs="[306]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:46.366 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=219] [2025/04/05 23:10:46.368 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=219] ["take time"=9.743795ms] [job="ID:307, Type:create table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.379 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:46.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=307] [2025/04/05 23:10:46.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=219] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [user=root@%] [2025/04/05 23:10:46.399 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:46.452 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/05 23:10:46.474 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=57] [task-id=57] [data-size=42B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:46.490 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=57] [2025/04/05 23:10:46.490 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:46.593 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:46.595 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:46.596 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [2025/04/05 23:10:46.605 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:46.608 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:46.608 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/05 23:10:46.608 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=47.373µs] [2025/04/05 23:10:46.608 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=135.885µs] [] [2025/04/05 23:10:46.608 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:46.608 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:46.642 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:46.662 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/05 23:10:46.662 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:46.671 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:46.671 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:46.672 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:46.672 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:46.672 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:46.672 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:46.672 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:46.673 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:46.673 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:46.673 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:46.686 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:46.688 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:46.688 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:46.688 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=57] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:46.688 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=57] [disk-quota=348.5GiB] [2025/04/05 23:10:46.688 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:46.697 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [2025/04/05 23:10:46.697 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [2025/04/05 23:10:46.699 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=57] [mode=Import] [2025/04/05 23:10:46.701 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:46.704 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:46.705 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=306] [2025/04/05 23:10:46.708 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:10:46.727 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=57] [2025/04/05 23:10:46.745 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=306] [key=p:0] [2025/04/05 23:10:46.748 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=306] [key=p:0] [readDur=1.085993ms] [encodeDur=381.39µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=305.347µs] [type=file] [takeTime=2.166644ms] [] [2025/04/05 23:10:46.748 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=977] [file=/tmp/tidb/import-4000/57/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/01161d4e-08ce-4d7e-9287-93b98e9b2a95.sst] [firstKey=7480000000000001325F728000000000000001] [lastKey=7480000000000001325F728000000000000002] [2025/04/05 23:10:46.748 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/05 23:10:46.749 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/05 23:10:46.749 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:46.751 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=2.460371ms] [] [2025/04/05 23:10:46.751 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 23:10:46.757 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:46.778 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/05 23:10:46.779 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:46.780 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001325f728000000000000001] [endOfAllRanges=7480000000000001325f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff325f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff325f728000000000ff0000030000000000fa] [2025/04/05 23:10:46.792 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 23:10:46.794 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=43.304845ms] [] [2025/04/05 23:10:46.795 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:46.796 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.050866ms] [] [2025/04/05 23:10:46.796 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/05 23:10:46.796 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:46.798 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.792434ms] [] [2025/04/05 23:10:46.798 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 23:10:46.801 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:46.801 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [takeTime=3.615609ms] [] [2025/04/05 23:10:46.801 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:46.802 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=996.718µs] [] [2025/04/05 23:10:46.803 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [takeTime=105.638005ms] [] [2025/04/05 23:10:46.803 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [takeTime=105.799072ms] [] [2025/04/05 23:10:46.897 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:46.898 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:46.899 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:46.900 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:46.930 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:46.931 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:46.931 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:46.953 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:46.953 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/05 23:10:46.956 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:46.956 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:46.956 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:46.956 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:46.956 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:46.956 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:46.956 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-56] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:46.956 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:46.956 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:46.956 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:46.956 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:46.956 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:46.959 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:46.959 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:46.959 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:46.959 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:46.959 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=270.41796ms] [] [2025/04/05 23:10:46.959 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/05 23:10:46.962 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:46.982 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:46.989 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=post-process] [2025/04/05 23:10:46.990 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/05 23:10:46.990 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/05 23:10:46.990 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/05 23:10:46.996 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=5.845321ms] [] [2025/04/05 23:10:46.996 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/05 23:10:46.996 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:10:46.996 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [weight=30] [2025/04/05 23:10:46.996 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [concurrency=15] [2025/04/05 23:10:46.998 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=306] [physicalTableID=306] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 23:10:46.998 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:46.998 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:10:46.998 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=8.408378ms] [] [2025/04/05 23:10:46.998 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=8.565835ms] [] [2025/04/05 23:10:46.998 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=post-process] [takeTime=8.689992ms] [] [2025/04/05 23:10:47.026 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:47.097 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:47.098 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=57] [step=post-process] [state=running] [] [2025/04/05 23:10:47.100 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=57] [2025/04/05 23:10:47.120 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=138.109229ms] [] [2025/04/05 23:10:47.120 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/05 23:10:47.192 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=57] [2025/04/05 23:10:47.199 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:47.199 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=57] [2025/04/05 23:10:47.221 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:47.392 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.998791236\n# Parse_time: 0.000095409\n# Compile_time: 0.000639103\n# Rewrite_time: 0.000175291\n# Optimize_time: 0.000037972\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 9e575a6f81478dff1d2f6842d37d7b213222f7df63b67f266d2b219ee833b464\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny43bXMsIG9wZW46NzUxbnMsIGNsb3NlOjg3OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ny43bXMsIG9wZW46NzUxbnMsIGNsb3NlOjg3OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/' FORMAT 'SQL';"] [2025/04/05 23:10:47.411 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:47.411 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_csv.t;"] [2025/04/05 23:10:47.417 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:47.425 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 308, Table Name: t, Old Table ID: 306, Old Table Name: t)"] [2025/04/05 23:10:47.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.997306ms] [gotSchemaVersion=220] [phyTblIDs="[306,308]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:47.446 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=309] [version=220] [2025/04/05 23:10:47.448 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=220] ["take time"=10.141915ms] [job="ID:309, Type:truncate table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:47.460 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=309] [tableIDs="[306]"] [comment="truncate table: table ID"] [2025/04/05 23:10:47.466 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=309] [jobType="truncate table"] [2025/04/05 23:10:47.467 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:47.489 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=309] [2025/04/05 23:10:47.489 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_csv.t;"] [user=root@%] [2025/04/05 23:10:47.537 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestLoadSQLDump189505381/001/test.sql\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/05 23:10:47.538 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:47.538 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/05 23:10:47.538 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=58.937µs] [2025/04/05 23:10:47.538 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=167.975µs] [] [2025/04/05 23:10:47.557 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=58] [task-id=58] [data-size=42B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:10:47.571 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=58] [2025/04/05 23:10:47.571 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:10:47.674 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:47.675 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:47.676 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [2025/04/05 23:10:47.684 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:47.684 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:10:47.721 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=58] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:10:47.741 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/05 23:10:47.749 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:47.749 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:47.750 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:47.750 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:47.750 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:47.750 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:47.750 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:47.750 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:47.751 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:47.751 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:47.763 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:47.765 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:47.765 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:47.765 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=58] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:47.766 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:10:47.766 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=58] [disk-quota=348.5GiB] [2025/04/05 23:10:47.773 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=import] [2025/04/05 23:10:47.773 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [2025/04/05 23:10:47.777 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:47.780 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:47.780 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=58] [mode=Import] [2025/04/05 23:10:47.780 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=308] [2025/04/05 23:10:47.792 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=308] [key=test.sql:0] [2025/04/05 23:10:47.793 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=308] [key=test.sql:0] [readDur=69.577µs] [encodeDur=280.928µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=288.36µs] [type=file] [takeTime=970.25µs] [] [2025/04/05 23:10:47.793 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=977] [file=/tmp/tidb/import-4000/58/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/dd28abf7-f719-4c18-be77-28e33d5d3d43.sst] [firstKey=7480000000000001345F728000000000000001] [lastKey=7480000000000001345F728000000000000002] [2025/04/05 23:10:47.793 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/05 23:10:47.794 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/05 23:10:47.794 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:47.796 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=2.147729ms] [] [2025/04/05 23:10:47.796 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 23:10:47.799 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=58] [2025/04/05 23:10:47.800 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:47.821 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/05 23:10:47.822 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:47.823 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001345f728000000000000001] [endOfAllRanges=7480000000000001345f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff345f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff345f728000000000ff0000030000000000fa] [2025/04/05 23:10:47.835 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 23:10:47.837 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=41.195162ms] [] [2025/04/05 23:10:47.837 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:10:47.838 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.077758ms] [] [2025/04/05 23:10:47.838 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/05 23:10:47.838 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:47.840 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.764983ms] [] [2025/04/05 23:10:47.840 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 23:10:47.844 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:47.844 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [takeTime=3.633109ms] [] [2025/04/05 23:10:47.844 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:10:47.845 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=960.597µs] [] [2025/04/05 23:10:47.845 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [takeTime=72.138216ms] [] [2025/04/05 23:10:47.845 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=import] [takeTime=72.270602ms] [] [2025/04/05 23:10:47.879 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:47.880 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:47.881 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:47.881 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:47.911 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:10:47.912 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:47.912 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:10:47.951 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:47.957 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/05 23:10:47.960 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:47.960 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:47.960 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:47.960 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:47.960 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:47.960 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:47.960 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:47.960 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:47.960 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-57] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:47.960 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:47.960 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:47.960 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:47.963 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:47.963 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:47.963 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:47.963 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:47.963 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=197.269537ms] [] [2025/04/05 23:10:47.964 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:10:47.972 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=post-process] [2025/04/05 23:10:47.972 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/05 23:10:47.972 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/05 23:10:47.972 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/05 23:10:47.978 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=5.84092ms] [] [2025/04/05 23:10:47.978 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/05 23:10:47.978 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:10:47.978 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [weight=30] [2025/04/05 23:10:47.978 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [concurrency=15] [2025/04/05 23:10:47.980 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=308] [physicalTableID=308] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 23:10:47.981 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:47.981 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:10:47.981 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=8.492248ms] [] [2025/04/05 23:10:47.981 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=8.626406ms] [] [2025/04/05 23:10:47.981 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=post-process] [takeTime=8.764219ms] [] [2025/04/05 23:10:48.008 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:48.078 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:48.079 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=58] [step=post-process] [state=running] [] [2025/04/05 23:10:48.081 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=58] [2025/04/05 23:10:48.101 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=136.691006ms] [] [2025/04/05 23:10:48.101 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=58] [type=ImportInto] [2025/04/05 23:10:48.174 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=58] [2025/04/05 23:10:48.175 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.685579769\n# Parse_time: 0.000099197\n# Compile_time: 0.000599923\n# Rewrite_time: 0.000190388\n# Optimize_time: 0.000386058\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 9e575a6f81478dff1d2f6842d37d7b213222f7df63b67f266d2b219ee833b464\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC42bXMsIG9wZW46ODAwbnMsIGNsb3NlOjk1NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC42bXMsIG9wZW46ODAwbnMsIGNsb3NlOjk1NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestLoadSQLDump189505381/001/test.sql' FORMAT 'SQL';"] --- PASS: TestImportInto/TestLoadSQLDump (2.05s) === NAME TestImportInto === RUN TestImportInto/TestMaxWriteSpeed [2025/04/05 23:10:48.180 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:48.180 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=58] [2025/04/05 23:10:48.180 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_test_write_speed;"] [user=root@%] [2025/04/05 23:10:48.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:48.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:48.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:48.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_write_speed;"] [2025/04/05 23:10:48.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:48.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:48.201 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:48.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=757.732µs] [gotSchemaVersion=221] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:48.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=311] [version=221] [2025/04/05 23:10:48.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=8.526503ms] [job="ID:311, Type:create schema, State:done, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:48.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:48.229 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:synced, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:48.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:48.239 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=311] [2025/04/05 23:10:48.240 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=221] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_test_write_speed;"] [user=root@%] [2025/04/05 23:10:48.252 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:48.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:48.252 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:48.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_write_speed.t(a int, b int)"] [2025/04/05 23:10:48.258 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:48.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:48.263 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 312, Table Name: t)"] [2025/04/05 23:10:48.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.84904ms] [gotSchemaVersion=222] [phyTblIDs="[312]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:48.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=222] [2025/04/05 23:10:48.284 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=222] ["take time"=9.409689ms] [job="ID:313, Type:create table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:48.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:48.296 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:48.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:48.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/05 23:10:48.307 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=222] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_test_write_speed.t(a int, b int)"] [user=root@%] [2025/04/05 23:10:48.317 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:48.363 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:10:48.382 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=59] [task-id=59] [data-size=7.598KiB] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:48.396 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=59] [2025/04/05 23:10:48.396 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:48.498 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:48.499 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:48.500 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [2025/04/05 23:10:48.508 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:48.510 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:48.510 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/05 23:10:48.510 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=53.308µs] [2025/04/05 23:10:48.511 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=139.097µs] [] [2025/04/05 23:10:48.511 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:48.511 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:48.541 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=59] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:48.561 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/05 23:10:48.561 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:48.569 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:48.569 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:48.570 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:48.570 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:48.570 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:48.570 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:48.570 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:48.570 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:48.571 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:48.571 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:48.583 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:48.585 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:48.585 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:48.585 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=59] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:48.585 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=59] [disk-quota=348.5GiB] [2025/04/05 23:10:48.585 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:48.593 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=import] [2025/04/05 23:10:48.593 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [2025/04/05 23:10:48.597 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 23:10:48.601 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:48.601 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=312] [2025/04/05 23:10:48.605 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=59] [mode=Import] [2025/04/05 23:10:48.623 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [2025/04/05 23:10:48.623 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=59] [2025/04/05 23:10:48.651 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [readDur=5.970678ms] [encodeDur=17.558522ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.618325ms] [type=file] [takeTime=27.917713ms] [] [2025/04/05 23:10:48.652 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=34744] [kvs=1000] [files=1] [sstFileSize=11225] [file=/tmp/tidb/import-4000/59/9b4a6271-0aef-5059-a34e-0bbb1ee21829.sst/483e8daa-4f13-4c4c-8ca8-c60064350c79.sst] [firstKey=7480000000000001385F728000000000000001] [lastKey=7480000000000001385F7280000000000003E8] [2025/04/05 23:10:48.652 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/05 23:10:48.652 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/05 23:10:48.652 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 23:10:48.654 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [takeTime=1.890608ms] [] [2025/04/05 23:10:48.654 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/05 23:10:48.658 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:48.679 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/05 23:10:48.680 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:48.681 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001385f728000000000000001] [endOfAllRanges=7480000000000001385f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff385f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff385f728000000000ff0003e90000000000fa] [2025/04/05 23:10:48.696 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/05 23:10:48.698 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [takeTime=43.971555ms] [] [2025/04/05 23:10:48.698 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 23:10:48.699 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [takeTime=1.068036ms] [] [2025/04/05 23:10:48.699 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/05 23:10:48.699 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:48.701 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [takeTime=1.386536ms] [] [2025/04/05 23:10:48.701 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/05 23:10:48.705 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:48.705 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [takeTime=3.745196ms] [] [2025/04/05 23:10:48.705 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:48.706 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [takeTime=848.547µs] [] [2025/04/05 23:10:48.706 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [takeTime=112.550099ms] [] [2025/04/05 23:10:48.706 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=import] [takeTime=112.681224ms] [] [2025/04/05 23:10:48.803 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:48.804 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:48.805 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:48.805 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:48.835 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/05 23:10:48.836 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:48.836 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:48.851 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:10:48.851 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/05 23:10:48.854 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:48.854 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:48.854 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:48.854 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:48.854 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:48.854 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:48.854 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:48.854 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:48.854 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:48.854 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-58] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:48.854 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:48.854 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:48.856 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:48.856 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:48.856 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:48.857 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:48.857 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=271.248702ms] [] [2025/04/05 23:10:48.857 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=59] [type=ImportInto] [2025/04/05 23:10:48.873 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=59] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:48.892 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:48.900 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=112] [step=post-process] [2025/04/05 23:10:48.900 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/05 23:10:48.900 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/05 23:10:48.900 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/05 23:10:48.906 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=5.620569ms] [] [2025/04/05 23:10:48.906 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/05 23:10:48.906 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 23:10:48.906 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [weight=30] [2025/04/05 23:10:48.906 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [concurrency=15] [2025/04/05 23:10:48.910 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=312] [physicalTableID=312] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/05 23:10:48.911 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:48.911 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 23:10:48.911 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=10.393216ms] [] [2025/04/05 23:10:48.911 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=10.551553ms] [] [2025/04/05 23:10:48.912 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=112] [step=post-process] [takeTime=11.724675ms] [] [2025/04/05 23:10:48.939 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:49.005 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:49.005 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=59] [step=post-process] [state=running] [] [2025/04/05 23:10:49.007 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=59] [2025/04/05 23:10:49.031 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=138.850363ms] [] [2025/04/05 23:10:49.031 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=59] [type=ImportInto] [2025/04/05 23:10:49.099 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=59] [2025/04/05 23:10:49.105 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:49.105 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=59] [2025/04/05 23:10:49.127 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:49.299 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.988122254\n# Parse_time: 0.000101349\n# Compile_time: 0.000561011\n# Rewrite_time: 0.000150601\n# Optimize_time: 0.000243523\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: c6a0f7b0dd4e52574368e4cddcea93e86591e82627515cdddbb26a3629d2a409\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny4ybXMsIG9wZW46Njk4bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4Ny4ybXMsIG9wZW46Njk4bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:10:49.317 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:49.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:49.317 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:49.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_test_write_speed.t;"] [2025/04/05 23:10:49.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:49.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:49.331 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 314, Table Name: t, Old Table ID: 312, Old Table Name: t)"] [2025/04/05 23:10:49.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.815986ms] [gotSchemaVersion=223] [phyTblIDs="[312,314]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:10:49.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=315] [version=223] [2025/04/05 23:10:49.352 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=8.955495ms] [job="ID:315, Type:truncate table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:49.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:49.362 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=315] [tableIDs="[312]"] [comment="truncate table: table ID"] [2025/04/05 23:10:49.367 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="truncate table"] [2025/04/05 23:10:49.368 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:49.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:49.385 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=315] [2025/04/05 23:10:49.386 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=223] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_test_write_speed.t;"] [user=root@%] [2025/04/05 23:10:49.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:49.438 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"max_write_speed\":\"6000\"}}"] [dist-task-enabled=true] [2025/04/05 23:10:49.456 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=60] [task-id=60] [data-size=7.598KiB] [thread-cnt=26] [global-sort=false] [2025/04/05 23:10:49.472 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=60] [2025/04/05 23:10:49.472 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:10:49.574 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:10:49.575 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:49.576 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [2025/04/05 23:10:49.583 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:49.586 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:10:49.586 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/05 23:10:49.586 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=46.934µs] [2025/04/05 23:10:49.586 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=148.585µs] [] [2025/04/05 23:10:49.586 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:10:49.586 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:10:49.621 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=60] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:10:49.642 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/05 23:10:49.642 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:10:49.650 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:10:49.650 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:10:49.651 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:10:49.651 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:10:49.651 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:10:49.651 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:10:49.651 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:10:49.651 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:10:49.651 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:10:49.652 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:10:49.663 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:10:49.665 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:10:49.665 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:10:49.665 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=60] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:10:49.665 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:49.665 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=60] [disk-quota=348.5GiB] [2025/04/05 23:10:49.673 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=113] [step=import] [2025/04/05 23:10:49.673 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [2025/04/05 23:10:49.677 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 23:10:49.680 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=60] [mode=Import] [2025/04/05 23:10:49.680 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:49.681 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=314] [2025/04/05 23:10:49.700 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [2025/04/05 23:10:49.702 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=60] [2025/04/05 23:10:49.733 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [readDur=6.784442ms] [encodeDur=19.901653ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=4.194728ms] [type=file] [takeTime=33.721379ms] [] [2025/04/05 23:10:49.734 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=34744] [kvs=1000] [files=1] [sstFileSize=11225] [file=/tmp/tidb/import-4000/60/9b4a6271-0aef-5059-a34e-0bbb1ee21829.sst/0ed4e6e6-d450-4335-be09-9b8604068bea.sst] [firstKey=74800000000000013A5F728000000000000001] [lastKey=74800000000000013A5F7280000000000003E8] [2025/04/05 23:10:49.734 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/05 23:10:49.734 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/05 23:10:49.734 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 23:10:49.737 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [takeTime=2.402588ms] [] [2025/04/05 23:10:49.737 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/05 23:10:49.741 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:10:49.762 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/05 23:10:49.763 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:10:49.765 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013a5f728000000000000001] [endOfAllRanges=74800000000000013a5f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff3a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3a5f728000000000ff0003e90000000000fa] [2025/04/05 23:10:51.656 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:10:58.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:10:59.315 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/05 23:10:59.317 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [takeTime=9.579683687s] [] [2025/04/05 23:10:59.317 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 23:10:59.318 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [takeTime=1.221418ms] [] [2025/04/05 23:10:59.318 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/05 23:10:59.318 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:59.320 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [takeTime=1.709023ms] [] [2025/04/05 23:10:59.320 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/05 23:10:59.325 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:59.325 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [takeTime=4.790866ms] [] [2025/04/05 23:10:59.325 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 23:10:59.326 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [takeTime=1.204274ms] [] [2025/04/05 23:10:59.326 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [takeTime=9.652950417s] [] [2025/04/05 23:10:59.326 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=113] [step=import] [takeTime=9.653121582s] [] [2025/04/05 23:10:59.379 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:10:59.380 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:10:59.381 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [2025/04/05 23:10:59.381 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:10:59.412 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/05 23:10:59.414 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:10:59.414 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:10:59.449 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:10:59.455 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/05 23:10:59.459 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:10:59.459 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:10:59.459 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:10:59.459 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:10:59.459 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:10:59.459 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:10:59.459 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:10:59.459 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:59.459 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-59] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:10:59.459 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:59.459 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:59.459 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:10:59.461 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:10:59.461 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:10:59.461 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:10:59.461 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:10:59.462 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=9.796112082s] [] [2025/04/05 23:10:59.463 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:10:59.471 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=post-process] [2025/04/05 23:10:59.471 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/05 23:10:59.471 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/05 23:10:59.471 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/05 23:10:59.477 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=5.615644ms] [] [2025/04/05 23:10:59.477 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/05 23:10:59.477 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 23:10:59.477 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [weight=30] [2025/04/05 23:10:59.477 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [concurrency=15] [2025/04/05 23:10:59.479 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=314] [physicalTableID=314] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/05 23:10:59.480 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:10:59.480 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 23:10:59.480 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=8.804542ms] [] [2025/04/05 23:10:59.480 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=8.946712ms] [] [2025/04/05 23:10:59.480 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=post-process] [takeTime=9.084405ms] [] [2025/04/05 23:10:59.509 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:10:59.579 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:10:59.579 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=60] [step=post-process] [state=running] [] [2025/04/05 23:10:59.582 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=60] [2025/04/05 23:10:59.601 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=138.351752ms] [] [2025/04/05 23:10:59.601 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=60] [type=ImportInto] [2025/04/05 23:10:59.674 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=60] [2025/04/05 23:10:59.675 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 10.288611212\n# Parse_time: 0.000100145\n# Compile_time: 0.000562433\n# Rewrite_time: 0.000178184\n# Optimize_time: 0.000568696\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 04f04373b72ffdbdd137a8a7de208efc8c33b2081143ab690be1cc5d83040dc8\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEwLjNzLCBvcGVuOjc2NG5zLCBjbG9zZTo5NzBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEwLjNzLCBvcGVuOjc2NG5zLCBjbG9zZTo5NzBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH max_write_speed=_UTF8MB4'6000';"] --- PASS: TestImportInto/TestMaxWriteSpeed (11.50s) === NAME TestImportInto === RUN TestImportInto/TestMultiValueIndex [2025/04/05 23:10:59.681 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:10:59.681 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=60] [2025/04/05 23:10:59.694 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:59.694 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/05 23:10:59.700 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.703 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:10:59.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=1.772813ms] [gotSchemaVersion=224] [phyTblIDs="[308]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:59.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=224] [2025/04/05 23:10:59.724 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=9.168883ms] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.733 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.746 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=129.019µs] [gotSchemaVersion=225] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:59.750 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=225] [2025/04/05 23:10:59.751 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=225] ["take time"=7.203701ms] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.761 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.767 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:10:59.778 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=137.768µs] [gotSchemaVersion=226] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:10:59.782 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=226] [2025/04/05 23:10:59.784 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=226] ["take time"=7.568147ms] [job="ID:316, Type:drop schema, State:done, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.792 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=316] [tableIDs="[308]"] [comment="drop schema: table IDs"] [2025/04/05 23:10:59.797 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="drop schema"] [2025/04/05 23:10:59.798 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:synced, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.815 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/05 23:10:59.815 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=226] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 23:10:59.828 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:59.827 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 23:10:59.833 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=766.51µs] [gotSchemaVersion=227] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:10:59.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=227] [2025/04/05 23:10:59.853 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=227] ["take time"=8.545909ms] [job="ID:318, Type:create schema, State:done, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.865 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:synced, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.876 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/05 23:10:59.876 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=227] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 23:10:59.890 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:10:59.890 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [2025/04/05 23:10:59.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.902 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 319, Table Name: t)"] [2025/04/05 23:10:59.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=2.266818ms] [gotSchemaVersion=228] [phyTblIDs="[319]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:10:59.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=228] [2025/04/05 23:10:59.926 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=228] ["take time"=10.181998ms] [job="ID:320, Type:create table, State:done, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:10:59.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.938 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:synced, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 23:10:59.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:10:59.950 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/05 23:10:59.951 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=228] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [user=root@%] [2025/04/05 23:10:59.958 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:00.015 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:00.036 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=61] [task-id=61] [data-size=27B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:11:00.053 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=61] [2025/04/05 23:11:00.053 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:11:00.155 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:00.156 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:00.158 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [2025/04/05 23:11:00.166 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:00.169 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:11:00.169 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=27] [2025/04/05 23:11:00.169 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=27] [cost=45.717µs] [2025/04/05 23:11:00.169 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=175.881µs] [] [2025/04/05 23:11:00.169 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:00.169 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:11:00.201 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=61] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:00.221 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/05 23:11:00.222 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:00.230 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:00.230 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:00.230 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:00.231 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:00.231 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:00.231 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:00.231 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:00.231 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:00.231 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:00.232 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:00.244 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:00.246 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:00.246 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:11:00.246 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=61] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:00.246 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=61] [disk-quota=348.5GiB] [2025/04/05 23:11:00.246 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:00.254 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=import] [2025/04/05 23:11:00.254 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [2025/04/05 23:11:00.258 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:11:00.261 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:11:00.262 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=319] [2025/04/05 23:11:00.262 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=61] [mode=Import] [2025/04/05 23:11:00.281 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=319] [key=1.csv:0] [2025/04/05 23:11:00.282 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=319] [key=1.csv:0] [readDur=92.012µs] [encodeDur=798.346µs] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [deliverDur=384.666µs] [type=file] [takeTime=1.558927ms] [] [2025/04/05 23:11:00.284 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=160] [kvs=2] [files=1] [sstFileSize=1035] [file=/tmp/tidb/import-4000/61/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/24af52fc-26ae-49ba-bced-6744553dfcda.sst] [firstKey=74800000000000013F5F728000000000000001] [lastKey=74800000000000013F5F728000000000000002] [2025/04/05 23:11:00.284 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/05 23:11:00.284 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/05 23:11:00.284 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:11:00.286 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=2.492128ms] [] [2025/04/05 23:11:00.286 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 23:11:00.289 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=61] [2025/04/05 23:11:00.291 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:00.312 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=160] [2025/04/05 23:11:00.313 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:00.315 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f728000000000000001] [endOfAllRanges=74800000000000013f5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff3f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3f5f728000000000ff0000030000000000fa] [2025/04/05 23:11:00.332 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 23:11:00.335 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=48.258293ms] [] [2025/04/05 23:11:00.335 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 23:11:00.336 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.596155ms] [] [2025/04/05 23:11:00.336 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/05 23:11:00.336 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:11:00.337 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=228] [kvs=6] [files=1] [sstFileSize=1027] [file=/tmp/tidb/import-4000/61/922fc444-c86f-5359-8d65-4e59ab5cb948.sst/433a68c8-755b-498e-b960-ce85f91f3bcc.sst] [firstKey=74800000000000013F5F698000000000000001038000000000000001038000000000000001] [lastKey=74800000000000013F5F698000000000000001038000000000000004038000000000000002] [2025/04/05 23:11:00.339 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=2.635796ms] [] [2025/04/05 23:11:00.339 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 23:11:00.344 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:00.367 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] ["region ranges"=1] [count=6] [size=228] [2025/04/05 23:11:00.367 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:00.369 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=74800000000000013f5f69800000000000000103800000000000000403800000000000000200] [startKeyOfFirstRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000403800000ff0000000002000000fd] [2025/04/05 23:11:00.380 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/05 23:11:00.382 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [takeTime=43.141954ms] [] [2025/04/05 23:11:00.382 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 23:11:00.384 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.323791ms] [] [2025/04/05 23:11:00.384 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [takeTime=130.090889ms] [] [2025/04/05 23:11:00.385 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=import] [takeTime=131.470314ms] [] [2025/04/05 23:11:00.460 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:00.461 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:00.463 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:00.463 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:00.495 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:00.497 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:00.497 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:11:00.529 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:00.535 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/05 23:11:00.540 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:00.540 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:00.540 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:00.540 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:00.540 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:00.540 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:00.540 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:00.540 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:00.540 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-60] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:00.540 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:00.540 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:00.540 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:00.543 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:00.543 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:00.543 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:00.543 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:00.543 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=296.882699ms] [] [2025/04/05 23:11:00.545 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:00.553 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=post-process] [2025/04/05 23:11:00.553 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/05 23:11:00.553 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/05 23:11:00.553 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/05 23:11:00.559 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=5.810148ms] [] [2025/04/05 23:11:00.559 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [groupId=-1] [size=160] [kvs=2] [checksum=15615775900203205091] [2025/04/05 23:11:00.559 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [groupId=1] [size=228] [kvs=6] [checksum=15150038536865480860] [2025/04/05 23:11:00.560 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/05 23:11:00.560 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [weight=30] [2025/04/05 23:11:00.560 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [concurrency=15] [2025/04/05 23:11:00.566 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=-1] [checksum=15615775900203205091] [totalKvs=2] [totalBytes=160] [2025/04/05 23:11:00.567 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=1] [checksum=15150038536865480860] [totalKvs=6] [totalBytes=228] [2025/04/05 23:11:00.568 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:00.568 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [local="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/05 23:11:00.568 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=14.234089ms] [] [2025/04/05 23:11:00.568 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=14.400766ms] [] [2025/04/05 23:11:00.568 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=post-process] [takeTime=14.538998ms] [] [2025/04/05 23:11:00.595 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:00.659 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:00.660 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=61] [step=post-process] [state=running] [] [2025/04/05 23:11:00.662 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=61] [2025/04/05 23:11:00.688 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=143.715703ms] [] [2025/04/05 23:11:00.688 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=61] [type=ImportInto] [2025/04/05 23:11:00.755 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=61] [2025/04/05 23:11:00.762 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:00.762 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=61] [2025/04/05 23:11:00.785 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:00.953 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 1.002040181\n# Parse_time: 0.000095747\n# Compile_time: 0.000844723\n# Rewrite_time: 0.000413572\n# Optimize_time: 0.000580321\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 0d1383d0b5339f79a3a736580e3d461eac7dbd04232f42cb436a9c3d912d3791\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjcxOW5zLCBjbG9zZTo3OTNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjcxOW5zLCBjbG9zZTo3OTNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH skip_rows=1;"] --- PASS: TestImportInto/TestMultiValueIndex (1.28s) === NAME TestImportInto === RUN TestImportInto/TestOtherCharset [2025/04/05 23:11:00.969 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:00.969 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/05 23:11:00.975 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:00.993 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=2.275095ms] [gotSchemaVersion=229] [phyTblIDs="[222,226]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:00.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=229] [2025/04/05 23:11:00.999 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=10.814907ms] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.010 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.023 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=150.196µs] [gotSchemaVersion=230] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:01.027 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=230] [2025/04/05 23:11:01.028 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=7.442496ms] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.038 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.045 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:01.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=151.209µs] [gotSchemaVersion=231] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:01.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=231] [2025/04/05 23:11:01.061 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=7.514784ms] [job="ID:321, Type:drop schema, State:done, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.070 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[222,226]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:01.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop schema"] [2025/04/05 23:11:01.076 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:synced, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:00.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/05 23:11:01.092 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=231] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/05 23:11:01.103 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:01.103 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/05 23:11:01.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:01.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=772.94µs] [gotSchemaVersion=232] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:01.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=232] [2025/04/05 23:11:01.127 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=232] ["take time"=7.746097ms] [job="ID:323, Type:create schema, State:done, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.138 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:synced, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:01.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.148 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/05 23:11:01.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=232] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/05 23:11:01.161 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [2025/04/05 23:11:01.161 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:01.169 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:01.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.174 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: utf8)"] [2025/04/05 23:11:01.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.737526ms] [gotSchemaVersion=233] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:01.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=233] [2025/04/05 23:11:01.194 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=233] ["take time"=9.026617ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.204 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:01.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.215 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/05 23:11:01.216 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=233] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [user=root@%] [2025/04/05 23:11:01.228 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:01.228 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/05 23:11:01.233 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:01.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.238 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 326, Table Name: utf8mb4)"] [2025/04/05 23:11:01.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.677518ms] [gotSchemaVersion=234] [phyTblIDs="[326]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:01.256 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=234] [2025/04/05 23:11:01.258 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=234] ["take time"=8.999251ms] [job="ID:327, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:01.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.269 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:01.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:01.280 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/05 23:11:01.281 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=234] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/05 23:11:01.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:01.337 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:01.358 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=62] [task-id=62] [data-size=29B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:11:01.372 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=62] [2025/04/05 23:11:01.372 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:11:01.475 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:01.476 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:01.477 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [2025/04/05 23:11:01.485 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:01.487 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8] [2025/04/05 23:11:01.487 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8] [before=536870912000] [after=29] [2025/04/05 23:11:01.487 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=73.401µs] [2025/04/05 23:11:01.487 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8] [takeTime=163.457µs] [] [2025/04/05 23:11:01.487 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:01.487 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:11:01.521 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=62] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:01.541 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/05 23:11:01.541 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:01.550 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:01.550 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:01.550 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:01.550 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:01.551 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:01.551 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:01.551 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:01.551 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:01.551 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:01.552 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:01.564 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:01.565 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:01.565 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8] [quota=374.2GB] [2025/04/05 23:11:01.566 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=62] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:01.566 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:01.566 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8] [import-id=62] [disk-quota=348.5GiB] [2025/04/05 23:11:01.574 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=import] [2025/04/05 23:11:01.574 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [2025/04/05 23:11:01.577 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/05 23:11:01.581 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 23:11:01.581 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=62] [mode=Import] [2025/04/05 23:11:01.581 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=324] [2025/04/05 23:11:01.600 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=62] [2025/04/05 23:11:01.601 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [2025/04/05 23:11:01.603 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [readDur=938.801µs] [encodeDur=549.703µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=235.762µs] [type=file] [takeTime=2.016414ms] [] [2025/04/05 23:11:01.604 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=88] [kvs=2] [files=1] [sstFileSize=999] [file=/tmp/tidb/import-4000/62/11721d0c-587e-542e-9623-9a54305cb4a0.sst/f0d811a1-1fb1-4efd-8f50-b71213fe7d68.sst] [firstKey=7480000000000001445F728000000000000001] [lastKey=7480000000000001445F728000000000000002] [2025/04/05 23:11:01.604 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/05 23:11:01.604 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/05 23:11:01.604 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/05 23:11:01.606 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=2.068482ms] [] [2025/04/05 23:11:01.606 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [retryCnt=0] [2025/04/05 23:11:01.610 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:01.632 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] ["region ranges"=1] [count=2] [size=88] [2025/04/05 23:11:01.632 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:01.634 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001445f728000000000000001] [endOfAllRanges=7480000000000001445f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff445f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff445f728000000000ff0000030000000000fa] [2025/04/05 23:11:01.645 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/05 23:11:01.647 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [retryCnt=0] [takeTime=41.159969ms] [] [2025/04/05 23:11:01.647 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/05 23:11:01.649 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=1.462513ms] [] [2025/04/05 23:11:01.649 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/05 23:11:01.649 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 23:11:01.651 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=2.029943ms] [] [2025/04/05 23:11:01.651 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [retryCnt=0] [2025/04/05 23:11:01.655 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 23:11:01.655 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [retryCnt=0] [takeTime=4.312428ms] [] [2025/04/05 23:11:01.655 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 23:11:01.657 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=1.052871ms] [] [2025/04/05 23:11:01.657 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [takeTime=83.063507ms] [] [2025/04/05 23:11:01.657 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=import] [takeTime=83.21509ms] [] [2025/04/05 23:11:01.680 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:01.682 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:01.683 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:01.683 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:01.714 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:01.715 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:01.715 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:11:01.741 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:01.747 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/05 23:11:01.750 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:01.750 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:01.750 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:01.750 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:01.750 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:01.750 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:01.750 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:01.750 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:01.750 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-61] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:01.751 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:01.751 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:01.751 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:01.753 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:01.753 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:01.753 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:01.753 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:01.753 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=187.493759ms] [] [2025/04/05 23:11:01.755 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:01.763 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=post-process] [2025/04/05 23:11:01.763 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/05 23:11:01.763 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/05 23:11:01.763 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/05 23:11:01.770 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=6.343724ms] [] [2025/04/05 23:11:01.770 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/05 23:11:01.770 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 23:11:01.770 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [weight=30] [2025/04/05 23:11:01.770 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [concurrency=15] [2025/04/05 23:11:01.772 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=324] [physicalTableID=324] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/05 23:11:01.772 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:01.772 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 23:11:01.772 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=9.041454ms] [] [2025/04/05 23:11:01.772 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=9.169319ms] [] [2025/04/05 23:11:01.772 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=post-process] [takeTime=9.301912ms] [] [2025/04/05 23:11:01.783 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:01.880 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:01.880 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=62] [step=post-process] [state=running] [] [2025/04/05 23:11:01.882 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=62] [2025/04/05 23:11:01.911 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=156.67207ms] [] [2025/04/05 23:11:01.911 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=62] [type=ImportInto] [2025/04/05 23:11:01.974 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=62] [2025/04/05 23:11:01.974 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.692971253\n# Parse_time: 0.000107276\n# Compile_time: 0.000633395\n# Rewrite_time: 0.000166126\n# Optimize_time: 0.000289284\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: d4ea1cbec1ea292ce36921fbf548da1d564746ce1d24533f56ddf35ee6437999\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MS45bXMsIG9wZW46ODUybnMsIGNsb3NlOjk4OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MS45bXMsIG9wZW46ODUybnMsIGNsb3NlOjk4OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`utf8` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/05 23:11:01.980 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:01.980 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=62] [2025/04/05 23:11:01.986 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:02.002 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:02.033 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:02.051 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=63] [task-id=63] [data-size=29B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:11:02.065 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=63] [2025/04/05 23:11:02.066 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:11:02.168 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:02.169 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:02.170 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [2025/04/05 23:11:02.178 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:02.180 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/05 23:11:02.181 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=29] [2025/04/05 23:11:02.181 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=50.71µs] [2025/04/05 23:11:02.181 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=153.171µs] [] [2025/04/05 23:11:02.181 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:02.181 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:11:02.210 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:02.230 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/05 23:11:02.230 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:02.238 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:02.238 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:02.239 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:02.239 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:02.239 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:02.239 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:02.239 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:02.239 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:02.240 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:02.240 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:02.427 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:02.428 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=63] [mode=Import] [2025/04/05 23:11:02.429 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:02.429 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/05 23:11:02.430 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=63] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:02.430 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=63] [disk-quota=348.5GiB] [2025/04/05 23:11:02.430 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:02.447 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=import] [2025/04/05 23:11:02.448 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [2025/04/05 23:11:02.452 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=63] [2025/04/05 23:11:02.452 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:11:02.456 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:02.457 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=326] [2025/04/05 23:11:02.499 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [2025/04/05 23:11:02.502 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [readDur=1.220492ms] [encodeDur=266.805µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=252.926µs] [type=file] [takeTime=2.149488ms] [] [2025/04/05 23:11:02.502 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=88] [kvs=2] [files=1] [sstFileSize=999] [file=/tmp/tidb/import-4000/63/26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b.sst/0cf3cd1a-bae0-4558-b39f-0061a982ce74.sst] [firstKey=7480000000000001465F728000000000000001] [lastKey=7480000000000001465F728000000000000002] [2025/04/05 23:11:02.502 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/05 23:11:02.503 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/05 23:11:02.503 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:11:02.505 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=2.18359ms] [] [2025/04/05 23:11:02.505 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/05 23:11:02.509 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:02.531 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=88] [2025/04/05 23:11:02.532 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:02.533 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001465f728000000000000001] [endOfAllRanges=7480000000000001465f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff465f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff465f728000000000ff0000030000000000fa] [2025/04/05 23:11:02.545 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/05 23:11:02.547 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [takeTime=41.784353ms] [] [2025/04/05 23:11:02.547 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:11:02.548 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.199977ms] [] [2025/04/05 23:11:02.548 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/05 23:11:02.548 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:02.550 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.835443ms] [] [2025/04/05 23:11:02.550 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/05 23:11:02.554 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:02.554 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [takeTime=3.736267ms] [] [2025/04/05 23:11:02.554 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:02.555 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.003121ms] [] [2025/04/05 23:11:02.555 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [takeTime=107.545183ms] [] [2025/04/05 23:11:02.555 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=import] [takeTime=107.702513ms] [] [2025/04/05 23:11:02.573 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:02.575 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:02.575 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:02.576 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:02.606 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:02.608 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:02.608 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:11:02.643 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:02.650 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/05 23:11:02.653 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:02.654 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:02.654 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:02.654 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:02.654 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:02.654 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:02.654 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:02.654 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-62] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:02.654 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:02.654 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:02.654 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:02.654 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:02.657 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:02.657 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:02.657 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:02.657 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:02.657 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=227.534096ms] [] [2025/04/05 23:11:02.658 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:02.666 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=post-process] [2025/04/05 23:11:02.667 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/05 23:11:02.667 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/05 23:11:02.667 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/05 23:11:02.674 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=6.624489ms] [] [2025/04/05 23:11:02.674 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/05 23:11:02.674 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 23:11:02.674 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [weight=30] [2025/04/05 23:11:02.674 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [concurrency=15] [2025/04/05 23:11:02.676 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=326] [physicalTableID=326] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/05 23:11:02.676 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:02.676 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 23:11:02.677 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=9.649269ms] [] [2025/04/05 23:11:02.677 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=9.818145ms] [] [2025/04/05 23:11:02.677 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=post-process] [takeTime=10.41272ms] [] [2025/04/05 23:11:02.707 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:02.773 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:02.773 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=63] [step=post-process] [state=running] [] [2025/04/05 23:11:02.776 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=63] [2025/04/05 23:11:02.801 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=142.057909ms] [] [2025/04/05 23:11:02.801 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/05 23:11:02.868 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=63] [2025/04/05 23:11:02.874 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:02.874 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=63] [2025/04/05 23:11:02.896 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:02.970 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.989803733\n# Parse_time: 0.000108406\n# Compile_time: 0.000587753\n# Rewrite_time: 0.000164222\n# Optimize_time: 0.000254069\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 456657ccead4fe483db0b01bf04fee69e0a4728ba623fae84d7794bb531b116c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC44bXMsIG9wZW46NzE2bnMsIGNsb3NlOjc1Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC44bXMsIG9wZW46NzE2bnMsIGNsb3NlOjc1Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/05 23:11:02.988 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:02.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:02.988 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:02.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [2025/04/05 23:11:02.994 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:02.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:02.999 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 328, Table Name: latin1)"] [2025/04/05 23:11:03.015 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.896197ms] [gotSchemaVersion=235] [phyTblIDs="[328]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:03.019 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=235] [2025/04/05 23:11:03.021 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=9.436428ms] [job="ID:329, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:02.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:03.033 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:02.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:03.044 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/05 23:11:03.045 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=235] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [user=root@%] [2025/04/05 23:11:03.051 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:03.101 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:03.121 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=64] [task-id=64] [data-size=13B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:11:03.136 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=64] [2025/04/05 23:11:03.136 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:11:03.238 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:03.239 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:03.240 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [2025/04/05 23:11:03.248 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:03.251 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=latin1] [2025/04/05 23:11:03.251 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=latin1] [before=536870912000] [after=13] [2025/04/05 23:11:03.251 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=latin1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=49.508µs] [2025/04/05 23:11:03.251 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=latin1] [takeTime=155.756µs] [] [2025/04/05 23:11:03.251 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:03.251 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:11:03.291 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:03.311 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/05 23:11:03.311 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:03.320 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:03.320 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:03.320 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:03.320 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:03.320 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:03.320 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:03.320 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:03.321 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:03.321 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:03.321 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:03.333 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:03.335 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:03.335 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=latin1] [quota=374.2GB] [2025/04/05 23:11:03.335 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=64] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:03.335 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=latin1] [import-id=64] [disk-quota=348.5GiB] [2025/04/05 23:11:03.336 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:03.343 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=import] [2025/04/05 23:11:03.343 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [2025/04/05 23:11:03.346 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=64] [mode=Import] [2025/04/05 23:11:03.348 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/05 23:11:03.351 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 23:11:03.352 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=328] [2025/04/05 23:11:03.366 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=64] [2025/04/05 23:11:03.391 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [2025/04/05 23:11:03.393 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [readDur=929.757µs] [encodeDur=1.027398ms] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [deliverDur=234.917µs] [type=file] [takeTime=2.520936ms] [] [2025/04/05 23:11:03.394 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=84] [kvs=2] [files=1] [sstFileSize=997] [file=/tmp/tidb/import-4000/64/ece7d91b-221a-5440-8076-d026d7718798.sst/74a31ca1-738c-42fe-a1cf-16ff6debd205.sst] [firstKey=7480000000000001485F728000000000000001] [lastKey=7480000000000001485F728000000000000002] [2025/04/05 23:11:03.394 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/05 23:11:03.394 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/05 23:11:03.394 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/05 23:11:03.397 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=2.380345ms] [] [2025/04/05 23:11:03.397 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [2025/04/05 23:11:03.401 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:03.424 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] ["region ranges"=1] [count=2] [size=84] [2025/04/05 23:11:03.424 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:03.425 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001485f728000000000000001] [endOfAllRanges=7480000000000001485f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff485f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff485f728000000000ff0000030000000000fa] [2025/04/05 23:11:03.437 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/05 23:11:03.439 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [takeTime=41.902967ms] [] [2025/04/05 23:11:03.439 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/05 23:11:03.440 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.098917ms] [] [2025/04/05 23:11:03.440 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/05 23:11:03.440 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 23:11:03.442 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=1.586294ms] [] [2025/04/05 23:11:03.442 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [retryCnt=0] [2025/04/05 23:11:03.445 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 23:11:03.445 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [retryCnt=0] [takeTime=3.721055ms] [] [2025/04/05 23:11:03.445 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 23:11:03.446 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=961.813µs] [] [2025/04/05 23:11:03.447 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [takeTime=103.143549ms] [] [2025/04/05 23:11:03.447 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=import] [takeTime=103.327495ms] [] [2025/04/05 23:11:03.543 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:03.544 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:03.545 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:03.545 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:03.575 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:03.577 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:03.577 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:11:03.597 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:11:03.597 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/05 23:11:03.600 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:03.600 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:03.601 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:03.601 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:03.601 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:03.600 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:03.601 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:03.601 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-63] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:03.601 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:03.601 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:03.601 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:03.601 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:03.603 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:03.603 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:03.603 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:03.603 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:03.603 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=267.81029ms] [] [2025/04/05 23:11:03.603 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/05 23:11:03.611 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:03.631 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:03.638 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=post-process] [2025/04/05 23:11:03.638 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/05 23:11:03.639 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/05 23:11:03.639 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/05 23:11:03.644 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=5.855166ms] [] [2025/04/05 23:11:03.645 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [groupId=-1] [size=84] [kvs=2] [checksum=3436636415173179895] [2025/04/05 23:11:03.645 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [2025/04/05 23:11:03.645 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [weight=30] [2025/04/05 23:11:03.645 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [concurrency=15] [2025/04/05 23:11:03.647 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=328] [physicalTableID=328] [indexID=-1] [checksum=3436636415173179895] [totalKvs=2] [totalBytes=84] [2025/04/05 23:11:03.647 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:03.647 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [local="{cksum=3436636415173179895,size=84,kvs=2}"] [2025/04/05 23:11:03.647 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.518597ms] [] [2025/04/05 23:11:03.647 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.652841ms] [] [2025/04/05 23:11:03.647 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=post-process] [takeTime=8.788811ms] [] [2025/04/05 23:11:03.674 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:03.743 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:03.743 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=64] [step=post-process] [state=running] [] [2025/04/05 23:11:03.746 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=64] [2025/04/05 23:11:03.768 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=137.294535ms] [] [2025/04/05 23:11:03.768 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/05 23:11:03.838 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=64] [2025/04/05 23:11:03.844 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:03.844 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=64] [2025/04/05 23:11:03.865 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:04.037 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.992455976\n# Parse_time: 0.000114543\n# Compile_time: 0.000574282\n# Rewrite_time: 0.000171556\n# Optimize_time: 0.000282281\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 332e8cdf63771e77768aec7efdf35164436f132e1692aa988cbd127c61a22a3b\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS41bXMsIG9wZW46Njk3bnMsIGNsb3NlOjkyM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS41bXMsIG9wZW46Njk3bnMsIGNsb3NlOjkyM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`latin1` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/05 23:11:04.053 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:04.053 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.utf8mb4;"] [2025/04/05 23:11:04.059 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:04.067 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 330, Table Name: utf8mb4, Old Table ID: 326, Old Table Name: utf8mb4)"] [2025/04/05 23:11:04.082 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.686986ms] [gotSchemaVersion=236] [phyTblIDs="[326,330]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:11:04.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=236] [2025/04/05 23:11:04.087 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=236] ["take time"=8.680084ms] [job="ID:331, Type:truncate table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:04.097 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/05 23:11:04.102 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="truncate table"] [2025/04/05 23:11:04.103 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:04.119 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/05 23:11:04.120 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=236] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_charset.utf8mb4;"] [user=root@%] [2025/04/05 23:11:04.126 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:04.174 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:04.192 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=65] [task-id=65] [data-size=13B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:11:04.206 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=65] [2025/04/05 23:11:04.206 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:11:04.308 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:04.309 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:04.310 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [2025/04/05 23:11:04.318 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:04.321 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/05 23:11:04.321 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=13] [2025/04/05 23:11:04.321 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=60.401µs] [2025/04/05 23:11:04.321 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=203.66µs] [] [2025/04/05 23:11:04.321 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:04.322 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:11:04.361 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:04.381 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/05 23:11:04.381 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:04.389 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:04.389 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:04.390 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:04.390 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:04.390 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:04.390 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:04.390 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:04.390 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:04.391 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:04.391 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:04.402 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:04.404 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:04.404 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/05 23:11:04.404 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=65] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:04.404 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:04.404 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=65] [disk-quota=348.5GiB] [2025/04/05 23:11:04.413 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=123] [step=import] [2025/04/05 23:11:04.413 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [2025/04/05 23:11:04.415 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=65] [mode=Import] [2025/04/05 23:11:04.417 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:11:04.421 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:04.421 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=330] [2025/04/05 23:11:04.435 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=65] [2025/04/05 23:11:04.460 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [2025/04/05 23:11:04.462 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [readDur=990.204µs] [encodeDur=576.599µs] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [deliverDur=339.664µs] [type=file] [takeTime=2.240099ms] [] [2025/04/05 23:11:04.463 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=84] [kvs=2] [files=1] [sstFileSize=997] [file=/tmp/tidb/import-4000/65/26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b.sst/e12325a0-b17e-497f-858a-81743910a4fd.sst] [firstKey=74800000000000014A5F728000000000000001] [lastKey=74800000000000014A5F728000000000000002] [2025/04/05 23:11:04.463 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/05 23:11:04.463 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/05 23:11:04.463 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:11:04.465 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=2.257247ms] [] [2025/04/05 23:11:04.465 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/05 23:11:04.470 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:04.492 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=84] [2025/04/05 23:11:04.492 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:04.494 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014a5f728000000000000001] [endOfAllRanges=74800000000000014a5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff4a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4a5f728000000000ff0000030000000000fa] [2025/04/05 23:11:04.506 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/05 23:11:04.508 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [takeTime=41.989023ms] [] [2025/04/05 23:11:04.508 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 23:11:04.509 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.05568ms] [] [2025/04/05 23:11:04.509 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/05 23:11:04.509 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:04.510 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.557146ms] [] [2025/04/05 23:11:04.510 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/05 23:11:04.514 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:04.514 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [takeTime=3.69292ms] [] [2025/04/05 23:11:04.514 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 23:11:04.515 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=882.613µs] [] [2025/04/05 23:11:04.515 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [takeTime=102.296154ms] [] [2025/04/05 23:11:04.515 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=123] [step=import] [takeTime=102.441533ms] [] [2025/04/05 23:11:04.614 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:04.615 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:04.616 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:04.616 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:04.646 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:04.647 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:04.647 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:11:04.670 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:11:04.670 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/05 23:11:04.673 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:04.673 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:04.673 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:04.673 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:04.673 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:04.673 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:04.673 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:04.673 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:04.673 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:04.673 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-64] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:04.673 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:04.673 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:04.676 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:04.676 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:04.676 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:04.676 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:04.676 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=271.324505ms] [] [2025/04/05 23:11:04.676 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/05 23:11:04.682 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:11:04.703 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:11:04.711 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=124] [step=post-process] [2025/04/05 23:11:04.712 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/05 23:11:04.712 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/05 23:11:04.712 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/05 23:11:04.718 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=6.014438ms] [] [2025/04/05 23:11:04.718 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [groupId=-1] [size=84] [kvs=2] [checksum=383903096968287332] [2025/04/05 23:11:04.718 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [2025/04/05 23:11:04.718 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [weight=30] [2025/04/05 23:11:04.718 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [concurrency=15] [2025/04/05 23:11:04.720 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=330] [physicalTableID=330] [indexID=-1] [checksum=383903096968287332] [totalKvs=2] [totalBytes=84] [2025/04/05 23:11:04.721 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:04.721 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [local="{cksum=383903096968287332,size=84,kvs=2}"] [2025/04/05 23:11:04.721 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=9.001613ms] [] [2025/04/05 23:11:04.721 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=9.187331ms] [] [2025/04/05 23:11:04.721 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=124] [step=post-process] [takeTime=9.380852ms] [] [2025/04/05 23:11:04.744 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:04.768 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=52] [new=16] [2025/04/05 23:11:04.813 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:04.813 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=65] [step=post-process] [state=running] [] [2025/04/05 23:11:04.816 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=65] [2025/04/05 23:11:04.842 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=139.406541ms] [] [2025/04/05 23:11:04.842 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/05 23:11:04.909 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=65] [2025/04/05 23:11:04.915 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:04.915 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=65] [2025/04/05 23:11:04.937 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:05.109 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.988719372\n# Parse_time: 0.000109025\n# Compile_time: 0.000556323\n# Rewrite_time: 0.000161476\n# Optimize_time: 0.000421107\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: 456657ccead4fe483db0b01bf04fee69e0a4728ba623fae84d7794bb531b116c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny44bXMsIG9wZW46NjY2bnMsIGNsb3NlOjc5Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny44bXMsIG9wZW46NjY2bnMsIGNsb3NlOjc5Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/05 23:11:05.125 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:05.125 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [2025/04/05 23:11:05.131 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:05.135 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: ascii)"] [2025/04/05 23:11:05.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.901533ms] [gotSchemaVersion=237] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:05.155 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=237] [2025/04/05 23:11:05.157 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=10.045753ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:05.168 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:05.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/05 23:11:05.179 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=237] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [user=root@%] [2025/04/05 23:11:05.191 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:05.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [2025/04/05 23:11:05.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:05.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:05.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:05.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:05.202 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 334, Table Name: binary)"] [2025/04/05 23:11:05.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=1.667077ms] [gotSchemaVersion=238] [phyTblIDs="[334]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:05.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=238] [2025/04/05 23:11:05.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=9.011353ms] [job="ID:335, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:05.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:05.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:05.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:05.245 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/05 23:11:05.245 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=238] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [user=root@%] [2025/04/05 23:11:05.252 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:05.300 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"ascii\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:05.318 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=66] [task-id=66] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:05.332 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=66] [2025/04/05 23:11:05.332 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:05.434 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:05.435 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:05.436 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [2025/04/05 23:11:05.443 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:05.446 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=ascii] [2025/04/05 23:11:05.446 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=ascii] [before=536870912000] [after=8] [2025/04/05 23:11:05.446 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=ascii] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=48.338µs] [2025/04/05 23:11:05.446 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=ascii] [takeTime=164.422µs] [] [2025/04/05 23:11:05.446 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:05.446 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:05.481 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:05.501 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/05 23:11:05.501 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:05.509 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:05.509 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:05.509 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:05.509 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:05.509 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:05.509 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:05.509 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:05.510 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:05.510 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:05.510 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:05.522 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:05.524 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:05.524 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=ascii] [quota=374.2GB] [2025/04/05 23:11:05.524 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=66] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:05.524 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=ascii] [import-id=66] [disk-quota=348.5GiB] [2025/04/05 23:11:05.524 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:05.533 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=import] [2025/04/05 23:11:05.533 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [2025/04/05 23:11:05.537 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/05 23:11:05.541 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=66] [mode=Import] [2025/04/05 23:11:05.541 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 23:11:05.541 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=332] [2025/04/05 23:11:05.543 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [2025/04/05 23:11:05.546 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [readDur=995.707µs] [encodeDur=640.22µs] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [deliverDur=275.805µs] [type=file] [takeTime=2.246405ms] [] [2025/04/05 23:11:05.546 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=36] [kvs=1] [files=1] [sstFileSize=934] [file=/tmp/tidb/import-4000/66/61de7867-b9cf-5cd3-9fcf-c962f48b2a45.sst/be51faf8-b023-499f-8777-e9cb9888ed30.sst] [firstKey=74800000000000014C5F728000000000000001] [lastKey=74800000000000014C5F728000000000000001] [2025/04/05 23:11:05.547 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/05 23:11:05.547 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/05 23:11:05.547 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/05 23:11:05.549 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=2.200125ms] [] [2025/04/05 23:11:05.549 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [2025/04/05 23:11:05.553 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:05.559 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=66] [2025/04/05 23:11:05.575 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] ["region ranges"=1] [count=1] [size=36] [2025/04/05 23:11:05.575 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:05.576 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014c5f728000000000000001] [endOfAllRanges=74800000000000014c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4c5f728000000000ff0000020000000000fa] [2025/04/05 23:11:05.588 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/05 23:11:05.589 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [takeTime=40.430415ms] [] [2025/04/05 23:11:05.590 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/05 23:11:05.591 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=1.11036ms] [] [2025/04/05 23:11:05.591 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/05 23:11:05.591 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 23:11:05.592 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=1.488199ms] [] [2025/04/05 23:11:05.592 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [retryCnt=0] [2025/04/05 23:11:05.596 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 23:11:05.596 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [retryCnt=0] [takeTime=3.566276ms] [] [2025/04/05 23:11:05.596 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 23:11:05.597 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=895.974µs] [] [2025/04/05 23:11:05.597 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [takeTime=63.65478ms] [] [2025/04/05 23:11:05.597 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=import] [takeTime=63.811505ms] [] [2025/04/05 23:11:05.639 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:05.640 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:05.641 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:05.641 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:05.671 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:05.672 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:05.672 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:05.706 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:05.712 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/05 23:11:05.715 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:05.715 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:05.715 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:05.715 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:05.715 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:05.715 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:05.715 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:05.715 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:05.715 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:05.715 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:05.715 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-65] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:05.716 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:05.717 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:05.718 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:05.718 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:05.718 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:05.718 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=193.530202ms] [] [2025/04/05 23:11:05.719 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:05.726 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=post-process] [2025/04/05 23:11:05.726 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/05 23:11:05.726 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/05 23:11:05.726 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/05 23:11:05.732 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=5.547947ms] [] [2025/04/05 23:11:05.732 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [groupId=-1] [size=36] [kvs=1] [checksum=14561097866271024819] [2025/04/05 23:11:05.732 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [2025/04/05 23:11:05.732 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [weight=30] [2025/04/05 23:11:05.732 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [concurrency=15] [2025/04/05 23:11:05.734 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=332] [physicalTableID=332] [indexID=-1] [checksum=14561097866271024819] [totalKvs=1] [totalBytes=36] [2025/04/05 23:11:05.734 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:05.734 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [local="{cksum=14561097866271024819,size=36,kvs=1}"] [2025/04/05 23:11:05.734 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=8.328605ms] [] [2025/04/05 23:11:05.735 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=8.454955ms] [] [2025/04/05 23:11:05.735 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=post-process] [takeTime=8.610239ms] [] [2025/04/05 23:11:05.751 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:05.839 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:05.839 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=66] [step=post-process] [state=running] [] [2025/04/05 23:11:05.841 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=66] [2025/04/05 23:11:05.856 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=137.771181ms] [] [2025/04/05 23:11:05.856 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/05 23:11:05.934 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=66] [2025/04/05 23:11:05.935 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.68998995\n# Parse_time: 0.000096341\n# Compile_time: 0.000648172\n# Rewrite_time: 0.000200887\n# Optimize_time: 0.000250628\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: ff2114095bcf5f69d9f1b263e1f8128bb43d39426ab6c09598cdf8469b2b33d7\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC44bXMsIG9wZW46NzI3bnMsIGNsb3NlOjEuMsK1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjY4OC44bXMsIG9wZW46NzI3bnMsIGNsb3NlOjEuMsK1cywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`ascii` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'ascii';"] [2025/04/05 23:11:05.940 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:05.940 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=66] [2025/04/05 23:11:05.946 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:05.961 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:05.995 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"binary\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:06.013 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=67] [task-id=67] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:06.028 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=67] [2025/04/05 23:11:06.028 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:06.130 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:06.131 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:06.132 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [2025/04/05 23:11:06.139 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:06.142 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=binary] [2025/04/05 23:11:06.142 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=binary] [before=536870912000] [after=8] [2025/04/05 23:11:06.142 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=binary] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=51.894µs] [2025/04/05 23:11:06.142 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=binary] [takeTime=141.857µs] [] [2025/04/05 23:11:06.142 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:06.142 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:06.182 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=67] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:06.202 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/05 23:11:06.202 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:06.210 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:06.210 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:06.210 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:06.210 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:06.210 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:06.210 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:06.211 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:06.211 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:06.211 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:06.211 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:06.224 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:06.226 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:06.226 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=binary] [quota=374.2GB] [2025/04/05 23:11:06.226 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=67] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:06.226 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=binary] [import-id=67] [disk-quota=348.5GiB] [2025/04/05 23:11:06.226 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:06.235 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=import] [2025/04/05 23:11:06.235 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=127] [2025/04/05 23:11:06.237 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=67] [mode=Import] [2025/04/05 23:11:06.238 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/05 23:11:06.242 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 23:11:06.242 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=334] [2025/04/05 23:11:06.259 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=67] [2025/04/05 23:11:06.260 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [2025/04/05 23:11:06.261 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [readDur=979.462µs] [encodeDur=234.153µs] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [deliverDur=244.119µs] [type=file] [takeTime=1.793249ms] [] [2025/04/05 23:11:06.262 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=36] [kvs=1] [files=1] [sstFileSize=934] [file=/tmp/tidb/import-4000/67/e8c1bd97-5d12-591a-8a3b-5cf4944c05d0.sst/8ff98350-f5ef-4128-abf4-29ac43155096.sst] [firstKey=74800000000000014E5F728000000000000001] [lastKey=74800000000000014E5F728000000000000001] [2025/04/05 23:11:06.262 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/05 23:11:06.262 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/05 23:11:06.262 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/05 23:11:06.264 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=1.923376ms] [] [2025/04/05 23:11:06.264 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [retryCnt=0] [2025/04/05 23:11:06.269 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:06.290 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] ["region ranges"=1] [count=1] [size=36] [2025/04/05 23:11:06.290 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:06.292 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014e5f728000000000000001] [endOfAllRanges=74800000000000014e5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4e5f728000000000ff0000020000000000fa] [2025/04/05 23:11:06.303 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/05 23:11:06.305 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [retryCnt=0] [takeTime=40.484803ms] [] [2025/04/05 23:11:06.305 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/05 23:11:06.306 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=985.608µs] [] [2025/04/05 23:11:06.306 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/05 23:11:06.306 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 23:11:06.307 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [takeTime=1.42533ms] [] [2025/04/05 23:11:06.308 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [retryCnt=0] [2025/04/05 23:11:06.311 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 23:11:06.311 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [retryCnt=0] [takeTime=3.585944ms] [] [2025/04/05 23:11:06.311 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 23:11:06.312 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [takeTime=950.477µs] [] [2025/04/05 23:11:06.312 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=127] [takeTime=77.646485ms] [] [2025/04/05 23:11:06.312 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=import] [takeTime=77.78886ms] [] [2025/04/05 23:11:06.336 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:06.336 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:06.337 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:06.337 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:06.367 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:06.368 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:06.368 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:06.388 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:06.398 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/05 23:11:06.401 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:06.401 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:06.401 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:06.401 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:06.401 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:06.401 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:06.401 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:06.401 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:06.401 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:06.401 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:06.401 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-66] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:06.401 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:06.403 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:06.403 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:06.403 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:06.403 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:06.404 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=177.502721ms] [] [2025/04/05 23:11:06.405 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:06.413 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=post-process] [2025/04/05 23:11:06.413 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/05 23:11:06.413 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/05 23:11:06.413 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/05 23:11:06.420 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=6.689855ms] [] [2025/04/05 23:11:06.420 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [groupId=-1] [size=36] [kvs=1] [checksum=12243767325807307949] [2025/04/05 23:11:06.420 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/05 23:11:06.420 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [weight=30] [2025/04/05 23:11:06.420 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [concurrency=15] [2025/04/05 23:11:06.422 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=334] [physicalTableID=334] [indexID=-1] [checksum=12243767325807307949] [totalKvs=1] [totalBytes=36] [2025/04/05 23:11:06.423 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:06.423 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [local="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/05 23:11:06.423 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=9.406506ms] [] [2025/04/05 23:11:06.423 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=9.551561ms] [] [2025/04/05 23:11:06.423 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=post-process] [takeTime=9.686687ms] [] [2025/04/05 23:11:06.435 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:06.435 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=67] [step=post-process] [state=running] [] [2025/04/05 23:11:06.438 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=67] [2025/04/05 23:11:06.447 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:06.472 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=66.963276ms] [] [2025/04/05 23:11:06.472 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=67] [type=ImportInto] [2025/04/05 23:11:06.530 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=67] [2025/04/05 23:11:06.537 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:06.537 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=67] [2025/04/05 23:11:06.557 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:06.632 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.691827761\n# Parse_time: 0.000093618\n# Compile_time: 0.00058738\n# Rewrite_time: 0.000193144\n# Optimize_time: 0.000357027\n# Wait_TS: 0\n# DB: fail_job_after_import\n# Is_internal: false\n# Digest: c99e63c018bc9ff9c2b9dd461ad8da47c337a5d3af25de98d43cc2553179790b\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC45bXMsIG9wZW46Njk1bnMsIGNsb3NlOjY4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC45bXMsIG9wZW46Njk1bnMsIGNsb3NlOjY4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_charset`.`binary` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'binary';"] --- PASS: TestImportInto/TestOtherCharset (5.68s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckCDCPiTRTasks [2025/04/05 23:11:06.650 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:06.650 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:11:06.656 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=1.671779ms] [gotSchemaVersion=239] [phyTblIDs="[293]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:06.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=239] [2025/04/05 23:11:06.679 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=9.280262ms] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.689 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.701 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=125.042µs] [gotSchemaVersion=240] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:06.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=240] [2025/04/05 23:11:06.706 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=240] ["take time"=7.253921ms] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.715 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.720 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:06.729 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=135.325µs] [gotSchemaVersion=241] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:06.733 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=241] [2025/04/05 23:11:06.734 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=241] ["take time"=7.086162ms] [job="ID:336, Type:drop schema, State:done, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.743 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=336] [tableIDs="[293]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:06.747 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=336] [jobType="drop schema"] [2025/04/05 23:11:06.748 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:synced, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.766 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=336] [2025/04/05 23:11:06.767 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=241] [cur_db=fail_job_after_import] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:11:06.779 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:11:06.779 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:06.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.799 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=650.88µs] [gotSchemaVersion=242] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:06.802 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=242] [2025/04/05 23:11:06.804 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=8.050409ms] [job="ID:338, Type:create schema, State:done, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.814 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:synced, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/05 23:11:06.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=fail_job_after_import] [sql="create database load_data"] [user=root@%] [2025/04/05 23:11:06.825 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:11:06.838 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:06.838 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 23:11:06.843 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.848 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t)"] [2025/04/05 23:11:06.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.998114ms] [gotSchemaVersion=243] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:06.867 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=243] [2025/04/05 23:11:06.869 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=9.483926ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.880 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.891 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/05 23:11:06.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=243] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:11:06.905 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:06.905 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst (a bigint primary key, b varchar(100), c int);"] [2025/04/05 23:11:06.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=2] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.916 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: dst)"] [2025/04/05 23:11:06.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.708562ms] [gotSchemaVersion=244] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:06.935 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=244] [2025/04/05 23:11:06.936 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=8.82389ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:06.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.947 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=2] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:06.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:06.959 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/05 23:11:06.959 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=load_data] [sql="create table dst (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:11:06.965 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Add(dummy-task)] [2025/04/05 23:11:06.965 +00:00] [INFO] [db.go:135] ["inc log backup task"] [count=1] [2025/04/05 23:11:06.966 +00:00] [INFO] [advancer.go:430] ["get global checkpoint"] [checkpoint=0] [2025/04/05 23:11:06.968 +00:00] [INFO] [advancer.go:436] ["added event"] [task="name:\"dummy-task\" "] [ranges={}] [current-checkpoint=18446744073709551615] [2025/04/05 23:11:06.969 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:06.970 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/05 23:11:06.971 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/05 23:11:06.972 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/05 23:11:06.985 +00:00] [ERROR] [precheck_test.go:103] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:103\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:11:06.992 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:07.036 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disable_precheck\":null}}"] [dist-task-enabled=true] [2025/04/05 23:11:07.056 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=68] [task-id=68] [data-size=10B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:07.071 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=68] [2025/04/05 23:11:07.071 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:07.174 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:07.175 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:07.176 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [2025/04/05 23:11:07.184 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:07.187 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:11:07.187 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=10] [2025/04/05 23:11:07.187 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=10] [cost=51.11µs] [2025/04/05 23:11:07.187 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=150.613µs] [] [2025/04/05 23:11:07.187 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:07.187 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:07.221 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=68] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:07.241 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/05 23:11:07.241 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:07.249 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:07.249 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:07.249 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:07.249 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:07.249 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:07.249 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:07.249 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:07.250 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:07.250 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:07.250 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:07.262 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:07.263 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:07.264 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:11:07.264 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=68] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:07.264 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=68] [disk-quota=348.5GiB] [2025/04/05 23:11:07.264 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:07.271 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=import] [2025/04/05 23:11:07.272 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=129] [2025/04/05 23:11:07.275 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:11:07.279 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:11:07.279 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=339] [2025/04/05 23:11:07.280 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=68] [mode=Import] [2025/04/05 23:11:07.300 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=68] [2025/04/05 23:11:07.308 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=339] [key=file.csv:0] [2025/04/05 23:11:07.310 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=339] [key=file.csv:0] [readDur=913.422µs] [encodeDur=248.836µs] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [deliverDur=158.006µs] [type=file] [takeTime=1.561727ms] [] [2025/04/05 23:11:07.320 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/68/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/d6543b46-d624-4d07-965f-c16f4f5caf12.sst] [firstKey=7480000000000001535F728000000000000001] [lastKey=7480000000000001535F728000000000000001] [2025/04/05 23:11:07.321 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/05 23:11:07.321 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/05 23:11:07.321 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:11:07.323 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.939926ms] [] [2025/04/05 23:11:07.323 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 23:11:07.327 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:07.349 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:11:07.349 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:07.350 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001535f728000000000000001] [endOfAllRanges=7480000000000001535f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff535f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff535f728000000000ff0000020000000000fa] [2025/04/05 23:11:07.361 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:11:07.363 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.343922ms] [] [2025/04/05 23:11:07.363 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 23:11:07.364 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.064991ms] [] [2025/04/05 23:11:07.364 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/05 23:11:07.364 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:11:07.366 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.465763ms] [] [2025/04/05 23:11:07.366 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 23:11:07.370 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:11:07.370 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.64995ms] [] [2025/04/05 23:11:07.370 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 23:11:07.371 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=876.628µs] [] [2025/04/05 23:11:07.371 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=129] [takeTime=99.054634ms] [] [2025/04/05 23:11:07.371 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=import] [takeTime=99.202474ms] [] [2025/04/05 23:11:07.479 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:07.480 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:07.481 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:07.481 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:07.511 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:07.512 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:07.512 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:07.519 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:11:07.519 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/05 23:11:07.522 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:07.522 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:07.522 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:07.522 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:07.522 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:07.522 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:07.522 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:07.522 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:07.522 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:07.522 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-67] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:07.522 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:07.522 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:07.524 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:07.524 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:07.524 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:07.524 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:07.524 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=260.538859ms] [] [2025/04/05 23:11:07.524 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=68] [type=ImportInto] [2025/04/05 23:11:07.550 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=68] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:07.570 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:07.578 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=post-process] [2025/04/05 23:11:07.578 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/05 23:11:07.579 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/05 23:11:07.579 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/05 23:11:07.579 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.058µs] [] [2025/04/05 23:11:07.579 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [groupId=-1] [size=37] [kvs=1] [checksum=13354276772020868135] [2025/04/05 23:11:07.579 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/05 23:11:07.579 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [weight=30] [2025/04/05 23:11:07.579 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [concurrency=15] [2025/04/05 23:11:07.581 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=339] [physicalTableID=339] [indexID=-1] [checksum=13354276772020868135] [totalKvs=1] [totalBytes=37] [2025/04/05 23:11:07.581 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:07.581 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [local="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/05 23:11:07.581 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.58751ms] [] [2025/04/05 23:11:07.581 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.737204ms] [] [2025/04/05 23:11:07.581 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=post-process] [takeTime=2.87058ms] [] [2025/04/05 23:11:07.608 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:07.679 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:07.679 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=68] [step=post-process] [state=running] [] [2025/04/05 23:11:07.682 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=68] [2025/04/05 23:11:07.701 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=130.419777ms] [] [2025/04/05 23:11:07.701 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=68] [type=ImportInto] [2025/04/05 23:11:07.774 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=68] [2025/04/05 23:11:07.780 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:07.780 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=68] [2025/04/05 23:11:07.803 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:07.973 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.987210281\n# Parse_time: 0.000089145\n# Compile_time: 0.000596763\n# Rewrite_time: 0.000174703\n# Optimize_time: 0.000290004\n# Wait_TS: 0\n# DB: load_data\n# Is_internal: false\n# Digest: 5bcf9e20da079b52c86bd1aeabbdadcf5458f871133d5e2ecad89288016e27be\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4zbXMsIG9wZW46MS4xMsK1cywgY2xvc2U6ODY4bnMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4Ni4zbXMsIG9wZW46MS4xMsK1cywgY2xvc2U6ODY4bnMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disable_precheck;"] [2025/04/05 23:11:07.986 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:11:07.987 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=244] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [session="{\n \"currDBName\": \"load_data\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 23:11:07.987 +00:00] [ERROR] [precheck_test.go:112] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [errorVerbose="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],\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/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:443\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:111\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:112\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:11:08.029 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [concurrency=2] [target-table=`load_data`.`dst`] [target-table-id=341] [2025/04/05 23:11:08.036 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:08.036 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:08.037 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:08.037 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:08.037 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:08.037 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:08.037 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:08.037 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:08.038 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:08.038 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:08.049 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:08.051 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:08.051 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:11:08.055 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 23:11:08.059 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 23:11:08.096 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [key=import-from-select] [2025/04/05 23:11:08.097 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [key=import-from-select] [readDur=11.919µs] [encodeDur=244.528µs] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [deliverDur=415.184µs] [type=query] [takeTime=930.171µs] [] [2025/04/05 23:11:08.098 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e/aae7ed10-3950-5c5f-b1f6-563a3ef43f6a.sst/a7846e95-ffd4-4e2c-a00b-a9400f180ef5.sst] [firstKey=7480000000000001555F728000000000000001] [lastKey=7480000000000001555F728000000000000001] [2025/04/05 23:11:08.117 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [key=import-from-select] [2025/04/05 23:11:08.117 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=100.448µs] [] [2025/04/05 23:11:08.118 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 23:11:08.119 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=1.539612ms] [] [2025/04/05 23:11:08.119 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [retryCnt=0] [2025/04/05 23:11:08.123 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:08.146 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:11:08.146 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:08.148 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001555f728000000000000001] [endOfAllRanges=7480000000000001555f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff555f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff555f728000000000ff0000020000000000fa] [2025/04/05 23:11:08.158 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:11:08.160 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [retryCnt=0] [takeTime=40.709692ms] [] [2025/04/05 23:11:08.160 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 23:11:08.162 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=1.412698ms] [] [2025/04/05 23:11:08.162 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [retryCnt=0] [2025/04/05 23:11:08.165 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 23:11:08.165 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [retryCnt=0] [takeTime=3.624018ms] [] [2025/04/05 23:11:08.165 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [2025/04/05 23:11:08.165 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [2025/04/05 23:11:08.165 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [takeTime=2.213µs] [] [2025/04/05 23:11:08.165 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/05 23:11:08.165 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [weight=30] [2025/04/05 23:11:08.166 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [concurrency=15] [2025/04/05 23:11:08.167 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=341] [physicalTableID=341] [indexID=-1] [checksum=13133787126228658672] [totalKvs=1] [totalBytes=37] [2025/04/05 23:11:08.168 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:08.168 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [local="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/05 23:11:08.168 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=f0a88e26-2c6e-4ba0-bf96-cc368d5dd69e] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [takeTime=2.570601ms] [] [2025/04/05 23:11:08.168 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 23:11:08.168 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=9.092µs] [] [2025/04/05 23:11:08.168 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 23:11:08.169 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=1.116352ms] [] [2025/04/05 23:11:08.169 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 23:11:08.169 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=5.86µs] [] [2025/04/05 23:11:08.170 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 23:11:08.170 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=853.543µs] [] [2025/04/05 23:11:08.174 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:08.174 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:08.174 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:08.174 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:08.174 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:08.174 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:08.174 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:08.174 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:08.174 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:08.174 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-68] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:08.174 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:08.174 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:08.176 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:08.176 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:08.176 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:08.176 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:08.182 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Del(dummy-task)] [2025/04/05 23:11:08.182 +00:00] [INFO] [db.go:141] ["dec log backup task"] [count=0] [2025/04/05 23:11:08.182 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 23:11:08.194 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.194 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:11:08.200 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=2] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.208 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: t, Old Table ID: 339, Old Table Name: t)"] [2025/04/05 23:11:08.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.943916ms] [gotSchemaVersion=245] [phyTblIDs="[339,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:11:08.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=245] [2025/04/05 23:11:08.229 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=245] ["take time"=9.154976ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.240 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[339]"] [comment="truncate table: table ID"] [2025/04/05 23:11:08.245 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/05 23:11:08.246 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=2] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.263 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/05 23:11:08.264 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=245] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 23:11:08.270 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:08.286 +00:00] [INFO] [cdc.go:206] ["Found incompatible changefeed."] [changefeed="{\"ID\":\"feed-test\",\"Cluster\":\"cluster-123\",\"Namespace\":\"test\",\"KeyVersion\":2}"] [checkpoint-ts=0] [safe-ts=18446744073709551615] --- PASS: TestImportInto/TestPreCheckCDCPiTRTasks (1.65s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTableNotEmpty [2025/04/05 23:11:08.301 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.301 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:11:08.307 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=2.304535ms] [gotSchemaVersion=246] [phyTblIDs="[341,343]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.329 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=246] [2025/04/05 23:11:08.330 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=9.343676ms] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.352 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=130.071µs] [gotSchemaVersion=247] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.356 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=247] [2025/04/05 23:11:08.358 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=7.073156ms] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.373 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:08.383 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=145.77µs] [gotSchemaVersion=248] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=248] [2025/04/05 23:11:08.388 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=248] ["take time"=7.24517ms] [job="ID:345, Type:drop schema, State:done, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.397 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=345] [tableIDs="[341,343]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:08.402 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=345] [jobType="drop schema"] [2025/04/05 23:11:08.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:synced, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.418 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=345] [2025/04/05 23:11:08.419 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=248] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:11:08.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:11:08.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=2] [job="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=660.759µs] [gotSchemaVersion=249] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:08.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=249] [2025/04/05 23:11:08.453 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=7.561417ms] [job="ID:347, Type:create schema, State:done, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.463 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=2] [job="ID:347, Type:create schema, State:synced, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.473 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/05 23:11:08.473 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 23:11:08.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:11:08.487 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.487 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 23:11:08.493 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.497 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 348, Table Name: t)"] [2025/04/05 23:11:08.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.895391ms] [gotSchemaVersion=250] [phyTblIDs="[348]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:08.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=250] [2025/04/05 23:11:08.518 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=250] ["take time"=8.916896ms] [job="ID:349, Type:create table, State:done, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.529 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:create table, State:synced, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.540 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=349] [2025/04/05 23:11:08.541 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=250] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:11:08.543 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151523982934028] [2025/04/05 23:11:08.552 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTableNotEmpty (0.27s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTotalFileSize0 [2025/04/05 23:11:08.575 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.575 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 23:11:08.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.732119ms] [gotSchemaVersion=251] [phyTblIDs="[348]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=251] [2025/04/05 23:11:08.601 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=9.046149ms] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.611 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.624 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=147.418µs] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.627 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=252] [2025/04/05 23:11:08.629 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=6.987808ms] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.642 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:08.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=141.616µs] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.655 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=253] [2025/04/05 23:11:08.657 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=253] ["take time"=7.707255ms] [job="ID:350, Type:drop schema, State:done, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.666 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=350] [tableIDs="[348]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:08.671 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=350] [jobType="drop schema"] [2025/04/05 23:11:08.672 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:synced, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/05 23:11:08.687 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=253] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 23:11:08.698 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.698 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 23:11:08.704 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=946.342µs] [gotSchemaVersion=254] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:08.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=254] [2025/04/05 23:11:08.722 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=8.04323ms] [job="ID:352, Type:create schema, State:done, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.732 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:create schema, State:synced, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.742 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/05 23:11:08.742 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 23:11:08.744 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 23:11:08.757 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.758 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 23:11:08.763 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=2] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.768 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 353, Table Name: t)"] [2025/04/05 23:11:08.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.837492ms] [gotSchemaVersion=255] [phyTblIDs="[353]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:08.787 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=255] [2025/04/05 23:11:08.789 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=9.014299ms] [job="ID:354, Type:create table, State:done, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.799 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=2] [job="ID:354, Type:create table, State:synced, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.810 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/05 23:11:08.811 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=255] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 23:11:08.813 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151524048470039] [2025/04/05 23:11:08.820 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:08.834 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTotalFileSize0 (0.28s) === NAME TestImportInto === RUN TestImportInto/TestRegisterTask [2025/04/05 23:11:08.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/05 23:11:08.854 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.66956ms] [gotSchemaVersion=256] [phyTblIDs="[353]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=256] [2025/04/05 23:11:08.881 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=8.820171ms] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.891 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.904 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=117.315µs] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.907 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=257] [2025/04/05 23:11:08.909 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=7.045479ms] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.917 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.922 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:08.934 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=203.54µs] [gotSchemaVersion=258] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:08.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=258] [2025/04/05 23:11:08.939 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=7.936281ms] [job="ID:355, Type:drop schema, State:done, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.948 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:08.953 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop schema"] [2025/04/05 23:11:08.954 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:synced, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:08.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/05 23:11:08.970 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=258] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/05 23:11:08.982 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:08.982 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/05 23:11:08.987 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=679.684µs] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:09.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=259] [2025/04/05 23:11:09.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=259] ["take time"=8.112853ms] [job="ID:357, Type:create schema, State:done, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:08.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.016 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create schema, State:synced, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:08.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.026 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/05 23:11:09.026 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=259] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/05 23:11:09.040 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:09.040 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [2025/04/05 23:11:09.046 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=2] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.051 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: register_task)"] [2025/04/05 23:11:09.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.877779ms] [gotSchemaVersion=260] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:09.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=260] [2025/04/05 23:11:09.072 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=9.121312ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.083 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=2] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.095 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/05 23:11:09.095 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=260] [cur_db=] [sql="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [user=root@%] [2025/04/05 23:11:09.101 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:09.153 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:09.173 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=69] [task-id=69] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:09.188 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=69] [2025/04/05 23:11:09.188 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:09.291 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:09.292 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:09.293 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [2025/04/05 23:11:09.302 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:09.304 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/05 23:11:09.304 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/05 23:11:09.304 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=53.53µs] [2025/04/05 23:11:09.305 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=159.483µs] [] [2025/04/05 23:11:09.305 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:09.305 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:09.341 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=69] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:09.361 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/05 23:11:09.361 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:09.369 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:09.369 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:09.370 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:09.370 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:09.370 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:09.370 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:09.370 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:09.370 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:09.371 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:09.371 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:09.383 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:09.385 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:09.385 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=374.2GB] [2025/04/05 23:11:09.385 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=69] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:09.385 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=69] [disk-quota=348.5GiB] [2025/04/05 23:11:09.385 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:09.392 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=import] [2025/04/05 23:11:09.392 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=131] [2025/04/05 23:11:09.396 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:09.396 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=69] [mode=Import] [2025/04/05 23:11:09.399 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:09.399 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=358] [2025/04/05 23:11:09.413 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=69] [2025/04/05 23:11:09.413 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=69] [2025/04/05 23:11:09.415 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [2025/04/05 23:11:09.417 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [readDur=914.427µs] [encodeDur=514.281µs] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [deliverDur=222.355µs] [type=file] [takeTime=1.88353ms] [] [2025/04/05 23:11:09.417 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/69/51a7a24d-77bd-5aff-aeb3-117ab334dd31.sst/52246d69-99aa-429a-91d9-86dc57634eed.sst] [firstKey=7480000000000001665F728000000000000001] [lastKey=7480000000000001665F728000000000000001] [2025/04/05 23:11:09.418 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/05 23:11:09.418 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/05 23:11:09.418 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:09.420 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=2.068329ms] [] [2025/04/05 23:11:09.420 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/05 23:11:09.424 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:09.446 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:11:09.446 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:09.448 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001665f728000000000000001] [endOfAllRanges=7480000000000001665f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff665f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff665f728000000000ff0000020000000000fa] [2025/04/05 23:11:09.458 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:11:09.460 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [takeTime=39.990611ms] [] [2025/04/05 23:11:09.460 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:09.461 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=1.043624ms] [] [2025/04/05 23:11:09.461 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/05 23:11:09.461 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:09.463 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=1.50893ms] [] [2025/04/05 23:11:09.463 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/05 23:11:09.466 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:09.466 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [takeTime=3.5492ms] [] [2025/04/05 23:11:09.466 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:09.467 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=891.36µs] [] [2025/04/05 23:11:09.467 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=131] [takeTime=75.354048ms] [] [2025/04/05 23:11:09.468 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=import] [takeTime=75.484287ms] [] [2025/04/05 23:11:09.496 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:09.497 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:09.498 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:09.498 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:09.527 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:09.529 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:09.529 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:09.550 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:09.556 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/05 23:11:09.559 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:09.559 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:09.559 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:09.559 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:09.559 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:09.559 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:09.559 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:09.559 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:09.559 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-69] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:09.559 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:09.559 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:09.559 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:09.561 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:09.561 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:09.561 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:09.561 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:09.561 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=176.273097ms] [] [2025/04/05 23:11:09.563 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:09.570 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=post-process] [2025/04/05 23:11:09.571 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/05 23:11:09.571 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/05 23:11:09.571 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/05 23:11:09.576 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=5.651248ms] [] [2025/04/05 23:11:09.576 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [groupId=-1] [size=37] [kvs=1] [checksum=16609841413703989000] [2025/04/05 23:11:09.576 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/05 23:11:09.577 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [weight=30] [2025/04/05 23:11:09.577 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [concurrency=15] [2025/04/05 23:11:09.579 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=358] [physicalTableID=358] [indexID=-1] [checksum=16609841413703989000] [totalKvs=1] [totalBytes=37] [2025/04/05 23:11:09.579 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:09.579 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [local="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/05 23:11:09.579 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=8.813458ms] [] [2025/04/05 23:11:09.580 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=8.960966ms] [] [2025/04/05 23:11:09.580 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=post-process] [takeTime=9.079985ms] [] [2025/04/05 23:11:09.595 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:09.595 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=69] [step=post-process] [state=running] [] [2025/04/05 23:11:09.596 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=69] [2025/04/05 23:11:09.596 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=69] [2025/04/05 23:11:09.598 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:09.625 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=62.741154ms] [] [2025/04/05 23:11:09.626 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=69] [type=ImportInto] [2025/04/05 23:11:09.690 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=69] [2025/04/05 23:11:09.697 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:09.697 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=69] [2025/04/05 23:11:09.718 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:09.789 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.693285367\n# Parse_time: 0.000083582\n# Compile_time: 0.000511889\n# Rewrite_time: 0.000139287\n# Optimize_time: 0.00027609\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 1e4864f3b3c33ec7115f24b7f6261d10d8f700d004a4e5cacd1e00ca5620050c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi40bXMsIG9wZW46NjIxbnMsIGNsb3NlOjc2NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi40bXMsIG9wZW46NjIxbnMsIGNsb3NlOjc2NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse ;\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:11:09.804 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:09.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.register_task;"] [2025/04/05 23:11:09.810 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:09.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.819 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: register_task, Old Table ID: 358, Old Table Name: register_task)"] [2025/04/05 23:11:09.835 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.859053ms] [gotSchemaVersion=261] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:11:09.839 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=261] [2025/04/05 23:11:09.841 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=8.977376ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.851 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/05 23:11:09.856 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/05 23:11:09.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:09.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:09.874 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/05 23:11:09.875 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=261] [cur_db=] [sql="truncate table load_data.register_task;"] [user=root@%] [2025/04/05 23:11:09.880 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:09.929 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:09.948 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=70] [task-id=70] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:09.963 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=70] [2025/04/05 23:11:09.963 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:10.065 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:10.066 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:10.067 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [2025/04/05 23:11:10.075 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:10.078 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/05 23:11:10.078 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/05 23:11:10.078 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=59.897µs] [2025/04/05 23:11:10.078 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=162.014µs] [] [2025/04/05 23:11:10.078 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:10.078 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:10.121 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=70] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:10.141 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/05 23:11:10.141 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:10.149 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:10.149 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:10.150 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:10.150 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:10.150 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:10.150 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:10.150 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:10.150 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:10.150 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:10.151 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:10.163 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:10.165 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:10.165 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=374.2GB] [2025/04/05 23:11:10.165 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=70] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:10.165 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=70] [disk-quota=348.5GiB] [2025/04/05 23:11:10.165 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:10.173 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=import] [2025/04/05 23:11:10.173 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=133] [2025/04/05 23:11:10.176 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=70] [mode=Import] [2025/04/05 23:11:10.177 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:10.181 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:10.181 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] [2025/04/05 23:11:10.192 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=70] [2025/04/05 23:11:10.192 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=70] [2025/04/05 23:11:10.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:11:12.155 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:11:13.182 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=133] [takeTime=3.008458575s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:13.182 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=import] [takeTime=3.008814846s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:13.182 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:13.190 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:13.274 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/05 23:11:13.295 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/05 23:11:13.299 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:13.299 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:13.299 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:13.299 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:13.299 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:13.299 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:13.299 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:13.299 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:13.299 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-70] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:13.299 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:13.299 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:13.299 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:13.302 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:13.302 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:13.302 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:13.302 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:13.303 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=3.137290077s] [] [2025/04/05 23:11:13.303 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=70] [type=ImportInto] [2025/04/05 23:11:13.370 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=70] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/05 23:11:13.372 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=70] [step=import] [mode=Normal] [2025/04/05 23:11:13.386 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=70] [2025/04/05 23:11:13.386 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=70] [2025/04/05 23:11:13.465 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=70] [2025/04/05 23:11:13.471 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:13.471 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=70] [2025/04/05 23:11:13.493 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:13.563 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=70] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestRegisterTask\n\ttests/realtikvtest/importintotest/import_into_test.go:994\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:11:13.564 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 3.688535565\n# Parse_time: 0.000077916\n# Compile_time: 0.000565357\n# Rewrite_time: 0.000166708\n# Optimize_time: 0.000240556\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 1e4864f3b3c33ec7115f24b7f6261d10d8f700d004a4e5cacd1e00ca5620050c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjg1OG5zLCBjbG9zZTo4OTRucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY5cywgb3Blbjo4NThucywgY2xvc2U6ODk0bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:11:13.573 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:13.622 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:13.642 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=71] [task-id=71] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:13.657 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=71] [2025/04/05 23:11:13.657 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:13.760 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:13.761 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:13.762 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [2025/04/05 23:11:13.771 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:13.774 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/05 23:11:13.774 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/05 23:11:13.774 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=57.418µs] [2025/04/05 23:11:13.774 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=189.706µs] [] [2025/04/05 23:11:13.774 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:13.774 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:13.812 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=71] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:13.833 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/05 23:11:13.833 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:13.841 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:13.841 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:13.842 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:13.842 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:13.842 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:13.842 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:13.842 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:13.842 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:13.842 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:13.843 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:13.855 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:13.857 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:13.857 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=374.2GB] [2025/04/05 23:11:13.857 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=71] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:13.857 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=71] [disk-quota=348.5GiB] [2025/04/05 23:11:13.857 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:13.866 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [2025/04/05 23:11:13.866 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=134] [2025/04/05 23:11:13.868 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=71] [mode=Import] [2025/04/05 23:11:13.870 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:13.873 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:13.873 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] testkit.go:123: RefreshSession rand seed: 1743894673874227851 [2025/04/05 23:11:13.882 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:13.888 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=71] [2025/04/05 23:11:14.268 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [2025/04/05 23:11:14.270 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [readDur=1.143331ms] [encodeDur=274.076µs] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [deliverDur=319.912µs] [type=file] [takeTime=2.0814ms] [] [2025/04/05 23:11:14.271 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/71/51a7a24d-77bd-5aff-aeb3-117ab334dd31.sst/1de966b5-0154-4430-896d-e7a7a51784d4.sst] [firstKey=7480000000000001685F728000000000000001] [lastKey=7480000000000001685F728000000000000001] [2025/04/05 23:11:14.271 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/05 23:11:14.271 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/05 23:11:14.271 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:14.273 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=2.142222ms] [] [2025/04/05 23:11:14.273 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/05 23:11:14.278 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:14.300 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/05 23:11:14.301 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:14.302 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001685f728000000000000001] [endOfAllRanges=7480000000000001685f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff685f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff685f728000000000ff0000020000000000fa] [2025/04/05 23:11:14.314 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 23:11:14.316 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [takeTime=42.362045ms] [] [2025/04/05 23:11:14.316 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 23:11:14.317 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=1.157569ms] [] [2025/04/05 23:11:14.317 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/05 23:11:14.317 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:14.319 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=1.69559ms] [] [2025/04/05 23:11:14.319 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/05 23:11:14.323 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:14.323 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [takeTime=3.644031ms] [] [2025/04/05 23:11:14.323 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 23:11:14.324 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=837.048µs] [] [2025/04/05 23:11:14.324 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=134] [takeTime=458.010064ms] [] [2025/04/05 23:11:14.324 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [takeTime=458.2235ms] [] [2025/04/05 23:11:14.365 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:14.366 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:14.368 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:14.368 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:14.399 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:14.401 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:14.401 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:14.427 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:14.434 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/05 23:11:14.437 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:14.437 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:14.437 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:14.437 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:14.437 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:14.437 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:14.437 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:14.437 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:14.437 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:14.437 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-71] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:14.437 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:14.437 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:14.439 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:14.440 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:14.440 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:14.440 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:14.440 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=582.26702ms] [] [2025/04/05 23:11:14.441 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:14.449 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=135] [step=post-process] [2025/04/05 23:11:14.449 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [2025/04/05 23:11:14.449 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [2025/04/05 23:11:14.449 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [2025/04/05 23:11:14.455 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [takeTime=6.351776ms] [] [2025/04/05 23:11:14.455 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [groupId=-1] [size=37] [kvs=1] [checksum=18276122673824376811] [2025/04/05 23:11:14.455 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/05 23:11:14.456 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [weight=30] [2025/04/05 23:11:14.456 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [concurrency=15] [2025/04/05 23:11:14.458 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=360] [physicalTableID=360] [indexID=-1] [checksum=18276122673824376811] [totalKvs=1] [totalBytes=37] [2025/04/05 23:11:14.458 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:14.458 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [local="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/05 23:11:14.458 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [takeTime=9.30231ms] [] [2025/04/05 23:11:14.458 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=135] [takeTime=9.452078ms] [] [2025/04/05 23:11:14.458 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=135] [step=post-process] [takeTime=9.577223ms] [] [2025/04/05 23:11:14.467 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:14.566 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:14.566 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=71] [step=post-process] [state=running] [] [2025/04/05 23:11:14.569 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=71] [2025/04/05 23:11:14.600 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=159.219203ms] [] [2025/04/05 23:11:14.600 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=71] [type=ImportInto] [2025/04/05 23:11:14.660 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=71] [2025/04/05 23:11:14.666 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:14.666 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=71] [2025/04/05 23:11:14.688 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:14.860 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 1.293028222\n# Parse_time: 0.000294559\n# Compile_time: 0.000697933\n# Rewrite_time: 0.000178788\n# Optimize_time: 0.000240556\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 1e4864f3b3c33ec7115f24b7f6261d10d8f700d004a4e5cacd1e00ca5620050c\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjc2OG5zLCBjbG9zZTo4OTFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjc2OG5zLCBjbG9zZTo4OTFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestRegisterTask (6.02s) === NAME TestImportInto === RUN TestImportInto/TestSameBehaviourDetachedOrNot [2025/04/05 23:11:14.868 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=261] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/05 23:11:14.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/05 23:11:14.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:14.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:14.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:14.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=805.083µs] [gotSchemaVersion=262] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:14.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=262] [2025/04/05 23:11:14.907 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=8.857289ms] [job="ID:363, Type:create schema, State:done, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:14.919 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create schema, State:synced, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:14.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:14.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/05 23:11:14.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=262] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/05 23:11:14.943 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:14.943 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [2025/04/05 23:11:14.949 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=2] [job="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:14.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:14.954 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 364, Table Name: t1)"] [2025/04/05 23:11:14.970 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.69597ms] [gotSchemaVersion=263] [phyTblIDs="[364]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:14.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=263] [2025/04/05 23:11:14.975 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=263] ["take time"=8.806541ms] [job="ID:365, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:14.987 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=2] [job="ID:365, Type:create table, State:synced, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:14.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:14.997 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/05 23:11:14.998 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=263] [cur_db=] [sql="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/05 23:11:15.011 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:15.011 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [2025/04/05 23:11:15.019 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:14.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:15.024 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: t2)"] [2025/04/05 23:11:15.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.68229ms] [gotSchemaVersion=264] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:15.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=264] [2025/04/05 23:11:15.043 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=264] ["take time"=8.838661ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:14.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:15.054 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:14.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:15.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/05 23:11:15.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=264] [cur_db=] [sql="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/05 23:11:15.072 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:15.121 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:15.141 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=72] [task-id=72] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:11:15.156 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=72] [2025/04/05 23:11:15.156 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:11:15.258 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:15.259 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:15.260 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=72] [curr-step=init] [next-step=import] [2025/04/05 23:11:15.268 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:15.271 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 23:11:15.272 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=39] [2025/04/05 23:11:15.272 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=75.169µs] [2025/04/05 23:11:15.272 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=238.354µs] [] [2025/04/05 23:11:15.272 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=72] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:15.272 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:11:15.312 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=72] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:11:15.332 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=72] [step=import] [2025/04/05 23:11:15.332 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:15.340 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:15.340 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:15.341 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:15.341 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:15.341 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:15.341 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:15.341 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:15.341 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:15.342 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:15.342 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:15.354 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:15.356 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:15.356 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/05 23:11:15.356 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=72] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:15.356 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=72] [disk-quota=348.5GiB] [2025/04/05 23:11:15.356 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:15.364 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=136] [step=import] [2025/04/05 23:11:15.364 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=72] [step=import] [subtask-id=136] [2025/04/05 23:11:15.366 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=72] [mode=Import] [2025/04/05 23:11:15.368 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 23:11:15.372 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:15.372 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=364] [2025/04/05 23:11:15.374 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=364] [key=1.txt:0] [2025/04/05 23:11:15.377 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=364] [key=1.txt:0] [readDur=1.034309ms] [encodeDur=384.465µs] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [deliverDur=284.985µs] [type=file] [takeTime=2.044895ms] [] [2025/04/05 23:11:15.377 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=47] [kvs=1] [files=1] [sstFileSize=945] [file=/tmp/tidb/import-4000/72/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/12abc97f-92b0-4b62-a610-f8d64fdbd420.sst] [firstKey=74800000000000016C5F728000000000000001] [lastKey=74800000000000016C5F728000000000000001] [2025/04/05 23:11:15.377 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/05 23:11:15.377 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/05 23:11:15.377 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 23:11:15.380 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=2.326907ms] [] [2025/04/05 23:11:15.380 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/05 23:11:15.384 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:15.386 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=72] [2025/04/05 23:11:15.406 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=47] [2025/04/05 23:11:15.406 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:15.407 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016c5f728000000000000001] [endOfAllRanges=74800000000000016c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff6c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6c5f728000000000ff0000020000000000fa] [2025/04/05 23:11:15.418 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/05 23:11:15.420 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [takeTime=39.977848ms] [] [2025/04/05 23:11:15.420 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 23:11:15.421 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.022913ms] [] [2025/04/05 23:11:15.421 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=72] [step=import] [engine-id=0] [2025/04/05 23:11:15.421 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:15.423 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=1.496898ms] [] [2025/04/05 23:11:15.423 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/05 23:11:15.427 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:15.427 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [takeTime=3.86433ms] [] [2025/04/05 23:11:15.427 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:15.428 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=1.047205ms] [] [2025/04/05 23:11:15.428 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=72] [step=import] [subtask-id=136] [takeTime=64.143415ms] [] [2025/04/05 23:11:15.428 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=136] [step=import] [takeTime=64.308764ms] [] [2025/04/05 23:11:15.464 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:15.465 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:15.466 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:15.466 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:15.496 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:15.498 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=72] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:15.498 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:11:15.532 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:15.539 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=72] [step=import] [2025/04/05 23:11:15.541 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:15.541 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:15.542 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:15.542 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:15.542 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:15.542 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:15.542 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:15.542 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:15.542 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-72] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:15.542 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:15.542 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:15.542 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:15.544 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:15.544 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:15.544 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:15.544 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:15.544 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=187.687928ms] [] [2025/04/05 23:11:15.545 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:15.553 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=137] [step=post-process] [2025/04/05 23:11:15.553 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [2025/04/05 23:11:15.554 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [2025/04/05 23:11:15.554 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [2025/04/05 23:11:15.559 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [takeTime=5.839105ms] [] [2025/04/05 23:11:15.559 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [groupId=-1] [size=47] [kvs=1] [checksum=14131645107134293034] [2025/04/05 23:11:15.560 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/05 23:11:15.560 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [weight=30] [2025/04/05 23:11:15.560 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [concurrency=15] [2025/04/05 23:11:15.562 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=364] [physicalTableID=364] [indexID=-1] [checksum=14131645107134293034] [totalKvs=1] [totalBytes=47] [2025/04/05 23:11:15.562 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:15.562 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [local="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/05 23:11:15.562 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [takeTime=8.738351ms] [] [2025/04/05 23:11:15.562 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=72] [step=post-process] [subtask-id=137] [takeTime=8.875107ms] [] [2025/04/05 23:11:15.562 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [subtaskID=137] [step=post-process] [takeTime=9.012753ms] [] [2025/04/05 23:11:15.590 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:15.664 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=72] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:15.664 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=72] [step=post-process] [state=running] [] [2025/04/05 23:11:15.667 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=72] [2025/04/05 23:11:15.686 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=72] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=140.58249ms] [] [2025/04/05 23:11:15.686 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=72] [type=ImportInto] [2025/04/05 23:11:15.758 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=72] [2025/04/05 23:11:15.759 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.692967524\n# Parse_time: 0.000132452\n# Compile_time: 0.000609395\n# Rewrite_time: 0.000194009\n# Optimize_time: 0.000389083\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 774e96f70f54201ff90b227839cc6a84156ba01693c8ca009f9710ecb324ae55\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MS45bXMsIG9wZW46NzIxbnMsIGNsb3NlOjkyNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MS45bXMsIG9wZW46NzIxbnMsIGNsb3NlOjkyNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:11:15.765 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:15.765 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=72] [2025/04/05 23:11:15.766 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:15.788 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:15.815 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:15.836 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=73] [task-id=73] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:11:15.851 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=73] [2025/04/05 23:11:15.851 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:11:15.953 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:15.954 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:15.955 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=73] [curr-step=init] [next-step=import] [2025/04/05 23:11:15.963 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:15.965 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:11:15.965 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=39] [2025/04/05 23:11:15.965 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=48.217µs] [2025/04/05 23:11:15.965 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=144.702µs] [] [2025/04/05 23:11:15.966 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=73] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:15.966 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:11:16.001 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=73] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:11:16.021 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=73] [step=import] [2025/04/05 23:11:16.021 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:16.029 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:16.029 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:16.030 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:16.030 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:16.030 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:16.030 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:16.030 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:16.030 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:16.031 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:16.031 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:16.043 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:16.045 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:16.045 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/05 23:11:16.045 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=73] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:16.045 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=73] [disk-quota=348.5GiB] [2025/04/05 23:11:16.045 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:16.054 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=138] [step=import] [2025/04/05 23:11:16.054 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=73] [step=import] [subtask-id=138] [2025/04/05 23:11:16.058 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 23:11:16.059 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=73] [mode=Import] [2025/04/05 23:11:16.062 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:16.062 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=366] [2025/04/05 23:11:16.065 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=366] [key=1.txt:0] [2025/04/05 23:11:16.067 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=366] [key=1.txt:0] [readDur=1.265514ms] [encodeDur=550.181µs] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [deliverDur=235.387µs] [type=file] [takeTime=2.398539ms] [] [2025/04/05 23:11:16.068 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=47] [kvs=1] [files=1] [sstFileSize=945] [file=/tmp/tidb/import-4000/73/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/7efc7eae-196e-4f2a-a3c7-b04a9e1dc301.sst] [firstKey=74800000000000016E5F728000000000000001] [lastKey=74800000000000016E5F728000000000000001] [2025/04/05 23:11:16.068 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/05 23:11:16.068 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/05 23:11:16.068 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 23:11:16.071 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=3.005677ms] [] [2025/04/05 23:11:16.071 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/05 23:11:16.076 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:16.080 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=73] [2025/04/05 23:11:16.097 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=47] [2025/04/05 23:11:16.098 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:16.099 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016e5f728000000000000001] [endOfAllRanges=74800000000000016e5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff6e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6e5f728000000000ff0000020000000000fa] [2025/04/05 23:11:16.110 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/05 23:11:16.112 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [takeTime=40.95407ms] [] [2025/04/05 23:11:16.112 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 23:11:16.113 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.036381ms] [] [2025/04/05 23:11:16.113 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=73] [step=import] [engine-id=0] [2025/04/05 23:11:16.113 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:16.115 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=1.547508ms] [] [2025/04/05 23:11:16.115 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/05 23:11:16.119 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:16.119 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [takeTime=3.662398ms] [] [2025/04/05 23:11:16.119 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:16.120 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=934.846µs] [] [2025/04/05 23:11:16.120 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=73] [step=import] [subtask-id=138] [takeTime=65.799285ms] [] [2025/04/05 23:11:16.120 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=138] [step=import] [takeTime=65.959776ms] [] [2025/04/05 23:11:16.159 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:16.160 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:16.161 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:16.161 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:16.191 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:16.192 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=73] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:16.192 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:11:16.224 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:16.232 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=73] [step=import] [2025/04/05 23:11:16.235 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:16.235 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:16.235 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:16.235 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:16.235 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:16.235 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:16.235 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:16.235 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:16.235 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:16.235 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:16.235 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-73] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:16.235 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:16.237 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:16.237 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:16.238 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:16.238 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:16.238 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=192.238888ms] [] [2025/04/05 23:11:16.239 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:16.246 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=139] [step=post-process] [2025/04/05 23:11:16.246 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [2025/04/05 23:11:16.247 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [2025/04/05 23:11:16.247 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [2025/04/05 23:11:16.253 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [takeTime=6.159767ms] [] [2025/04/05 23:11:16.253 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [groupId=-1] [size=47] [kvs=1] [checksum=16630292482618711024] [2025/04/05 23:11:16.253 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/05 23:11:16.253 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [weight=30] [2025/04/05 23:11:16.253 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [concurrency=15] [2025/04/05 23:11:16.255 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=366] [physicalTableID=366] [indexID=-1] [checksum=16630292482618711024] [totalKvs=1] [totalBytes=47] [2025/04/05 23:11:16.256 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:16.256 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [local="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/05 23:11:16.256 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [takeTime=9.203351ms] [] [2025/04/05 23:11:16.256 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=73] [step=post-process] [subtask-id=139] [takeTime=9.37324ms] [] [2025/04/05 23:11:16.256 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [subtaskID=139] [step=post-process] [takeTime=9.509429ms] [] [2025/04/05 23:11:16.285 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:16.359 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=73] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:16.359 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=73] [step=post-process] [state=running] [] [2025/04/05 23:11:16.362 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=73] [2025/04/05 23:11:16.381 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=73] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=142.374928ms] [] [2025/04/05 23:11:16.381 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=73] [type=ImportInto] [2025/04/05 23:11:16.455 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=73] [2025/04/05 23:11:16.461 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:16.461 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=73] [2025/04/05 23:11:16.486 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:16.867 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS test_detached;"] [2025/04/05 23:11:16.868 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:16.873 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=2.306927ms] [gotSchemaVersion=265] [phyTblIDs="[364,366]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:16.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=265] [2025/04/05 23:11:16.898 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=10.010839ms] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.908 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.922 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=166.972µs] [gotSchemaVersion=266] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:16.926 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=266] [2025/04/05 23:11:16.927 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=7.902347ms] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.942 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:16.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=163.733µs] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:16.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=267] [2025/04/05 23:11:16.959 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=8.267731ms] [job="ID:368, Type:drop schema, State:done, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.969 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=368] [tableIDs="[364,366]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:16.974 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=368] [jobType="drop schema"] [2025/04/05 23:11:16.975 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:synced, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:16.992 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=368] [2025/04/05 23:11:16.992 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=267] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/05 23:11:17.006 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:17.006 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/05 23:11:17.011 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:16.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=732.758µs] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:17.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=268] [2025/04/05 23:11:17.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=8.138061ms] [job="ID:370, Type:create schema, State:done, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:16.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.041 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:create schema, State:synced, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:16.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=370] [2025/04/05 23:11:17.053 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=268] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/05 23:11:17.068 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:17.068 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [2025/04/05 23:11:17.074 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=2] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.079 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 371, Table Name: t1)"] [2025/04/05 23:11:17.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.764548ms] [gotSchemaVersion=269] [phyTblIDs="[371]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:17.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=269] [2025/04/05 23:11:17.099 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=9.268611ms] [job="ID:372, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.111 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=2] [job="ID:372, Type:create table, State:synced, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.123 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/05 23:11:17.123 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=269] [cur_db=] [sql="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/05 23:11:17.136 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:17.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:17.136 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:17.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [2025/04/05 23:11:17.142 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=2] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:17.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.147 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t2)"] [2025/04/05 23:11:17.162 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=2.113154ms] [gotSchemaVersion=270] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:17.166 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=270] [2025/04/05 23:11:17.168 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=270] ["take time"=10.175213ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:17.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=2] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:17.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:17.191 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/05 23:11:17.191 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=270] [cur_db=] [sql="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/05 23:11:17.198 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:17.251 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:17.270 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=74] [task-id=74] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:11:17.287 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=74] [2025/04/05 23:11:17.287 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:11:17.390 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:17.391 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:17.392 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=74] [curr-step=init] [next-step=import] [2025/04/05 23:11:17.400 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:17.403 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 23:11:17.403 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=5] [2025/04/05 23:11:17.403 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=50.45µs] [2025/04/05 23:11:17.403 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=155.763µs] [] [2025/04/05 23:11:17.404 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=74] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:17.404 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:11:17.441 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=74] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:11:17.463 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=74] [step=import] [2025/04/05 23:11:17.463 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:17.472 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:17.472 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:17.473 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:17.473 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:17.473 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:17.473 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:17.473 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:17.473 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:17.473 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:17.474 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:17.486 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:17.488 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:17.488 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/05 23:11:17.488 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=74] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:17.488 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=74] [disk-quota=348.5GiB] [2025/04/05 23:11:17.488 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:17.496 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=140] [step=import] [2025/04/05 23:11:17.496 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=74] [step=import] [subtask-id=140] [2025/04/05 23:11:17.496 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=74] [mode=Import] [2025/04/05 23:11:17.501 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 23:11:17.504 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:17.505 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/05 23:11:17.526 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=1.txt:0] [2025/04/05 23:11:17.528 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=1.txt:0] [readDur=905.932µs] [encodeDur=209.97µs] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [deliverDur=244.444µs] [type=file] [takeTime=1.774704ms] [] [2025/04/05 23:11:17.529 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/74/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/dfc9a36c-19d9-49b4-94a8-eccb20ff78d5.sst] [firstKey=7480000000000001735F728000000000000001] [lastKey=7480000000000001735F728000000000000001] [2025/04/05 23:11:17.529 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/05 23:11:17.529 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/05 23:11:17.529 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 23:11:17.529 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=74] [2025/04/05 23:11:17.531 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=2.313874ms] [] [2025/04/05 23:11:17.532 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/05 23:11:17.536 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:17.557 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=33] [2025/04/05 23:11:17.558 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:17.559 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001735f728000000000000001] [endOfAllRanges=7480000000000001735f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff735f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff735f728000000000ff0000020000000000fa] [2025/04/05 23:11:17.570 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/05 23:11:17.572 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [takeTime=40.254918ms] [] [2025/04/05 23:11:17.572 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 23:11:17.573 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.122052ms] [] [2025/04/05 23:11:17.573 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=74] [step=import] [engine-id=0] [2025/04/05 23:11:17.573 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:17.575 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=1.717997ms] [] [2025/04/05 23:11:17.575 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/05 23:11:17.579 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:17.579 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [takeTime=3.737734ms] [] [2025/04/05 23:11:17.579 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 23:11:17.580 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=934.621µs] [] [2025/04/05 23:11:17.580 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=74] [step=import] [subtask-id=140] [takeTime=83.4462ms] [] [2025/04/05 23:11:17.580 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=140] [step=import] [takeTime=83.647304ms] [] [2025/04/05 23:11:17.595 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:17.596 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:17.597 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:17.597 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:17.628 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:17.629 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=74] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:17.629 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:11:17.666 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:17.673 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=74] [step=import] [2025/04/05 23:11:17.676 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:17.676 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:17.676 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:17.676 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:17.676 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:17.676 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:17.676 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:17.676 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:17.676 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:17.676 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:17.676 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:17.676 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-74] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:17.678 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:17.678 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:17.678 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:17.678 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:17.679 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=190.155365ms] [] [2025/04/05 23:11:17.680 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:17.687 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=141] [step=post-process] [2025/04/05 23:11:17.687 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [2025/04/05 23:11:17.687 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [2025/04/05 23:11:17.687 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [2025/04/05 23:11:17.694 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [takeTime=6.230499ms] [] [2025/04/05 23:11:17.694 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [groupId=-1] [size=33] [kvs=1] [checksum=10389631808286628075] [2025/04/05 23:11:17.694 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/05 23:11:17.694 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [weight=30] [2025/04/05 23:11:17.694 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [concurrency=15] [2025/04/05 23:11:17.696 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=371] [physicalTableID=371] [indexID=-1] [checksum=10389631808286628075] [totalKvs=1] [totalBytes=33] [2025/04/05 23:11:17.696 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:17.696 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [local="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/05 23:11:17.697 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [takeTime=9.025067ms] [] [2025/04/05 23:11:17.697 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=74] [step=post-process] [subtask-id=141] [takeTime=9.149681ms] [] [2025/04/05 23:11:17.697 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [subtaskID=141] [step=post-process] [takeTime=9.280883ms] [] [2025/04/05 23:11:17.719 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:17.795 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=74] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:17.795 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=74] [step=post-process] [state=running] [] [2025/04/05 23:11:17.797 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=74] [2025/04/05 23:11:17.820 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=74] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=140.706868ms] [] [2025/04/05 23:11:17.820 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=74] [type=ImportInto] [2025/04/05 23:11:17.888 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.696134809\n# Parse_time: 0.000112186\n# Compile_time: 0.000600479\n# Rewrite_time: 0.000172089\n# Optimize_time: 0.00026311\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 774e96f70f54201ff90b227839cc6a84156ba01693c8ca009f9710ecb324ae55\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NS4xbXMsIG9wZW46NjU3bnMsIGNsb3NlOjcxMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NS4xbXMsIG9wZW46NjU3bnMsIGNsb3NlOjcxMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:11:17.889 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=74] [2025/04/05 23:11:17.895 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:17.896 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:17.896 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=74] [2025/04/05 23:11:17.920 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:17.944 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:17.964 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=75] [task-id=75] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:11:17.979 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=75] [2025/04/05 23:11:17.979 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:11:18.081 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:18.082 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:18.083 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=75] [curr-step=init] [next-step=import] [2025/04/05 23:11:18.091 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:18.094 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:11:18.094 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=5] [2025/04/05 23:11:18.094 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=56.858µs] [2025/04/05 23:11:18.094 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=151.778µs] [] [2025/04/05 23:11:18.094 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=75] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:18.094 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:11:18.131 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=75] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:11:18.151 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=75] [step=import] [2025/04/05 23:11:18.151 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:18.159 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:18.160 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:18.160 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:18.160 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:18.160 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:18.160 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:18.160 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:18.161 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:18.161 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:18.161 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:18.174 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:18.176 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:18.176 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/05 23:11:18.176 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=75] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:18.176 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=75] [disk-quota=348.5GiB] [2025/04/05 23:11:18.176 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:18.184 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=142] [step=import] [2025/04/05 23:11:18.184 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=75] [step=import] [subtask-id=142] [2025/04/05 23:11:18.188 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 23:11:18.188 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=75] [mode=Import] [2025/04/05 23:11:18.191 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:18.191 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=373] [2025/04/05 23:11:18.208 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=75] [2025/04/05 23:11:18.229 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=373] [key=1.txt:0] [2025/04/05 23:11:18.231 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=373] [key=1.txt:0] [readDur=998.611µs] [encodeDur=327.613µs] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [deliverDur=277.419µs] [type=file] [takeTime=1.923723ms] [] [2025/04/05 23:11:18.232 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/75/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/6d3bfd55-0d1f-4fbb-885a-a2cf936cefeb.sst] [firstKey=7480000000000001755F728000000000000001] [lastKey=7480000000000001755F728000000000000001] [2025/04/05 23:11:18.232 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/05 23:11:18.232 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/05 23:11:18.232 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 23:11:18.234 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.925439ms] [] [2025/04/05 23:11:18.234 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/05 23:11:18.238 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:18.260 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=33] [2025/04/05 23:11:18.260 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:18.261 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001755f728000000000000001] [endOfAllRanges=7480000000000001755f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff755f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff755f728000000000ff0000020000000000fa] [2025/04/05 23:11:18.274 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/05 23:11:18.276 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [takeTime=42.42938ms] [] [2025/04/05 23:11:18.276 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 23:11:18.278 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.148113ms] [] [2025/04/05 23:11:18.278 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=75] [step=import] [engine-id=0] [2025/04/05 23:11:18.278 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:18.280 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=1.825684ms] [] [2025/04/05 23:11:18.280 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/05 23:11:18.285 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:18.285 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [takeTime=5.073679ms] [] [2025/04/05 23:11:18.285 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 23:11:18.286 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=1.045942ms] [] [2025/04/05 23:11:18.286 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=75] [step=import] [subtask-id=142] [takeTime=102.206546ms] [] [2025/04/05 23:11:18.286 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=142] [step=import] [takeTime=102.67101ms] [] [2025/04/05 23:11:18.386 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:18.387 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:18.388 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:18.388 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:18.420 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:18.421 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=75] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:18.421 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:11:18.442 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:11:18.442 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=75] [step=import] [2025/04/05 23:11:18.445 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:18.445 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:18.445 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:18.445 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:18.445 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:18.445 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:18.445 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:18.445 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:18.445 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-75] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:18.445 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:18.445 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:18.445 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:18.448 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:18.448 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:18.448 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:18.448 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:18.448 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=272.378492ms] [] [2025/04/05 23:11:18.449 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=75] [type=ImportInto] [2025/04/05 23:11:18.452 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=75] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:11:18.472 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:18.479 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=143] [step=post-process] [2025/04/05 23:11:18.480 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [2025/04/05 23:11:18.480 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [2025/04/05 23:11:18.480 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [2025/04/05 23:11:18.485 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [takeTime=5.398334ms] [] [2025/04/05 23:11:18.485 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [groupId=-1] [size=33] [kvs=1] [checksum=5264423192021952273] [2025/04/05 23:11:18.485 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/05 23:11:18.485 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [weight=30] [2025/04/05 23:11:18.485 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [concurrency=15] [2025/04/05 23:11:18.487 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=373] [physicalTableID=373] [indexID=-1] [checksum=5264423192021952273] [totalKvs=1] [totalBytes=33] [2025/04/05 23:11:18.488 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:18.488 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [local="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/05 23:11:18.488 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [takeTime=8.139197ms] [] [2025/04/05 23:11:18.488 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=75] [step=post-process] [subtask-id=143] [takeTime=8.294976ms] [] [2025/04/05 23:11:18.488 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [subtaskID=143] [step=post-process] [takeTime=8.426966ms] [] [2025/04/05 23:11:18.519 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:18.586 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=75] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:18.587 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=75] [step=post-process] [state=running] [] [2025/04/05 23:11:18.589 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=75] [2025/04/05 23:11:18.610 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=75] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=138.286147ms] [] [2025/04/05 23:11:18.611 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=75] [type=ImportInto] [2025/04/05 23:11:18.681 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=75] [2025/04/05 23:11:18.687 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:18.687 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=75] [2025/04/05 23:11:18.709 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestSameBehaviourDetachedOrNot (4.12s) === NAME TestImportInto === RUN TestImportInto/TestShowDetachedJob [2025/04/05 23:11:18.983 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=270] [cur_db=] [sql="drop database if exists show_detached_job"] [user=root@%] [2025/04/05 23:11:18.997 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:18.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:18.997 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:18.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database show_detached_job"] [2025/04/05 23:11:19.003 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:18.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.017 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=753.218µs] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:19.021 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=271] [2025/04/05 23:11:19.023 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=8.445724ms] [job="ID:376, Type:create schema, State:done, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:18.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.034 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:create schema, State:synced, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:18.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.044 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=376] [2025/04/05 23:11:19.044 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=271] [cur_db=] [sql="create database show_detached_job"] [user=root@%] [2025/04/05 23:11:19.058 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:19.058 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 23:11:19.063 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=378] [conn=2] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:19.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.068 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 377, Table Name: t1)"] [2025/04/05 23:11:19.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.510664ms] [gotSchemaVersion=272] [phyTblIDs="[377]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:19.085 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=272] [2025/04/05 23:11:19.087 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=272] ["take time"=8.82646ms] [job="ID:378, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.098 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=378] [conn=2] [job="ID:378, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:19.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=378] [2025/04/05 23:11:19.109 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=272] [cur_db=show_detached_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:11:19.122 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:19.122 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/05 23:11:19.128 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=2] [job="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:19.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.133 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 379, Table Name: t2)"] [2025/04/05 23:11:19.147 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.646943ms] [gotSchemaVersion=273] [phyTblIDs="[379]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:19.151 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=273] [2025/04/05 23:11:19.152 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=9.240215ms] [job="ID:380, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.164 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=2] [job="ID:380, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:19.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/05 23:11:19.176 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=273] [cur_db=show_detached_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:11:19.189 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:19.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/05 23:11:19.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.199 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 381, Table Name: t3)"] [2025/04/05 23:11:19.215 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.625287ms] [gotSchemaVersion=274] [phyTblIDs="[381]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:19.218 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=274] [2025/04/05 23:11:19.220 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=274] ["take time"=9.883771ms] [job="ID:382, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.231 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:19.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=382] [2025/04/05 23:11:19.242 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=274] [cur_db=show_detached_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:11:19.250 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:19.303 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:11:19.322 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=76] [task-id=76] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:19.336 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=76] [2025/04/05 23:11:19.337 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:19.439 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:19.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:19.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=76] [curr-step=init] [next-step=import] [2025/04/05 23:11:19.448 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:19.451 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 23:11:19.451 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 23:11:19.451 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=38.523µs] [2025/04/05 23:11:19.451 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=143.655µs] [] [2025/04/05 23:11:19.451 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=76] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:19.451 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:19.492 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=76] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:19.511 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=76] [step=import] [2025/04/05 23:11:19.511 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:19.519 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:19.519 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:19.520 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:19.520 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:19.520 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:19.520 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:19.520 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:19.520 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:19.521 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:19.521 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:19.533 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:19.535 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:19.535 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/05 23:11:19.535 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=76] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:19.535 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=76] [disk-quota=348.5GiB] [2025/04/05 23:11:19.535 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:19.543 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=144] [step=import] [2025/04/05 23:11:19.543 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=76] [step=import] [subtask-id=144] [2025/04/05 23:11:19.546 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=76] [mode=Import] [2025/04/05 23:11:19.548 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/05 23:11:19.552 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 23:11:19.552 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/05 23:11:19.566 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=76] [2025/04/05 23:11:19.609 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=t.csv:0] [2025/04/05 23:11:19.611 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=t.csv:0] [readDur=1.149243ms] [encodeDur=214.746µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=160.439µs] [type=file] [takeTime=1.811714ms] [] [2025/04/05 23:11:19.612 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/76/4c8e15fc-755f-59dd-958d-7cda1975f957.sst/b569fc6e-fafc-407c-82db-e51f18b6124c.sst] [firstKey=7480000000000001795F728000000000000001] [lastKey=7480000000000001795F728000000000000002] [2025/04/05 23:11:19.613 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/05 23:11:19.613 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/05 23:11:19.613 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/05 23:11:19.615 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [takeTime=2.007511ms] [] [2025/04/05 23:11:19.615 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [retryCnt=0] [2025/04/05 23:11:19.619 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:19.641 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:11:19.641 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:19.643 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001795f728000000000000001] [endOfAllRanges=7480000000000001795f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff795f728000000000ff0000030000000000fa] [2025/04/05 23:11:19.654 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:11:19.655 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [retryCnt=0] [takeTime=40.565989ms] [] [2025/04/05 23:11:19.656 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/05 23:11:19.657 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [takeTime=1.152957ms] [] [2025/04/05 23:11:19.657 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=76] [step=import] [engine-id=0] [2025/04/05 23:11:19.657 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 23:11:19.658 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [takeTime=1.451481ms] [] [2025/04/05 23:11:19.658 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [retryCnt=0] [2025/04/05 23:11:19.662 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 23:11:19.662 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [retryCnt=0] [takeTime=3.57146ms] [] [2025/04/05 23:11:19.662 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 23:11:19.663 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [takeTime=1.007571ms] [] [2025/04/05 23:11:19.663 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=76] [step=import] [subtask-id=144] [takeTime=119.951836ms] [] [2025/04/05 23:11:19.663 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=144] [step=import] [takeTime=120.098981ms] [] [2025/04/05 23:11:19.744 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:19.745 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:19.746 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:19.746 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:19.777 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:19.778 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=76] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:19.778 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:19.811 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:19.818 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=76] [step=import] [2025/04/05 23:11:19.821 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:19.821 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:19.821 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:19.821 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:19.821 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:19.821 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:19.821 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:19.821 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:19.821 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:19.821 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-76] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:19.821 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:19.821 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:19.824 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:19.824 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:19.824 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:19.824 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:19.824 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=288.375336ms] [] [2025/04/05 23:11:19.825 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:19.835 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=145] [step=post-process] [2025/04/05 23:11:19.835 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [2025/04/05 23:11:19.835 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [2025/04/05 23:11:19.835 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [2025/04/05 23:11:19.835 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [takeTime=2.007µs] [] [2025/04/05 23:11:19.835 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 23:11:19.835 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:11:19.835 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [weight=30] [2025/04/05 23:11:19.835 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [concurrency=15] [2025/04/05 23:11:19.837 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=377] [physicalTableID=377] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 23:11:19.838 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:19.838 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:11:19.838 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [takeTime=2.837381ms] [] [2025/04/05 23:11:19.838 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=76] [step=post-process] [subtask-id=145] [takeTime=3.00164ms] [] [2025/04/05 23:11:19.838 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [subtaskID=145] [step=post-process] [takeTime=3.161914ms] [] [2025/04/05 23:11:19.859 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:19.945 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=76] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:19.945 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=76] [step=post-process] [state=running] [] [2025/04/05 23:11:19.947 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=76] [2025/04/05 23:11:19.978 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=76] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=153.392476ms] [] [2025/04/05 23:11:19.978 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=76] [type=ImportInto] [2025/04/05 23:11:20.039 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=76] [2025/04/05 23:11:20.047 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:20.047 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=76] [2025/04/05 23:11:20.067 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:20.340 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:20.389 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:11:20.407 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=77] [task-id=77] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:20.422 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=77] [2025/04/05 23:11:20.422 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:20.524 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:20.525 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:20.526 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=77] [curr-step=init] [next-step=import] [2025/04/05 23:11:20.534 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:20.536 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:11:20.536 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 23:11:20.536 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=43.873µs] [2025/04/05 23:11:20.536 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=132.538µs] [] [2025/04/05 23:11:20.536 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=77] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:20.537 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:20.572 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=77] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:20.592 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=77] [step=import] [2025/04/05 23:11:20.592 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:20.600 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:20.600 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:20.601 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:20.601 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:20.601 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:20.601 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:20.601 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:20.601 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:20.601 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:20.602 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:20.613 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:20.615 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:20.615 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/05 23:11:20.615 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=77] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:20.615 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=77] [disk-quota=348.5GiB] [2025/04/05 23:11:20.615 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:20.623 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=146] [step=import] [2025/04/05 23:11:20.623 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=77] [step=import] [subtask-id=146] [2025/04/05 23:11:20.627 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/05 23:11:20.630 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 23:11:20.630 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=379] [2025/04/05 23:11:20.631 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=77] [mode=Import] [2025/04/05 23:11:20.650 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=77] [2025/04/05 23:11:20.709 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [2025/04/05 23:11:20.711 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [readDur=846.53µs] [encodeDur=940.13µs] [checksum="{cksum=0,size=50,kvs=2}"] [deliverDur=162.629µs] [type=file] [takeTime=2.229291ms] [] [2025/04/05 23:11:20.711 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=74800000000000017B5F728000000000000001] [2025/04/05 23:11:20.712 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25] [kvs=2] [files=1] [sstFileSize=923] [file=/tmp/tidb/import-4000/77/385b6216-6ebc-5909-bf6e-7976f99624d0.sst/00dee831-99a5-4072-b45a-0572ce3f658d.sst] [firstKey=74800000000000017B5F728000000000000001] [lastKey=74800000000000017B5F728000000000000001] [2025/04/05 23:11:20.712 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/05 23:11:20.712 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/05 23:11:20.712 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/05 23:11:20.714 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [takeTime=2.08433ms] [] [2025/04/05 23:11:20.714 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [retryCnt=0] [2025/04/05 23:11:20.719 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:20.740 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] ["region ranges"=1] [count=2] [size=25] [2025/04/05 23:11:20.740 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:20.742 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000017b5f728000000000000001] [endOfAllRanges=74800000000000017b5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff7b5f728000000000ff0000020000000000fa] [2025/04/05 23:11:20.753 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] [size=25] [kvs=2] [importedSize=25] [importedCount=1] [2025/04/05 23:11:20.754 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [retryCnt=0] [takeTime=39.960039ms] [] [2025/04/05 23:11:20.754 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/05 23:11:20.756 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [takeTime=1.313102ms] [] [2025/04/05 23:11:20.756 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=77] [step=import] [engine-id=0] [2025/04/05 23:11:20.756 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 23:11:20.758 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [takeTime=1.744978ms] [] [2025/04/05 23:11:20.758 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [retryCnt=0] [2025/04/05 23:11:20.761 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 23:11:20.761 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [retryCnt=0] [takeTime=3.55511ms] [] [2025/04/05 23:11:20.761 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 23:11:20.762 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [takeTime=953.848µs] [] [2025/04/05 23:11:20.763 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=77] [step=import] [subtask-id=146] [takeTime=139.517583ms] [] [2025/04/05 23:11:20.763 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=146] [step=import] [takeTime=139.693207ms] [] [2025/04/05 23:11:20.830 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:20.830 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:20.831 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:20.831 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:20.862 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:20.863 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=77] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:20.863 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:20.888 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:20.895 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=77] [step=import] [2025/04/05 23:11:20.898 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:20.898 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:20.898 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:20.898 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:20.898 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:20.898 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:20.898 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:20.898 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:20.898 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-77] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:20.898 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:20.899 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:20.899 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:20.901 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:20.901 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:20.901 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:20.901 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:20.901 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=285.625898ms] [] [2025/04/05 23:11:20.902 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:20.909 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=147] [step=post-process] [2025/04/05 23:11:20.909 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [2025/04/05 23:11:20.909 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [2025/04/05 23:11:20.909 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [2025/04/05 23:11:20.909 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [takeTime=2.945µs] [] [2025/04/05 23:11:20.909 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [groupId=-1] [size=50] [kvs=2] [checksum=0] [2025/04/05 23:11:20.909 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [checksum="{cksum=0,size=50,kvs=2}"] [2025/04/05 23:11:20.909 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [weight=30] [2025/04/05 23:11:20.910 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [concurrency=15] [2025/04/05 23:11:20.912 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=379] [physicalTableID=379] [indexID=-1] [checksum=5324322070113961250] [totalKvs=1] [totalBytes=25] [2025/04/05 23:11:20.912 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:20.912 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [takeTime=2.839415ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:20.912 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=77] [step=post-process] [subtask-id=147] [takeTime=3.118798ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:20.912 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [subtaskID=147] [step=post-process] [takeTime=3.382162ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:20.913 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:20.919 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:20.930 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:20.934 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=77] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\\\"}\"]"] [2025/04/05 23:11:20.950 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=77] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=47.982729ms] [] [2025/04/05 23:11:20.950 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=77] [type=ImportInto] [2025/04/05 23:11:21.030 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=77] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [2025/04/05 23:11:21.031 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=77] [step=post-process] [mode=Normal] [2025/04/05 23:11:21.037 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=77] [2025/04/05 23:11:21.124 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=77] [2025/04/05 23:11:21.131 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:21.131 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=77] [2025/04/05 23:11:21.151 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:21.423 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:21.472 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:11:21.491 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=78] [task-id=78] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:21.505 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=78] [2025/04/05 23:11:21.506 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:21.608 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:21.609 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:21.610 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=78] [curr-step=init] [next-step=import] [2025/04/05 23:11:21.617 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:21.620 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/05 23:11:21.620 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=536870912000] [after=3] [2025/04/05 23:11:21.620 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=52.469µs] [2025/04/05 23:11:21.620 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=176.605µs] [] [2025/04/05 23:11:21.620 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=78] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:21.620 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:21.661 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=78] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:21.681 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=78] [step=import] [2025/04/05 23:11:21.681 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:21.689 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:21.689 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:21.690 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:21.690 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:21.690 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:21.690 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:21.690 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:21.690 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:21.691 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:21.691 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:21.703 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:21.705 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:21.705 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=374.2GB] [2025/04/05 23:11:21.705 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=78] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:21.705 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=78] [disk-quota=348.5GiB] [2025/04/05 23:11:21.705 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:21.713 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [subtaskID=148] [step=import] [2025/04/05 23:11:21.713 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=78] [step=import] [subtask-id=148] [2025/04/05 23:11:21.716 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=78] [mode=Import] [2025/04/05 23:11:21.717 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:0] [engineUUID=1b1505a5-6ea7-513e-afb3-0c56d5f7e5e5] [2025/04/05 23:11:21.721 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:-1] [engineUUID=61501221-9c0e-5dca-a32f-31aa40df2be4] [2025/04/05 23:11:21.721 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=381] [2025/04/05 23:11:21.721 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=78] [step=import] [subtask-id=148] [takeTime=7.740842ms] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:21.721 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [subtaskID=148] [step=import] [takeTime=7.970706ms] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:21.721 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:21.728 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:21.736 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=78] [2025/04/05 23:11:21.817 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=78] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/05 23:11:21.835 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=78] [step=import] [2025/04/05 23:11:21.838 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:21.838 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:21.838 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:21.838 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:21.838 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:21.838 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:21.838 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:21.839 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:21.839 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:21.838 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-78] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:21.839 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:21.839 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:21.841 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:21.841 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:21.841 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:21.841 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:21.841 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=78] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=135.893583ms] [] [2025/04/05 23:11:21.841 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=78] [type=ImportInto] [2025/04/05 23:11:21.914 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=78] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/05 23:11:21.915 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=78] [step=import] [mode=Normal] [2025/04/05 23:11:21.929 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=78] --- PASS: TestImportInto/TestShowDetachedJob (3.02s) === NAME TestImportInto === RUN TestImportInto/TestShowJob [2025/04/05 23:11:22.008 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=78] [2025/04/05 23:11:22.011 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=274] [cur_db=show_detached_job] [sql="drop database if exists test_show_job"] [user=root@%] [2025/04/05 23:11:22.014 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:22.014 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=78] [2025/04/05 23:11:22.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_show_job"] [2025/04/05 23:11:22.024 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:22.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.034 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:22.043 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=802.659µs] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:22.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=384] [version=275] [2025/04/05 23:11:22.049 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=8.234407ms] [job="ID:384, Type:create schema, State:done, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.060 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create schema, State:synced, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.070 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=384] [2025/04/05 23:11:22.070 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=275] [cur_db=show_detached_job] [sql="create database test_show_job"] [user=root@%] [2025/04/05 23:11:22.083 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:22.083 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 23:11:22.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=2] [job="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.092 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 385, Table Name: t1)"] [2025/04/05 23:11:22.105 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.514362ms] [gotSchemaVersion=276] [phyTblIDs="[385]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:22.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=276] [2025/04/05 23:11:22.110 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=8.585047ms] [job="ID:386, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=2] [job="ID:386, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/05 23:11:22.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=276] [cur_db=test_show_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:11:22.144 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:22.144 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/05 23:11:22.150 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.154 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 387, Table Name: t2)"] [2025/04/05 23:11:22.168 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.791014ms] [gotSchemaVersion=277] [phyTblIDs="[387]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:22.171 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=277] [2025/04/05 23:11:22.173 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=9.076825ms] [job="ID:388, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.184 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.195 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=388] [2025/04/05 23:11:22.195 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=277] [cur_db=test_show_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:11:22.207 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:22.207 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/05 23:11:22.214 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=390] [conn=2] [job="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.218 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 389, Table Name: t3)"] [2025/04/05 23:11:22.232 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.544102ms] [gotSchemaVersion=278] [phyTblIDs="[389]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:22.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=278] [2025/04/05 23:11:22.237 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=8.993161ms] [job="ID:390, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:22.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.248 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=390] [conn=2] [job="ID:390, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:22.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:22.258 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=390] [2025/04/05 23:11:22.259 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 23:11:22.323 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job1'@'localhost';"] [user=root@%] [2025/04/05 23:11:22.362 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job1@localhost"] [user=root@%] [2025/04/05 23:11:22.408 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job1'@'localhost'"] [user=root@%] [2025/04/05 23:11:22.470 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job2'@'localhost';"] [user=root@%] [2025/04/05 23:11:22.509 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job2@localhost"] [user=root@%] [2025/04/05 23:11:22.556 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job2'@'localhost'"] [user=root@%] [2025/04/05 23:11:22.565 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:22.615 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:22.633 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=79] [task-id=79] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:22.648 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=79] [2025/04/05 23:11:22.648 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:22.707 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:11:22.751 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:22.752 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:22.752 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=79] [curr-step=init] [next-step=import] [2025/04/05 23:11:22.760 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:22.763 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 23:11:22.763 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 23:11:22.763 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=47.788µs] [2025/04/05 23:11:22.763 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=141.919µs] [] [2025/04/05 23:11:22.763 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=79] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:22.763 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:22.802 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=79] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:22.822 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=79] [step=import] [2025/04/05 23:11:22.822 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:22.830 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:22.830 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:22.830 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:22.830 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:22.830 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:22.830 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:22.830 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:22.831 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:22.831 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:22.831 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:22.843 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:22.845 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:22.845 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/05 23:11:22.845 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=79] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:22.845 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:22.845 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=79] [disk-quota=348.5GiB] [2025/04/05 23:11:22.854 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=149] [step=import] [2025/04/05 23:11:22.854 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=79] [step=import] [subtask-id=149] [2025/04/05 23:11:22.857 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=79] [mode=Import] [2025/04/05 23:11:22.858 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/05 23:11:22.862 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 23:11:22.862 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=385] [2025/04/05 23:11:22.881 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=79] [2025/04/05 23:11:22.930 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=385] [key=t.csv:0] [2025/04/05 23:11:22.932 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=385] [key=t.csv:0] [readDur=894.567µs] [encodeDur=438.26µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=168.116µs] [type=file] [takeTime=1.777492ms] [] [2025/04/05 23:11:22.934 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/79/14a064c0-6566-52c4-87f4-e5885586fbff.sst/10f0557f-acba-4147-a166-be353a4d298c.sst] [firstKey=7480000000000001815F728000000000000001] [lastKey=7480000000000001815F728000000000000002] [2025/04/05 23:11:22.934 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/05 23:11:22.934 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/05 23:11:22.934 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/05 23:11:22.936 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [takeTime=2.505029ms] [] [2025/04/05 23:11:22.936 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [retryCnt=0] [2025/04/05 23:11:22.941 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:22.963 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:11:22.963 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:22.965 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001815f728000000000000001] [endOfAllRanges=7480000000000001815f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff815f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff815f728000000000ff0000030000000000fa] [2025/04/05 23:11:22.976 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:11:22.977 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [retryCnt=0] [takeTime=40.723517ms] [] [2025/04/05 23:11:22.977 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/05 23:11:22.978 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [takeTime=1.065736ms] [] [2025/04/05 23:11:22.978 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=79] [step=import] [engine-id=0] [2025/04/05 23:11:22.978 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 23:11:22.980 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [takeTime=1.534421ms] [] [2025/04/05 23:11:22.980 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [retryCnt=0] [2025/04/05 23:11:22.984 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 23:11:22.984 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [retryCnt=0] [takeTime=3.659922ms] [] [2025/04/05 23:11:22.984 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 23:11:22.985 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [takeTime=1.036077ms] [] [2025/04/05 23:11:22.985 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=79] [step=import] [subtask-id=149] [takeTime=131.012353ms] [] [2025/04/05 23:11:22.985 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=149] [step=import] [takeTime=131.447691ms] [] [2025/04/05 23:11:23.056 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:23.057 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:23.057 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:23.057 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:23.089 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:23.090 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=79] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:23.090 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:23.128 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:23.135 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=79] [step=import] [2025/04/05 23:11:23.138 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:23.138 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:23.138 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:23.138 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:23.138 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:23.138 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:23.138 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:23.138 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:23.138 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-79] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:23.138 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:23.138 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:23.138 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:23.141 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:23.141 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:23.141 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:23.141 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:23.141 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=295.332095ms] [] [2025/04/05 23:11:23.142 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:23.150 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=150] [step=post-process] [2025/04/05 23:11:23.150 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [2025/04/05 23:11:23.150 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [2025/04/05 23:11:23.150 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [2025/04/05 23:11:23.150 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [takeTime=2.085µs] [] [2025/04/05 23:11:23.150 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 23:11:23.150 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:11:23.150 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [weight=30] [2025/04/05 23:11:23.150 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [concurrency=15] [2025/04/05 23:11:23.152 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=385] [physicalTableID=385] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 23:11:23.153 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:23.153 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:11:23.153 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [takeTime=2.83242ms] [] [2025/04/05 23:11:23.153 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=79] [step=post-process] [subtask-id=150] [takeTime=2.971438ms] [] [2025/04/05 23:11:23.153 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [subtaskID=150] [step=post-process] [takeTime=3.149572ms] [] [2025/04/05 23:11:23.179 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:23.256 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=79] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:23.256 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=79] [step=post-process] [state=running] [] [2025/04/05 23:11:23.259 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=79] [2025/04/05 23:11:23.277 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=79] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=134.929034ms] [] [2025/04/05 23:11:23.277 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=79] [type=ImportInto] [2025/04/05 23:11:23.351 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=79] [2025/04/05 23:11:23.357 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:23.357 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=79] [2025/04/05 23:11:23.379 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:23.550 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_show_job1[test_show_job1] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.990298675\n# Parse_time: 0.000097713\n# Compile_time: 0.000597379\n# Rewrite_time: 0.000166863\n# Optimize_time: 0.000039837\n# Wait_TS: 0\n# DB: test_show_job\n# Is_internal: false\n# Digest: 99e0210d02768185f513fdb4826de8b909e90d125e9b68ebb96c6b40a088fef9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS4zbXMsIG9wZW46NjkxbnMsIGNsb3NlOjg0OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS4zbXMsIG9wZW46NjkxbnMsIGNsb3NlOjg0OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nuse test_show_job;\nIMPORT INTO `test_show_job`.`t1` FROM 'gs://test-show-job/t.csv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/05 23:11:23.563 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:23.612 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:23.632 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=80] [task-id=80] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:23.646 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=80] [2025/04/05 23:11:23.646 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:23.750 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:23.750 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:23.751 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=80] [curr-step=init] [next-step=import] [2025/04/05 23:11:23.760 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:23.763 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:11:23.763 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 23:11:23.763 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=46.488µs] [2025/04/05 23:11:23.763 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=138.699µs] [] [2025/04/05 23:11:23.763 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=80] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:23.763 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:23.802 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=80] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:23.823 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=80] [step=import] [2025/04/05 23:11:23.823 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:23.831 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:23.832 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:23.832 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:23.832 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:23.832 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:23.832 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:23.832 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:23.832 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:23.833 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:23.833 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:23.845 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:23.847 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:23.847 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/05 23:11:23.847 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=80] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:23.847 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=80] [disk-quota=348.5GiB] [2025/04/05 23:11:23.847 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:23.855 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=80] [mode=Import] [2025/04/05 23:11:23.856 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=151] [step=import] [2025/04/05 23:11:23.856 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=80] [step=import] [subtask-id=151] [2025/04/05 23:11:23.860 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/05 23:11:23.864 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 23:11:23.865 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=387] [2025/04/05 23:11:23.874 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=80] [2025/04/05 23:11:23.902 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=387] [key=t.csv:0] [2025/04/05 23:11:23.904 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=387] [key=t.csv:0] [readDur=967.904µs] [encodeDur=233.048µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=21.942µs] [type=file] [takeTime=1.519302ms] [] [2025/04/05 23:11:23.904 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/80/e31f885e-858e-52f9-8c22-abc4981608ce.sst/3eea9ff4-bb66-46ea-9a85-6183b993519a.sst] [firstKey=7480000000000001835F728000000000000001] [lastKey=7480000000000001835F728000000000000002] [2025/04/05 23:11:23.905 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/05 23:11:23.905 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/05 23:11:23.905 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/05 23:11:23.907 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=2.067826ms] [] [2025/04/05 23:11:23.907 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [retryCnt=0] [2025/04/05 23:11:23.911 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:23.933 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:11:23.933 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:23.935 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001835f728000000000000001] [endOfAllRanges=7480000000000001835f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff835f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff835f728000000000ff0000030000000000fa] [2025/04/05 23:11:23.946 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:11:23.948 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [retryCnt=0] [takeTime=41.005251ms] [] [2025/04/05 23:11:23.948 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/05 23:11:23.949 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=1.147415ms] [] [2025/04/05 23:11:23.949 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=80] [step=import] [engine-id=0] [2025/04/05 23:11:23.949 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 23:11:23.951 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [takeTime=1.494863ms] [] [2025/04/05 23:11:23.951 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [retryCnt=0] [2025/04/05 23:11:23.954 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 23:11:23.955 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [retryCnt=0] [takeTime=3.634334ms] [] [2025/04/05 23:11:23.955 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 23:11:23.956 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [takeTime=939.166µs] [] [2025/04/05 23:11:23.956 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=80] [step=import] [subtask-id=151] [takeTime=99.996389ms] [] [2025/04/05 23:11:23.956 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=151] [step=import] [takeTime=100.175106ms] [] [2025/04/05 23:11:24.054 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:24.055 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:24.056 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:24.056 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:24.086 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:11:24.087 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=80] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:24.087 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:24.108 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:11:24.108 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=80] [step=import] [2025/04/05 23:11:24.111 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:24.111 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:24.111 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:24.111 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:24.111 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:24.111 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:24.111 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:24.111 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:24.111 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:24.111 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-80] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:24.111 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:24.111 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:24.113 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:24.113 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:24.113 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:24.113 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:24.113 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=265.968741ms] [] [2025/04/05 23:11:24.113 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=80] [type=ImportInto] [2025/04/05 23:11:24.120 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=80] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:24.140 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:24.146 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=152] [step=post-process] [2025/04/05 23:11:24.147 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [2025/04/05 23:11:24.147 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [2025/04/05 23:11:24.147 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [2025/04/05 23:11:24.147 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [takeTime=1.507µs] [] [2025/04/05 23:11:24.147 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 23:11:24.147 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:11:24.147 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [weight=30] [2025/04/05 23:11:24.147 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [concurrency=15] [2025/04/05 23:11:24.149 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=387] [physicalTableID=387] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 23:11:24.149 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:24.149 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 23:11:24.149 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [takeTime=2.550422ms] [] [2025/04/05 23:11:24.149 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=80] [step=post-process] [subtask-id=152] [takeTime=2.68564ms] [] [2025/04/05 23:11:24.149 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [subtaskID=152] [step=post-process] [takeTime=2.815593ms] [] [2025/04/05 23:11:24.174 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:24.254 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=80] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:24.254 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=80] [step=post-process] [state=running] [] [2025/04/05 23:11:24.256 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=80] [2025/04/05 23:11:24.272 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=80] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=132.150339ms] [] [2025/04/05 23:11:24.272 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=80] [type=ImportInto] [2025/04/05 23:11:24.349 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=80] [2025/04/05 23:11:24.355 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:24.355 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=80] [2025/04/05 23:11:24.376 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:24.549 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_show_job2[test_show_job2] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.991915183\n# Parse_time: 0.000068641\n# Compile_time: 0.000526432\n# Rewrite_time: 0.000150257\n# Optimize_time: 0.000041957\n# Wait_TS: 0\n# DB: test_show_job\n# Is_internal: false\n# Digest: bb14f9daa9769ab5bd1b361b26a82cefb11854ee7a2fe4ff910de9e52bfdc24f\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MW1zLCBvcGVuOjYzN25zLCBjbG9zZToxLjLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjk5MW1zLCBvcGVuOjYzN25zLCBjbG9zZToxLjLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `test_show_job`.`t2` FROM 'gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/05 23:11:24.607 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SUPER on *.* to 'test_show_job2'@'localhost'"] [user=root@%] testkit.go:123: RefreshSession rand seed: 1743894684612670753 [2025/04/05 23:11:24.620 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:24.665 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t*.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:11:24.683 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=81] [task-id=81] [data-size=6B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:11:24.697 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=81] [2025/04/05 23:11:24.697 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:11:24.799 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:24.800 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:24.801 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=81] [curr-step=init] [next-step=import] [2025/04/05 23:11:24.810 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:24.812 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/05 23:11:24.812 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=1] [after=1] [2025/04/05 23:11:24.812 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=91.857µs] [2025/04/05 23:11:24.813 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=257.129µs] [] [2025/04/05 23:11:24.813 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=81] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 23:11:24.813 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 23:11:24.851 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=81] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:11:24.871 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=81] [step=import] [2025/04/05 23:11:24.871 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:24.879 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:24.879 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:24.879 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:24.879 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:24.879 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:24.879 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:24.879 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:24.880 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:24.880 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:24.880 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:24.892 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:24.894 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:24.894 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=374.2GB] [2025/04/05 23:11:24.894 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=81] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:24.894 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:24.894 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=81] [disk-quota=348.5GiB] [2025/04/05 23:11:24.901 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=153] [step=import] [2025/04/05 23:11:24.901 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=153] [2025/04/05 23:11:24.905 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/05 23:11:24.906 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=81] [mode=Import] [2025/04/05 23:11:24.908 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 23:11:24.908 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/05 23:11:24.926 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=81] [2025/04/05 23:11:24.946 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t.csv:0] [2025/04/05 23:11:24.948 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t.csv:0] [readDur=901.082µs] [encodeDur=255.869µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=183.763µs] [type=file] [takeTime=1.676256ms] [] [2025/04/05 23:11:24.949 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/81/e21dc392-0c66-5341-82f7-424a895bc139.sst/abd6107a-d787-4967-b0bb-1f112233b3ae.sst] [firstKey=7480000000000001855F728000000000000001] [lastKey=7480000000000001855F728000000000000002] [2025/04/05 23:11:24.949 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/05 23:11:24.950 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/05 23:11:24.950 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/05 23:11:24.952 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=1.983281ms] [] [2025/04/05 23:11:24.952 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [2025/04/05 23:11:24.956 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:24.978 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:11:24.978 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:24.979 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001855f728000000000000001] [endOfAllRanges=7480000000000001855f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff855f728000000000ff0000030000000000fa] [2025/04/05 23:11:24.991 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:11:24.992 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [takeTime=40.37418ms] [] [2025/04/05 23:11:24.992 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/05 23:11:24.993 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=1.034054ms] [] [2025/04/05 23:11:24.993 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=0] [2025/04/05 23:11:24.993 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 23:11:24.995 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [takeTime=1.383094ms] [] [2025/04/05 23:11:24.995 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [retryCnt=0] [2025/04/05 23:11:24.998 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 23:11:24.998 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [retryCnt=0] [takeTime=3.512351ms] [] [2025/04/05 23:11:24.998 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 23:11:24.999 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [takeTime=990.423µs] [] [2025/04/05 23:11:25.000 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=153] [takeTime=98.220075ms] [] [2025/04/05 23:11:25.000 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=153] [step=import] [takeTime=98.349313ms] [] [2025/04/05 23:11:25.045 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=154] [step=import] [2025/04/05 23:11:25.045 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=154] [2025/04/05 23:11:25.049 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/05 23:11:25.052 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 23:11:25.052 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/05 23:11:25.123 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [2025/04/05 23:11:25.124 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [readDur=858.952µs] [encodeDur=215.514µs] [checksum="{cksum=17045318164640841348,size=50,kvs=2}"] [deliverDur=28.83µs] [type=file] [takeTime=1.290526ms] [] [2025/04/05 23:11:25.125 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=50] [kvs=2] [files=1] [sstFileSize=964] [file=/tmp/tidb/import-4000/81/69537677-8c9a-533f-9f7f-fb34aa20f14c.sst/12c8bfb2-7b3e-4179-a8b8-6c997d4503a8.sst] [firstKey=7480000000000001855F728000000000000003] [lastKey=7480000000000001855F728000000000000004] [2025/04/05 23:11:25.125 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/05 23:11:25.125 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/05 23:11:25.125 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/05 23:11:25.128 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=2.048504ms] [] [2025/04/05 23:11:25.128 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [retryCnt=0] [2025/04/05 23:11:25.132 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:25.154 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] ["region ranges"=1] [count=2] [size=50] [2025/04/05 23:11:25.154 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:25.155 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001855f728000000000000003] [endOfAllRanges=7480000000000001855f728000000000000005] [startKeyOfFirstRegion=7480000000000001ff855f728000000000ff0000030000000000fa] [endKeyOfLastRegion=7480000000000001ff855f728000000000ff0000050000000000fa] [2025/04/05 23:11:25.166 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 23:11:25.168 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [retryCnt=0] [takeTime=40.761037ms] [] [2025/04/05 23:11:25.168 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/05 23:11:25.170 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=1.111436ms] [] [2025/04/05 23:11:25.170 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=81] [step=import] [engine-id=1] [2025/04/05 23:11:25.170 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 23:11:25.171 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [takeTime=1.533863ms] [] [2025/04/05 23:11:25.171 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [retryCnt=0] [2025/04/05 23:11:25.175 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 23:11:25.175 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [retryCnt=0] [takeTime=3.548854ms] [] [2025/04/05 23:11:25.175 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 23:11:25.176 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [takeTime=964.778µs] [] [2025/04/05 23:11:25.176 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=import] [subtask-id=154] [takeTime=130.764012ms] [] [2025/04/05 23:11:25.177 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=154] [step=import] [takeTime=131.542607ms] [] [2025/04/05 23:11:25.205 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:25.205 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:25.206 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:25.206 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:25.236 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:11:25.237 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=81] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:25.237 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:11:25.262 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:25.269 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=81] [step=import] [2025/04/05 23:11:25.273 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:25.273 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:25.273 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:25.273 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:25.273 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:25.273 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:25.273 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:25.273 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:25.273 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:25.273 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-81] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:25.273 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:25.273 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:25.275 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:25.275 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:25.275 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:25.275 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:25.276 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=381.710034ms] [] [2025/04/05 23:11:25.276 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:11:25.284 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=155] [step=post-process] [2025/04/05 23:11:25.284 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [2025/04/05 23:11:25.284 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [2025/04/05 23:11:25.285 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [2025/04/05 23:11:25.285 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [takeTime=2.657µs] [] [2025/04/05 23:11:25.285 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [groupId=-1] [size=100] [kvs=4] [checksum=10068981574061626288] [2025/04/05 23:11:25.285 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [checksum="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/05 23:11:25.285 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [weight=30] [2025/04/05 23:11:25.285 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [concurrency=15] [2025/04/05 23:11:25.287 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=389] [indexID=-1] [checksum=10068981574061626288] [totalKvs=4] [totalBytes=100] [2025/04/05 23:11:25.287 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:25.287 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [local="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/05 23:11:25.287 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [takeTime=2.923399ms] [] [2025/04/05 23:11:25.287 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=81] [step=post-process] [subtask-id=155] [takeTime=3.09827ms] [] [2025/04/05 23:11:25.288 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [subtaskID=155] [step=post-process] [takeTime=3.276936ms] [] [2025/04/05 23:11:25.304 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=81] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:25.304 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=81] [step=post-process] [state=running] [] [2025/04/05 23:11:25.306 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=81] [2025/04/05 23:11:25.308 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:25.334 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=81] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=57.046408ms] [] [2025/04/05 23:11:25.334 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=81] [type=ImportInto] [2025/04/05 23:11:25.399 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=81] [2025/04/05 23:11:25.406 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:25.406 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=81] [2025/04/05 23:11:25.428 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:25.599 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: test_show_job2[test_show_job2] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.984567533\n# Parse_time: 0.000135039\n# Compile_time: 0.000619603\n# Rewrite_time: 0.00016046\n# Optimize_time: 0.000036486\n# Wait_TS: 0\n# DB: test_show_job\n# Is_internal: false\n# Digest: 586c4129dde8bf07f2eb957d1c11bacb4d785c5ef8a5f7344704851e24d20537\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My41bXMsIG9wZW46ODE0bnMsIGNsb3NlOjkwMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My41bXMsIG9wZW46ODE0bnMsIGNsb3NlOjkwMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `test_show_job`.`t3` FROM 'gs://test-show-job/t*.csv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx' WITH thread=1, __max_engine_size=_UTF8MB4'1';"] --- PASS: TestImportInto/TestShowJob (3.60s) === NAME TestImportInto === RUN TestImportInto/TestZeroDateTime [2025/04/05 23:11:25.616 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:25.616 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS import_into;"] [2025/04/05 23:11:25.622 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.641 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=2.341035ms] [gotSchemaVersion=279] [phyTblIDs="[256,258]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:25.644 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=279] [2025/04/05 23:11:25.646 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=9.743866ms] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.656 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.669 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=143.556µs] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:25.673 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=280] [2025/04/05 23:11:25.674 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=280] ["take time"=7.538619ms] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.682 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.688 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:11:25.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=138.195µs] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:11:25.702 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=281] [2025/04/05 23:11:25.704 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=7.387847ms] [job="ID:391, Type:drop schema, State:done, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.713 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=391] [tableIDs="[256,258]"] [comment="drop schema: table IDs"] [2025/04/05 23:11:25.718 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=391] [jobType="drop schema"] [2025/04/05 23:11:25.719 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:synced, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/05 23:11:25.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=281] [cur_db=test_show_job] [sql="DROP DATABASE IF EXISTS import_into;"] [user=root@%] [2025/04/05 23:11:25.747 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:25.747 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE import_into;"] [2025/04/05 23:11:25.753 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=2] [job="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=887.814µs] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:11:25.772 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=282] [2025/04/05 23:11:25.774 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=8.969297ms] [job="ID:393, Type:create schema, State:done, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.785 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=2] [job="ID:393, Type:create schema, State:synced, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.795 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/05 23:11:25.796 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=282] [cur_db=test_show_job] [sql="CREATE DATABASE import_into;"] [user=root@%] [2025/04/05 23:11:25.808 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:25.808 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table import_into.zero_time_table(t datetime)"] [2025/04/05 23:11:25.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=2] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.819 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: zero_time_table)"] [2025/04/05 23:11:25.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.507722ms] [gotSchemaVersion=283] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:25.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=283] [2025/04/05 23:11:25.838 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=8.803013ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:25.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.849 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=2] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:25.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:25.860 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/05 23:11:25.860 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=283] [cur_db=test_show_job] [sql="create table import_into.zero_time_table(t datetime)"] [user=root@%] [2025/04/05 23:11:25.869 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:25.916 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:25.939 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=82] [task-id=82] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:25.954 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=82] [2025/04/05 23:11:25.954 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:26.056 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:26.057 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:26.058 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=82] [curr-step=init] [next-step=import] [2025/04/05 23:11:26.065 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:26.068 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/05 23:11:26.068 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/05 23:11:26.068 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=63.434µs] [2025/04/05 23:11:26.068 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=184.521µs] [] [2025/04/05 23:11:26.068 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=82] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:26.068 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:26.102 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=82] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:26.121 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=82] [step=import] [2025/04/05 23:11:26.121 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:26.130 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:26.130 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:26.130 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:26.130 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:26.130 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:26.130 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:26.131 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:26.131 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:26.131 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:26.131 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:26.143 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:26.145 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:26.145 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=374.2GB] [2025/04/05 23:11:26.145 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=82] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:26.145 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=82] [disk-quota=348.5GiB] [2025/04/05 23:11:26.145 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:26.153 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=156] [step=import] [2025/04/05 23:11:26.153 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=82] [step=import] [subtask-id=156] [2025/04/05 23:11:26.157 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 23:11:26.160 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 23:11:26.161 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=394] [2025/04/05 23:11:26.163 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=82] [mode=Import] [2025/04/05 23:11:26.185 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=82] [2025/04/05 23:11:26.233 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [2025/04/05 23:11:26.235 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [readDur=1.010726ms] [encodeDur=591.735µs] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [deliverDur=246.524µs] [type=file] [takeTime=2.101024ms] [] [2025/04/05 23:11:26.236 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=36] [kvs=1] [files=1] [sstFileSize=934] [file=/tmp/tidb/import-4000/82/b03a8272-790c-5766-99b7-2cad67f1945e.sst/feaa5d43-d44b-4952-882a-ac8859adc6c0.sst] [firstKey=74800000000000018A5F728000000000000001] [lastKey=74800000000000018A5F728000000000000001] [2025/04/05 23:11:26.236 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/05 23:11:26.236 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/05 23:11:26.236 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 23:11:26.238 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [takeTime=1.976911ms] [] [2025/04/05 23:11:26.238 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [2025/04/05 23:11:26.242 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:11:26.264 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] ["region ranges"=1] [count=1] [size=36] [2025/04/05 23:11:26.264 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:11:26.266 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000018a5f728000000000000001] [endOfAllRanges=74800000000000018a5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff8a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff8a5f728000000000ff0000020000000000fa] [2025/04/05 23:11:26.278 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/05 23:11:26.279 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [takeTime=40.877646ms] [] [2025/04/05 23:11:26.279 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 23:11:26.280 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [takeTime=1.103346ms] [] [2025/04/05 23:11:26.280 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=82] [step=import] [engine-id=0] [2025/04/05 23:11:26.281 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 23:11:26.282 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [takeTime=1.450466ms] [] [2025/04/05 23:11:26.282 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [retryCnt=0] [2025/04/05 23:11:26.286 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 23:11:26.286 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [retryCnt=0] [takeTime=3.584166ms] [] [2025/04/05 23:11:26.286 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 23:11:26.287 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [takeTime=946.541µs] [] [2025/04/05 23:11:26.287 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=82] [step=import] [subtask-id=156] [takeTime=134.058279ms] [] [2025/04/05 23:11:26.287 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=156] [step=import] [takeTime=134.223278ms] [] [2025/04/05 23:11:26.361 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:11:26.362 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:26.363 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [2025/04/05 23:11:26.363 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:11:26.393 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 23:11:26.394 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=82] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:11:26.394 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:11:26.428 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:11:26.436 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=82] [step=import] [2025/04/05 23:11:26.439 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:26.439 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:26.439 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:26.439 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:26.439 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:26.439 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:26.439 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:26.439 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:26.439 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:26.439 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-82] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:26.439 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:26.439 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:26.441 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:26.441 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:26.441 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:26.442 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:26.442 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=296.341026ms] [] [2025/04/05 23:11:26.442 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:26.452 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=157] [step=post-process] [2025/04/05 23:11:26.452 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [2025/04/05 23:11:26.452 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [2025/04/05 23:11:26.452 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [2025/04/05 23:11:26.458 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [takeTime=6.204156ms] [] [2025/04/05 23:11:26.458 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [groupId=-1] [size=36] [kvs=1] [checksum=17635129825516565724] [2025/04/05 23:11:26.458 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/05 23:11:26.458 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [weight=30] [2025/04/05 23:11:26.458 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [concurrency=15] [2025/04/05 23:11:26.461 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=394] [physicalTableID=394] [indexID=-1] [checksum=17635129825516565724] [totalKvs=1] [totalBytes=36] [2025/04/05 23:11:26.461 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:11:26.461 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [local="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/05 23:11:26.461 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [takeTime=9.24403ms] [] [2025/04/05 23:11:26.461 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=82] [step=post-process] [subtask-id=157] [takeTime=9.381183ms] [] [2025/04/05 23:11:26.461 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [subtaskID=157] [step=post-process] [takeTime=9.553955ms] [] [2025/04/05 23:11:26.489 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:11:26.561 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=82] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:11:26.561 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=82] [step=post-process] [state=running] [] [2025/04/05 23:11:26.563 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=82] [2025/04/05 23:11:26.587 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=82] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=144.882754ms] [] [2025/04/05 23:11:26.588 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=82] [type=ImportInto] [2025/04/05 23:11:26.656 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=82] [2025/04/05 23:11:26.664 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:26.664 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=82] [2025/04/05 23:11:26.687 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:26.856 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.99314109\n# Parse_time: 0.000091705\n# Compile_time: 0.000768388\n# Rewrite_time: 0.000221135\n# Optimize_time: 0.0002455\n# Wait_TS: 0\n# DB: test_show_job\n# Is_internal: false\n# Digest: f60bcae7c8ecb0a2c7e6a9ff60da26b57eee81605f51317a44caada4faa681a8\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mm1zLCBvcGVuOjg2MW5zLCBjbG9zZTo4ODVucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5Mm1zLCBvcGVuOjg2MW5zLCBjbG9zZTo4ODVucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `import_into`.`zero_time_table` FROM 'gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:11:26.872 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:26.872 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table import_into.zero_time_table"] [2025/04/05 23:11:26.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=2] [job="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:26.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.887 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 396, Table Name: zero_time_table, Old Table ID: 394, Old Table Name: zero_time_table)"] [2025/04/05 23:11:26.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.630073ms] [gotSchemaVersion=284] [phyTblIDs="[394,396]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:11:26.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=284] [2025/04/05 23:11:26.908 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=9.514333ms] [job="ID:397, Type:truncate table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.918 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=397] [tableIDs="[394]"] [comment="truncate table: table ID"] [2025/04/05 23:11:26.923 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=397] [jobType="truncate table"] [2025/04/05 23:11:26.924 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=2] [job="ID:397, Type:truncate table, State:synced, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.941 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/05 23:11:26.942 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=284] [cur_db=test_show_job] [sql="truncate table import_into.zero_time_table"] [user=root@%] [2025/04/05 23:11:26.948 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:26.996 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:11:27.014 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=83] [task-id=83] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:11:27.028 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=83] [2025/04/05 23:11:27.028 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:11:27.131 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:11:27.133 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:11:27.134 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=83] [curr-step=init] [next-step=import] [2025/04/05 23:11:27.142 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:27.144 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/05 23:11:27.144 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/05 23:11:27.144 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=48.422µs] [2025/04/05 23:11:27.144 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=139.029µs] [] [2025/04/05 23:11:27.144 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=83] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:11:27.144 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:11:27.180 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=83] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:11:27.200 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=83] [step=import] [2025/04/05 23:11:27.200 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:11:27.208 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:27.208 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969680989578112] [2025/04/05 23:11:27.331 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:27.331 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:27.332 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:27.332 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:27.332 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:27.332 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:27.333 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:27.333 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:27.344 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=83] [mode=Import] [2025/04/05 23:11:27.348 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:11:27.349 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:11:27.350 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=374.2GB] [2025/04/05 23:11:27.350 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=83] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:11:27.350 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:11:27.350 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=83] [disk-quota=348.5GiB] [2025/04/05 23:11:27.360 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [subtaskID=158] [step=import] [2025/04/05 23:11:27.360 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=83] [step=import] [subtask-id=158] [2025/04/05 23:11:27.364 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=83] [2025/04/05 23:11:27.365 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 23:11:27.369 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 23:11:27.369 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=396] [2025/04/05 23:11:27.390 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [2025/04/05 23:11:27.391 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [takeTime=1.419974ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 23:11:27.391 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=83] [step=import] [subtask-id=158] [takeTime=30.904392ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:27.392 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [subtaskID=158] [step=import] [takeTime=31.720881ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:27.392 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:27.399 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:11:27.440 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=83] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\\\"}\"]"] [2025/04/05 23:11:27.448 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=83] [step=import] [2025/04/05 23:11:27.452 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:27.452 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:27.452 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:27.452 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:27.452 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:27.452 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:27.452 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:27.452 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:27.452 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-83] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:27.452 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:27.452 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:27.452 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:27.455 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:11:27.455 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:27.455 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:27.455 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:27.455 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=83] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=105.306288ms] [] [2025/04/05 23:11:27.455 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=83] [type=ImportInto] [2025/04/05 23:11:27.536 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=83] [step=import] [state=reverting] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [2025/04/05 23:11:27.537 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=83] [step=import] [mode=Normal] [2025/04/05 23:11:27.554 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=83] [2025/04/05 23:11:27.629 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=83] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestZeroDateTime\n\ttests/realtikvtest/importintotest/import_into_test.go:1239\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:11:27.630 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.687385801\n# Parse_time: 0.000101187\n# Compile_time: 0.000690311\n# Rewrite_time: 0.000190981\n# Optimize_time: 0.000226548\n# Wait_TS: 0\n# DB: test_show_job\n# Is_internal: false\n# Digest: f60bcae7c8ecb0a2c7e6a9ff60da26b57eee81605f51317a44caada4faa681a8\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4Ni4zbXMsIG9wZW46NjM2bnMsIGNsb3NlOjg3OW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODYuM21zLCBvcGVuOjYzNm5zLCBjbG9zZTo4NzlucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000039059\nIMPORT INTO `import_into`.`zero_time_table` FROM 'gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:11:27.630 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=83] --- PASS: TestImportInto/TestZeroDateTime (2.03s) === NAME TestImportInto [2025/04/05 23:11:27.638 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:11:27.638 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=83] [2025/04/05 23:11:27.648 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:11:27.648 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [] [2025/04/05 23:11:27.648 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:11:27.648 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.648 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:27.648 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:27.648 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=88.374µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=78.751µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=66.353µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=69.485µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=72.624µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=60.471µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=74.494µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=76.113µs] [2025/04/05 23:11:27.649 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=109.803µs] [2025/04/05 23:11:27.650 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=76.344µs] [2025/04/05 23:11:27.650 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.650 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.651 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:11:27.651 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:11:27.665 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:11:27.679 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=06028db0-0704-478a-b042-d4b90f634ca9] ["take time"=30.783197ms] [2025/04/05 23:11:27.679 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.679 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:11:27.679 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/4374fd63-212c-47f8-bacc-792848df66b0] [watcherID=72458a98-d0da-4003-a102-5c53e208f086] [2025/04/05 23:11:27.679 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:11:27.679 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4374fd63-212c-47f8-bacc-792848df66b0] [2025/04/05 23:11:27.679 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [ttl-worker=task-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [originalCount=4] [newCount=0] [2025/04/05 23:11:27.679 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:27.679 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:27.679 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:27.679 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:27.679 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [ttl-worker=task-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [originalCount=4] [newCount=0] [2025/04/05 23:11:27.683 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:27.683 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:27.683 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:27.683 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:27.685 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.685 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:11:27.686 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=238] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:11:27.687 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [] [2025/04/05 23:11:27.687 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.688 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [] [2025/04/05 23:11:27.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:11:27.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:11:27.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:27.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.687 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.688 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.687 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:11:27.687 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [2025/04/05 23:11:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:27.688 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:11:27.688 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.688 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:27.688 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:11:27.688 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:11:27.688 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.688 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:11:27.688 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.688 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:27.690 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:11:27.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:27.690 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:11:27.690 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2f7c197d-f7b2-40c3-9c37-bbfc33c0dcce] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:27.690 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:11:27.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:27.690 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [] [2025/04/05 23:11:27.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:27.690 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:11:27.690 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 23:11:27.690 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.690 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:11:27.690 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:11:27.690 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:27.690 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [2025/04/05 23:11:27.690 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [error="context canceled"] [2025/04/05 23:11:27.690 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=06028db0-0704-478a-b042-d4b90f634ca9] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:27.691 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:11:27.692 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:27.748 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:11:27.748 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:27.761 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=112.770119ms] [2025/04/05 23:11:27.763 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:27.763 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:27.764 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:27.764 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:27.764 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:27.764 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:27.764 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:27.764 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:27.764 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:27.764 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:27.764 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:27.764 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:27.765 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (117.87s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest:importintotest_test up-to-date: bazel-bin/tests/realtikvtest/importintotest/importintotest_test_/importintotest_test INFO: Elapsed time: 29.814s, Critical Path: 13.64s INFO: 4748 processes: 4735 remote cache hit, 13 internal. INFO: Build completed successfully, 4748 total actions //tests/realtikvtest/importintotest:importintotest_test (cached) PASSED in 122.1s PASSED importintotest_test.TestImportInto (117.9s) PASSED importintotest_test.TestImportInto/TestAddIndexBySQL (0.0s) PASSED importintotest_test.TestImportInto/TestAnalyze (0.0s) PASSED importintotest_test.TestImportInto/TestBadCases (1.6s) PASSED importintotest_test.TestImportInto/TestBasicImportInto (17.5s) PASSED importintotest_test.TestImportInto/TestCancelJob (4.5s) PASSED importintotest_test.TestImportInto/TestChecksumNotMatch (3.6s) PASSED importintotest_test.TestImportInto/TestColumnsAndUserVars (1.3s) PASSED importintotest_test.TestImportInto/TestDeliverBytesRows (2.0s) PASSED importintotest_test.TestImportInto/TestDetachedLoadParquet (2.1s) PASSED importintotest_test.TestImportInto/TestDiskQuota (1.5s) PASSED importintotest_test.TestImportInto/TestGBK (3.4s) PASSED importintotest_test.TestImportInto/TestGeneratedColumnsAndTSVFile (5.2s) PASSED importintotest_test.TestImportInto/TestIgnoreNLines (3.1s) PASSED importintotest_test.TestImportInto/TestImportIntoPrivilegePositiveCase (3.3s) PASSED importintotest_test.TestImportInto/TestImportIntoWithFK (1.3s) PASSED importintotest_test.TestImportInto/TestImportMode (12.6s) PASSED importintotest_test.TestImportInto/TestInputCountMisMatchAndDefault (3.4s) PASSED importintotest_test.TestImportInto/TestInputNull (2.3s) PASSED importintotest_test.TestImportInto/TestJobFailWhenDispatchSubtask (0.8s) PASSED importintotest_test.TestImportInto/TestKillBeforeFinish (1.8s) PASSED importintotest_test.TestImportInto/TestLoadSQLDump (2.1s) PASSED importintotest_test.TestImportInto/TestMaxWriteSpeed (11.5s) PASSED importintotest_test.TestImportInto/TestMultiValueIndex (1.3s) PASSED importintotest_test.TestImportInto/TestOtherCharset (5.7s) PASSED importintotest_test.TestImportInto/TestPreCheckCDCPiTRTasks (1.7s) PASSED importintotest_test.TestImportInto/TestPreCheckTableNotEmpty (0.3s) PASSED importintotest_test.TestImportInto/TestPreCheckTotalFileSize0 (0.3s) PASSED importintotest_test.TestImportInto/TestRegisterTask (6.0s) PASSED importintotest_test.TestImportInto/TestSameBehaviourDetachedOrNot (4.1s) PASSED importintotest_test.TestImportInto/TestShowDetachedJob (3.0s) PASSED importintotest_test.TestImportInto/TestShowJob (3.6s) PASSED importintotest_test.TestImportInto/TestZeroDateTime (2.0s) Test cases: finished with 33 passing and 0 failing out of 33 test cases Executed 0 out of 1 test: 1 test passes.  [Pipeline] } No test report files were found. Configuration error? [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // dir [Pipeline] // dir Post stage [Pipeline] } [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; Downloading tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test, 206.8 MiB / 227.3 MiB; 1s remote-cache [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // withCredentials [Pipeline] } [Pipeline] junit Recording test results [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; Downloading tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test, 200.1 MiB / 227.2 MiB; 1s remote-cache [Pipeline] } [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; Downloading tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test, 98.5 MiB / 227.3 MiB; 0s remote-cache [Pipeline] // withEnv [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // podTemplate [Pipeline] // dir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 1s remote-cache [Pipeline] sh INFO: From Testing //tests/realtikvtest/importintotest4:importintotest4_test: ==================== Test output for //tests/realtikvtest/importintotest4:importintotest4_test: === RUN TestImportInto [2025/04/05 23:09:21.829 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:21.830 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:21.830 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:21.831 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:21.831 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:21.831 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:21.832 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:21.832 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:21.832 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:21.832 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:21.832 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:21.837 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:21.844 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:21.844 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:21.845 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:21.867 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.867 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.872 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.872 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.884 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.905 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969679450808878] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:21.927 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:21.967 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=845] ["lease id"=2231960835b4c9e4] [2025/04/05 23:09:21.970 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:21.976 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest4/main_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest4/importintotest4_test.TestImportInto\n\ttests/realtikvtest/importintotest4/main_test.go:49\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:22.080 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.589394ms] [2025/04/05 23:09:22.080 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:22.081 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:09:22.081 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0c6a1870-2117-43d1-995c-0a301378de22] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:22.082 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:22.084 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:22.085 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:22.085 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 265577455616/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:22.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:22.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:22.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:22.086 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:22.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:22.086 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:22.086 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [2025/04/05 23:09:22.088 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b4c9e9] [ownerID=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:22.088 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:22.088 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [ownerKey=/tidb/ddl/fg/owner/2231960835b4c9e9] [currRev=92] [2025/04/05 23:09:22.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:22.089 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:22.089 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:22.090 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b4cce4] [ownerID=c5323bff-2b31-4de1-93d7-7d71675881cd] [op=none] [2025/04/05 23:09:22.090 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [2025/04/05 23:09:22.090 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [ownerKey=/tidb/br-stream/owner/6f18960835b4cce4] [currRev=93] [2025/04/05 23:09:22.090 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b4c9e9] [ownerID=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:22.090 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:22.090 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:22.093 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:22.109 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:09:22.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.109 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:09:22.115 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.256 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.140721ms] [2025/04/05 23:09:22.256 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:22.262 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.262 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:09:22.264 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=134.678172ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.278 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.294 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:09:22.294 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:09:22.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:09:22.299 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/05 23:09:22.326 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.326 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.639179ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.395 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.395 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:09:22.397 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=14.89734ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.416 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.449 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:09:22.449 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.464 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.464 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:09:22.470 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.491 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.142007ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.495 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.495 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:09:22.497 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.637089ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.508 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:09:22.522 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:09:22.537 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.537 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:09:22.543 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.562 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.87825ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.565 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.565 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:09:22.567 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.508995ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.578 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.592 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:09:22.592 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:09:22.617 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.617 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.624 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.660 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.663759ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.664 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:09:22.666 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.894815ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.680 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.703 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:09:22.703 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.719 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.719 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.726 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.859805ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.755 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:09:22.756 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=10.037638ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.783 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:09:22.784 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.799 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.799 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.805 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.829 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.69582ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.833 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.833 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:09:22.834 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.771309ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.846 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.861 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:09:22.861 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.875 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.875 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:22.880 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.723635ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.903 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:09:22.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.564564ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.927 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:09:22.928 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:09:22.941 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.941 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:22.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.965 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.706138ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.968 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:09:22.970 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=8.199885ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.980 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.992 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:09:22.992 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:09:23.007 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.007 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:09:23.013 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.036 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.251688ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.039 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.039 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:09:23.041 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=9.016027ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.052 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.066 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:09:23.066 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:09:23.081 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.081 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.087 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.087 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:23.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.312142ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.112 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:09:23.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=9.266433ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.125 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:09:23.140 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:09:23.142 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:23.158 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.158 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.165 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.193 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.24523ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.196 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:09:23.198 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=10.363047ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.211 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.228 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:09:23.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:09:23.245 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.245 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.251 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.276 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.725434ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.279 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.279 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:09:23.281 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.560014ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.293 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:09:23.309 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:09:23.326 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.326 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.170336ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.360 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:09:23.362 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.369615ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.387 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:09:23.387 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:23.402 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.402 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.407 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.428 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.116626ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.432 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:09:23.434 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=8.938845ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.445 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.458 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:09:23.459 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:23.472 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.472 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.478 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.498 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.081699ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.502 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.502 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:09:23.503 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.778225ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.514 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.527 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:09:23.527 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:23.542 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.542 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.546 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.080677ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.571 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:09:23.572 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.997289ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.583 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:09:23.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:09:23.612 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.612 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:09:23.618 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.639 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.199153ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.643 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:09:23.645 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=9.312322ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.656 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.669 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:09:23.669 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:09:23.687 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.687 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:23.693 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.720 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.162583ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.723 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.723 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:09:23.725 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.829467ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.737 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.754 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:09:23.754 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:23.776 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.776 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.174471ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.806 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.806 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:09:23.807 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.738196ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.818 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:09:23.832 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:09:23.837 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:23.846 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.846 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.851 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.838827ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.873 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:09:23.875 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.635809ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.898 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:09:23.898 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:09:23.911 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.911 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:09:23.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.933 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.408081ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.936 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.936 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:09:23.938 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=7.974929ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.948 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.959 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:09:23.959 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:09:23.975 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.975 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.980 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.621785ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.007 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:09:24.008 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=8.983909ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.019 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:09:24.034 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:09:24.049 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.049 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.054 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.074 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.028821ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.078 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.078 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:09:24.079 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.869375ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.085 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:24.086 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 23:09:24.091 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.104 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:09:24.104 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:24.122 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.122 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:09:24.128 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.022118ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.153 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:09:24.154 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=8.794779ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.165 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:09:24.179 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:09:24.193 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.911921ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.221 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:09:24.223 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=9.00904ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:09:24.247 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:09:24.261 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.261 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.266 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.075133ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.289 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:09:24.291 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.875583ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.302 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.315 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:09:24.315 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:24.330 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.330 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.335 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.834706ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.358 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:09:24.359 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.569131ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.370 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.384 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:09:24.384 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:09:24.386 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:24.400 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.400 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.405 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.427 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.296822ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.430 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:09:24.432 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.810216ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.443 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:09:24.458 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:24.473 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.473 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.479 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.501 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.52077ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.505 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.505 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:09:24.507 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.506274ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.518 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.532 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:09:24.533 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:24.547 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.547 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.489844ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.579 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:09:24.581 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=9.044544ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.592 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:09:24.608 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:24.626 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:09:24.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.468708ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.664 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:09:24.666 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.180999ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.695 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:09:24.696 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:09:24.708 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.708 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:09:24.714 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.731 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.666803ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.735 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:09:24.736 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.664323ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.747 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.759 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:09:24.759 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:09:24.777 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.777 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:09:24.783 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.808 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.343221ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:24.811 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.811 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:09:24.812 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=9.132254ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.824 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:09:24.855 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:09:24.860 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.250575ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.885 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:09:24.887 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=9.091906ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.898 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.913 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:09:24.913 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:09:24.927 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.927 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:24.933 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.869638ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.960 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.960 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:09:24.962 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.90178ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.973 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.985 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:09:24.985 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:09:24.999 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.999 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:25.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.022 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.735193ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.025 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:09:25.027 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.079919ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.049 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:09:25.049 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:09:25.067 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.067 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:25.073 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.636464ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.107 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:09:25.108 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.497171ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.138 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:09:25.139 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:09:25.156 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.156 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:25.161 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.099397ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.191 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.191 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:09:25.192 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=9.669152ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.204 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.220 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:09:25.220 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:09:25.237 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.237 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:25.243 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.414916ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.275 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:09:25.276 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=9.403738ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.288 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:09:25.306 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:09:25.325 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.325 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:25.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.683223ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.365 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:09:25.367 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.357419ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.380 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.398 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:09:25.399 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:25.417 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.417 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:25.423 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=4.213473ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.458 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:09:25.460 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=11.362173ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.472 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:09:25.491 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:25.508 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.508 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:25.514 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.258326ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.545 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:09:25.547 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=9.693273ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:09:25.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:09:25.593 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.593 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:09:25.601 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.961313ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.630 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:09:25.632 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=9.880325ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.644 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:09:25.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:09:25.676 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.676 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:25.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.682873ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.710 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:09:25.712 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.29438ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.724 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.739 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:09:25.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:25.764 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.764 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:09:25.770 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.802475ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.805 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:09:25.806 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=10.145076ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.820 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.840 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:09:25.840 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:09:25.857 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.857 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:25.862 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.886 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.706772ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.889 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.889 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:09:25.891 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.585688ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.903 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:09:25.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:25.932 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:09:25.932 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.866851ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.961 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:09:25.962 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.934554ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.973 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.986 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:09:25.986 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:09:26.000 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.000 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:26.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.026 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.062083ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.029 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:09:26.031 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.240993ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.040 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:09:26.054 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:09:26.055 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:26.068 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.068 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:09:26.073 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.093 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:26.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:26.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:26.093 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:26.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.239783ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.098 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:09:26.099 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=9.901444ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.110 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.123 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:09:26.123 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:09:26.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:09:26.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=572.718µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:26.156 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:09:26.160 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=9.400119ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.169 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:09:26.178 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:09:26.192 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.192 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:09:26.196 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.215 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.592837ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:26.218 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.218 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:09:26.220 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.058875ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.230 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.243 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:09:26.260 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.260 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:09:26.266 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.007384ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.295 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:09:26.297 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.70249ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.309 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.326 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:09:26.326 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:09:26.340 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.340 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:09:26.345 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.054998ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.369 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:09:26.371 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=8.199801ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.382 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.395 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:09:26.395 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:09:26.410 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.410 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:09:26.415 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.437 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.230042ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.440 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.440 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:09:26.441 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.341227ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.453 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:09:26.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:09:26.620 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.531411133s] [2025/04/05 23:09:26.623 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [] [2025/04/05 23:09:26.623 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:26.623 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.623 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:26.623 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:26.623 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:26.623 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=54.988µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=51.928µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=44.07µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=37.762µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=33.852µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=33.046µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=29.838µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=29.82µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=30.248µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=43.039µs] [2025/04/05 23:09:26.624 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.624 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.626 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:26.626 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:26.635 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0c6a1870-2117-43d1-995c-0a301378de22] ["take time"=12.186123ms] [2025/04/05 23:09:26.635 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.636 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=845] [2025/04/05 23:09:26.636 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [] [2025/04/05 23:09:26.636 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:26.636 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:26.636 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:26.637 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:26.637 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:26.637 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [2025/04/05 23:09:26.637 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:26.637 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [2025/04/05 23:09:26.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:26.639 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:26.639 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:26.639 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:26.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:26.639 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c5323bff-2b31-4de1-93d7-7d71675881cd] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:26.639 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:26.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:26.643 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=20.050375ms] [2025/04/05 23:09:26.643 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969679450808878] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:26.653 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:26.691 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1567] ["lease id"=3eaa960835b4cbcd] [2025/04/05 23:09:26.693 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:26.810 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.876958ms] [2025/04/05 23:09:26.810 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:26.818 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0c6a1870-2117-43d1-995c-0a301378de22] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:26.819 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:26.821 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [lease=2231960835b4c9e9] [2025/04/05 23:09:26.821 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:26.821 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 265577508864/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:26.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:26.822 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:26.822 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:26.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:26.822 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.822 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [2025/04/05 23:09:26.823 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b4c9e9] [ownerID=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:26.823 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.823 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [ownerKey=/tidb/ddl/fg/owner/2231960835b4c9e9] [currRev=272] [2025/04/05 23:09:26.824 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:26.824 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.825 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:26.825 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b4c9e9] [ownerID=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:26.825 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:26.825 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:26.826 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835b4ca5c] [ownerID=2affc3a6-5600-4262-b261-3907aa5df7ab] [op=none] [2025/04/05 23:09:26.826 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [2025/04/05 23:09:26.826 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [ownerKey=/tidb/br-stream/owner/2231960835b4ca5c] [currRev=273] [2025/04/05 23:09:26.832 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:26.834 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:26.836 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa960835b4cbd6] [ownerID=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:26.836 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.836 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [ownerKey=/tidb/bindinfo/owner/3eaa960835b4cbd6] [currRev=274] [2025/04/05 23:09:26.842 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:09:26.845 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:26.845 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:26.851 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:26.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:26.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:26.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:26.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:26.859 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:26.859 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:26.859 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:26.859 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:26.859 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:26.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:26.860 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:26.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:26.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:26.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:26.862 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:26.862 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:26.862 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:26.862 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:26.864 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 23:09:26.864 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b4ca61] [ownerID=0c6a1870-2117-43d1-995c-0a301378de22] [op=none] [2025/04/05 23:09:26.864 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.864 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [ownerKey=/tidb/stats/owner/2231960835b4ca61] [currRev=275] [2025/04/05 23:09:26.866 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a730e3cb-3174-4596-b1df-2ebf52e1849d] [2025/04/05 23:09:26.867 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [ttl-worker=task-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [originalCount=0] [newCount=4] [2025/04/05 23:09:26.867 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [ttl-worker=task-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [originalCount=0] [newCount=4] [2025/04/05 23:09:26.867 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:26.868 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:26.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:26.875 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:26.876 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894566876405216 [2025/04/05 23:09:26.877 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:26.884 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.375064ms] [2025/04/05 23:09:26.884 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:26.884 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:26.895 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894566897200994 === RUN TestImportInto/TestGlobalSortBasic [2025/04/05 23:09:26.901 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gsort_basic"] [user=] [2025/04/05 23:09:26.914 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.914 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gsort_basic"] [2025/04/05 23:09:26.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=666.207µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:26.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:09:26.940 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.043981ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.952 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.967 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:09:26.967 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gsort_basic"] [user=] [2025/04/05 23:09:26.983 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [2025/04/05 23:09:26.983 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.989 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.995 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/05 23:09:27.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=2.108577ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 23:09:27.021 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=8.823661ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.033 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.047 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 23:09:27.047 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gsort_basic] [sql="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [user=] [2025/04/05 23:09:27.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:27.264 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:27.284 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:27.314 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:27.346 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/05 23:09:27.834 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:27.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:27.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:27.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:27.866 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:27.866 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:27.867 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a730e3cb-3174-4596-b1df-2ebf52e1849d] [watcherID=7bed319e-f712-470e-8bc9-c4dd9c2da707] [2025/04/05 23:09:27.876 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:27.880 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:27.880 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:27.880 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:27.880 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:27.897 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:27.897 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:27.999 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 23:09:28.001 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:28.003 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [2025/04/05 23:09:28.012 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.013 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.016 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:28.016 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:28.016 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=99.884µs] [2025/04/05 23:09:28.016 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=201.685µs] [] [2025/04/05 23:09:28.016 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.017 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.024 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/05 23:09:28.024 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/05 23:09:28.069 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:28.090 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/05 23:09:28.090 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.091 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.092 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/05 23:09:28.099 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.099 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:28.099 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.099 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.100 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.100 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.100 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.100 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.100 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.100 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.113 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 23:09:28.115 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:28.117 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:28.117 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:28.117 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:28.117 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:28.125 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [2025/04/05 23:09:28.125 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9b013ba3-1922-4e2f-90fa-64918b1d5766] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5aafc805-31f2-46b0-a0a5-57befe91e7af] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/850a7409-df00-439f-bc4c-6d69852e4cdd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.128 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fb8d2906-2b96-484a-9b6b-2ab6afd36325] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e411478f-ca63-4cb0-8146-38344e93fe62] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/06ec1081-5631-4897-bb00-f825042eadc8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1187f416-6fb1-4c23-9a1f-490634b16937] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.130 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [2025/04/05 23:09:28.132 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [readDur=970.914µs] [encodeDur=278.603µs] [checksum="{cksum=5544494089301268680,size=556,kvs=12}"] [deliverDur=602.3µs] [type=file] [takeTime=2.250281ms] [] [2025/04/05 23:09:28.136 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.809685ms] [write-speed(bytes/s)=45.88KiB] [2025/04/05 23:09:28.137 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.801µs] [write-time=3.947582ms] [sort-speed(kv/s)=789265.9826] [writer-id=data/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [2025/04/05 23:09:28.137 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000001] [maxKey=7480000000000000725f728000000000000003] [2025/04/05 23:09:28.141 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.860384ms] [write-speed(bytes/s)=40.98KiB] [2025/04/05 23:09:28.141 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.489µs] [write-time=3.973303ms] [sort-speed(kv/s)=859845.2279] [writer-id=index/1/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [2025/04/05 23:09:28.141 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000725f698000000000000001038000000000000003038000000000000003] [2025/04/05 23:09:28.161 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=19.773999ms] [write-speed(bytes/s)=12.1KiB] [2025/04/05 23:09:28.161 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=2.772µs] [write-time=19.881564ms] [sort-speed(kv/s)=1082251.0823] [writer-id=index/2/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [2025/04/05 23:09:28.161 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/05 23:09:28.169 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=8.057864ms] [write-speed(bytes/s)=19.63KiB] [2025/04/05 23:09:28.169 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=5.345µs] [write-time=8.189065ms] [sort-speed(kv/s)=561272.2170] [writer-id=index/3/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [2025/04/05 23:09:28.169 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/f14758ad-c4f0-415b-a4f8-d4c46abd8530] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000003038000000000000315038000000000000003] [2025/04/05 23:09:28.170 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=0] [2025/04/05 23:09:28.172 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [takeTime=46.609778ms] [] [2025/04/05 23:09:28.172 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [takeTime=46.792118ms] [] [2025/04/05 23:09:28.195 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [2025/04/05 23:09:28.195 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d3ba6b38-a26f-42c8-91e6-5defbb1499cc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2c3208c1-2d89-4964-9d83-9ffac9227472] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.197 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ffcf10d6-d914-4cfc-8fbd-bcdd1cfce104] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ef70a6f6-97d7-4f02-8702-eaaa5c6fd701] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e0c12124-9d01-4f7e-896b-915d88ad2d3e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9f6db26f-ed6c-4bd6-959d-dafc9a4bd7aa] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.197 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/899a6677-b90c-4b0a-80be-5f2aba54e40b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:28.199 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [2025/04/05 23:09:28.240 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [readDur=850.595µs] [encodeDur=337.884µs] [checksum="{cksum=17440827801518230997,size=556,kvs=12}"] [deliverDur=38.890862ms] [type=file] [takeTime=40.33384ms] [] [2025/04/05 23:09:28.259 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=19.353424ms] [write-speed(bytes/s)=9.032KiB] [2025/04/05 23:09:28.259 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.314µs] [write-time=19.468928ms] [sort-speed(kv/s)=695410.2921] [writer-id=data/47126145-3289-48c0-aab2-dbb27243b33e] [2025/04/05 23:09:28.260 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/47126145-3289-48c0-aab2-dbb27243b33e] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000004] [maxKey=7480000000000000725f728000000000000006] [2025/04/05 23:09:28.271 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=11.69736ms] [write-speed(bytes/s)=13.52KiB] [2025/04/05 23:09:28.271 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.954µs] [write-time=11.815242ms] [sort-speed(kv/s)=758725.3414] [writer-id=index/1/47126145-3289-48c0-aab2-dbb27243b33e] [2025/04/05 23:09:28.272 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/47126145-3289-48c0-aab2-dbb27243b33e] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000725f698000000000000001038000000000000006038000000000000006] [2025/04/05 23:09:28.275 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.639979ms] [write-speed(bytes/s)=65.73KiB] [2025/04/05 23:09:28.275 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.763µs] [write-time=3.760191ms] [sort-speed(kv/s)=797236.2477] [writer-id=index/2/47126145-3289-48c0-aab2-dbb27243b33e] [2025/04/05 23:09:28.275 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/47126145-3289-48c0-aab2-dbb27243b33e] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/05 23:09:28.279 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.562268ms] [write-speed(bytes/s)=44.41KiB] [2025/04/05 23:09:28.279 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/47126145-3289-48c0-aab2-dbb27243b33e] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=5.125µs] [write-time=3.680184ms] [sort-speed(kv/s)=585365.8537] [writer-id=index/3/47126145-3289-48c0-aab2-dbb27243b33e] [2025/04/05 23:09:28.279 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/47126145-3289-48c0-aab2-dbb27243b33e] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000003038000000000000143038000000000000006] [2025/04/05 23:09:28.279 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=1] [2025/04/05 23:09:28.282 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [takeTime=86.424522ms] [] [2025/04/05 23:09:28.282 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [takeTime=86.58712ms] [] [2025/04/05 23:09:28.304 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 23:09:28.306 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:28.307 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [2025/04/05 23:09:28.314 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.315 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.319 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=1] [2025/04/05 23:09:28.319 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=data] [2025/04/05 23:09:28.319 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=2] [2025/04/05 23:09:28.319 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=3] [2025/04/05 23:09:28.320 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.321 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.323 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 23:09:28.323 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 23:09:28.404 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:28.406 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:28.407 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:28.423 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:28.424 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/05 23:09:28.425 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.425 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.425 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.425 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.425 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.425 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.425 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.425 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.425 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.425 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.425 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.425 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.425 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.426 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.427 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:28.427 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.427 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.427 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.427 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=310.045107ms] [] [2025/04/05 23:09:28.427 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:28.434 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:28.434 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.435 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:28.435 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.435 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.436 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.436 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.436 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.436 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.436 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.436 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.440 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.440 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.441 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.441 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.441 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.441 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.441 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.441 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.441 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.441 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.441 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.441 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.442 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:28.442 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:28.445 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f728000000000000001] [endKey=7480000000000000725f72800000000000000600] [dataFiles=2] [2025/04/05 23:09:28.445 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:28.448 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:28.448 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.449 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:28.450 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.450 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.450 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.450 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.450 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.450 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.451 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.451 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.454 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.454 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.454 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.454 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.454 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.454 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.454 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.454 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.454 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.454 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.454 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.454 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.455 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:28.455 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:28.459 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [dataFiles=2] [2025/04/05 23:09:28.459 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:28.461 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:28.462 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.463 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:28.463 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.463 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.463 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.463 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.463 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.463 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.464 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.464 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.469 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.469 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.469 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.469 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.469 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.469 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.469 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.469 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.469 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.469 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.469 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.469 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.470 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:28.470 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:28.473 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=2] [2025/04/05 23:09:28.473 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:28.476 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:28.476 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.477 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:28.478 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.478 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.478 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.478 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.478 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.478 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.479 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.479 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.482 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.482 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.482 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.482 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.482 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.482 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.482 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.482 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.483 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.482 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.483 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.483 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.484 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:28.484 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:28.487 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [dataFiles=2] [2025/04/05 23:09:28.487 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:28.487 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.488 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.500 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/05 23:09:28.500 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/05 23:09:28.538 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:28.559 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.560 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.567 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.567 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:28.568 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.568 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.568 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.568 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.568 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.568 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.568 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.569 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.580 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:28.582 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:28.582 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:28.582 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:28.589 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [2025/04/05 23:09:28.591 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=data] [2025/04/05 23:09:28.591 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.592 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:28.596 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F728000000000000001] [endKey=7480000000000000725F72800000000000000600] [len(keys)=2] [] [2025/04/05 23:09:28.596 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:28.618 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:28.618 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:28.618 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:28.619 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F728000000000FF0000010000000000FA] [end=7480000000000000FF725F728000000000FF0000060000000000FC] [2025/04/05 23:09:28.619 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.717µs] [2025/04/05 23:09:28.619 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=941.038µs] [] [2025/04/05 23:09:28.619 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:28.619 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:28.619 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f728000000000000001] [end-key=7480000000000000725f72800000000000000600] [2025/04/05 23:09:28.619 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:28.623 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.831969ms] [] [2025/04/05 23:09:28.623 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:28.643 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.644 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=24.816575ms] [] [2025/04/05 23:09:28.644 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:28.644 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=24.985712ms] [droppedSize=0] [2025/04/05 23:09:28.644 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=12.865µs] [2025/04/05 23:09:28.645 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 23:09:28.664 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/05 23:09:28.666 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=data] [takeTime=74.856226ms] [] [2025/04/05 23:09:28.666 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [takeTime=76.553258ms] [] [2025/04/05 23:09:28.691 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [2025/04/05 23:09:28.693 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=1] [2025/04/05 23:09:28.693 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.694 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:28.697 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/05 23:09:28.698 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:28.720 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:28.720 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:28.720 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:28.721 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/05 23:09:28.721 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.303µs] [2025/04/05 23:09:28.721 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=823.84µs] [] [2025/04/05 23:09:28.721 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:28.721 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:28.721 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [2025/04/05 23:09:28.721 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:28.726 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=4.496307ms] [] [2025/04/05 23:09:28.726 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:28.730 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.731 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.733007ms] [] [2025/04/05 23:09:28.731 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:28.731 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.882242ms] [droppedSize=0] [2025/04/05 23:09:28.731 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.867µs] [2025/04/05 23:09:28.731 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/05 23:09:28.745 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/05 23:09:28.746 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=1] [takeTime=53.60677ms] [] [2025/04/05 23:09:28.747 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [takeTime=55.500224ms] [] [2025/04/05 23:09:28.770 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [2025/04/05 23:09:28.772 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=2] [2025/04/05 23:09:28.772 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.772 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:28.776 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000725F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/05 23:09:28.776 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:28.798 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:28.799 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:28.799 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:28.799 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF725F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/05 23:09:28.799 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.21µs] [2025/04/05 23:09:28.799 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=665.547µs] [] [2025/04/05 23:09:28.799 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:28.799 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:28.800 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/05 23:09:28.800 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:28.804 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=4.063688ms] [] [2025/04/05 23:09:28.804 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:28.808 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.808 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.739283ms] [] [2025/04/05 23:09:28.808 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:28.808 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.932265ms] [droppedSize=0] [2025/04/05 23:09:28.808 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.241µs] [2025/04/05 23:09:28.809 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/05 23:09:28.821 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:28.827 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/05 23:09:28.829 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=2] [takeTime=57.079342ms] [] [2025/04/05 23:09:28.829 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [takeTime=58.811581ms] [] [2025/04/05 23:09:28.853 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [2025/04/05 23:09:28.855 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=3] [2025/04/05 23:09:28.855 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.856 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:28.860 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000725F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/05 23:09:28.860 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:28.882 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:28.882 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:28.882 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:28.883 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/05 23:09:28.883 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=5.566µs] [2025/04/05 23:09:28.883 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=856.014µs] [] [2025/04/05 23:09:28.883 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:28.883 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:28.883 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [2025/04/05 23:09:28.883 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:28.887 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=4.172108ms] [] [2025/04/05 23:09:28.887 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:28.891 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.893 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.557157ms] [] [2025/04/05 23:09:28.893 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:28.893 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.764315ms] [droppedSize=0] [2025/04/05 23:09:28.893 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.91µs] [2025/04/05 23:09:28.893 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/05 23:09:28.911 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/05 23:09:28.913 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=3] [takeTime=57.688876ms] [] [2025/04/05 23:09:28.913 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [takeTime=59.540915ms] [] [2025/04/05 23:09:29.004 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/05 23:09:29.006 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:29.008 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [2025/04/05 23:09:29.032 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:29.034 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:29.034 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:29.064 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:29.064 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=ingest] [2025/04/05 23:09:29.070 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:29.070 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:29.070 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:29.070 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:29.070 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:29.070 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:29.070 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:29.070 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.070 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:29.071 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.071 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.071 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:29.073 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:29.073 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.073 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.073 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.073 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=490.833045ms] [] [2025/04/05 23:09:29.073 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:29.078 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:29.100 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:29.107 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/05 23:09:29.107 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/05 23:09:29.108 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/05 23:09:29.108 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/05 23:09:29.108 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=2.127µs] [] [2025/04/05 23:09:29.108 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/05 23:09:29.108 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/05 23:09:29.108 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/05 23:09:29.108 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/05 23:09:29.108 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 23:09:29.108 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [weight=30] [2025/04/05 23:09:29.108 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/05 23:09:29.115 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/05 23:09:29.115 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/05 23:09:29.116 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/05 23:09:29.116 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/05 23:09:29.117 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:29.117 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 23:09:29.117 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=9.554869ms] [] [2025/04/05 23:09:29.117 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=9.745644ms] [] [2025/04/05 23:09:29.117 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [takeTime=9.9633ms] [] [2025/04/05 23:09:29.128 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:29.205 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:29.205 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/05 23:09:29.209 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 23:09:29.240 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=139.833494ms] [] [2025/04/05 23:09:29.240 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:29.299 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:29.305 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:29.305 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:29.307 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=1] [2025/04/05 23:09:29.308 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.309 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.362 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=1] [takeTime=54.146935ms] [] [2025/04/05 23:09:29.398 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:29.468 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.420173229\n# Parse_time: 0.000278832\n# Compile_time: 0.000940464\n# Rewrite_time: 0.000417383\n# Optimize_time: 0.000082357\n# Wait_TS: 0\n# DB: gsort_basic\n# Is_internal: false\n# Digest: dcf8af96db101b84bfb69d82045422744d4cb1a710b3b2c4091b7b49f93687ed\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjIuNDJzLCBvcGVuOjgyNG5zLCBjbG9zZToxLjUxwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjIuNDJzLCBvcGVuOjgyNG5zLCBjbG9zZToxLjUxwrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gsort_basic;\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb';"] [2025/04/05 23:09:29.499 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:09:29.499 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.505 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.514 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/05 23:09:29.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=2.323356ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:29.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/05 23:09:29.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=9.58228ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.551 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/05 23:09:29.561 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/05 23:09:29.562 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 23:09:29.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/05 23:09:29.592 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.592 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.607 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.640 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__force_merge_step\":null,\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:29.662 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/05 23:09:29.678 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:29.678 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:29.780 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 23:09:29.783 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:29.786 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [2025/04/05 23:09:29.796 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.797 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.799 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:29.799 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:29.799 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=65.458µs] [2025/04/05 23:09:29.800 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=188.297µs] [] [2025/04/05 23:09:29.800 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.801 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.807 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/05 23:09:29.807 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/05 23:09:29.851 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:29.865 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 23:09:29.865 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:09:29.874 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/05 23:09:29.874 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.875 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.884 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:29.885 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:29.885 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:29.885 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:29.885 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:29.885 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:29.885 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:29.885 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:29.886 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:29.886 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:29.895 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 23:09:29.900 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:29.901 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:29.901 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:29.902 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:29.902 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:29.910 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [2025/04/05 23:09:29.910 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/df786248-e019-4321-9a5b-41b5c05b0544] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/64ca41c7-b534-4116-af02-27ccafa7a3cf] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2357cea0-bcab-4eb6-89fe-996e1208fc00] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d2b88c42-401f-425d-8f48-8ec31bf8eb8a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.913 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4a27092c-2da7-444c-a234-fbca6ebb35df] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9221c903-fb21-490e-be11-b5a2d37cf2cc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b07250c2-f015-49e7-b0cb-e26db13d1fd4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.915 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [2025/04/05 23:09:29.917 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [readDur=745.704µs] [encodeDur=318.276µs] [checksum="{cksum=3408228459156692313,size=556,kvs=12}"] [deliverDur=581.121µs] [type=file] [takeTime=1.938558ms] [] [2025/04/05 23:09:29.921 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.587066ms] [write-speed(bytes/s)=48.73KiB] [2025/04/05 23:09:29.921 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.216µs] [write-time=3.68783ms] [sort-speed(kv/s)=932835.8209] [writer-id=data/7b2e7954-ce83-4a4b-943d-8adebac5962d] [2025/04/05 23:09:29.921 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7b2e7954-ce83-4a4b-943d-8adebac5962d] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000001] [maxKey=7480000000000000745f728000000000000003] [2025/04/05 23:09:29.925 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.621781ms] [write-speed(bytes/s)=43.68KiB] [2025/04/05 23:09:29.925 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.487µs] [write-time=3.756796ms] [sort-speed(kv/s)=1206272.6176] [writer-id=index/1/7b2e7954-ce83-4a4b-943d-8adebac5962d] [2025/04/05 23:09:29.925 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/7b2e7954-ce83-4a4b-943d-8adebac5962d] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000745f698000000000000001038000000000000003038000000000000003] [2025/04/05 23:09:29.928 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.55762ms] [write-speed(bytes/s)=67.25KiB] [2025/04/05 23:09:29.929 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=4.684µs] [write-time=3.671714ms] [sort-speed(kv/s)=640478.2237] [writer-id=index/2/7b2e7954-ce83-4a4b-943d-8adebac5962d] [2025/04/05 23:09:29.929 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/7b2e7954-ce83-4a4b-943d-8adebac5962d] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/05 23:09:29.932 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.701ms] [write-speed(bytes/s)=42.75KiB] [2025/04/05 23:09:29.932 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/7b2e7954-ce83-4a4b-943d-8adebac5962d] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.694µs] [write-time=3.811937ms] [sort-speed(kv/s)=1113585.7461] [writer-id=index/3/7b2e7954-ce83-4a4b-943d-8adebac5962d] [2025/04/05 23:09:29.933 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/7b2e7954-ce83-4a4b-943d-8adebac5962d] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000003038000000000000315038000000000000003] [2025/04/05 23:09:29.933 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=0] [2025/04/05 23:09:29.935 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [takeTime=24.672654ms] [] [2025/04/05 23:09:29.935 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [takeTime=24.819515ms] [] [2025/04/05 23:09:29.958 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [2025/04/05 23:09:29.958 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8cada2e4-620e-4943-9980-1d4f6517d67c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a4cadfb2-7b65-4870-9280-436b8631a4ea] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.961 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/87a6b1dc-085d-4c3b-ae8f-b1f533d8adcc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cfc6075f-dd15-4980-b2d8-467bdd121032] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f5c891e8-b26c-4777-b2e2-7d28a622eeb8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ffa72a9e-bdc5-464a-9d8b-6c9c70dc404a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.961 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f1316e70-103c-4467-aa01-ff2108f19058] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:29.963 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [2025/04/05 23:09:29.966 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [readDur=819.094µs] [encodeDur=336.719µs] [checksum="{cksum=10500087816336640068,size=556,kvs=12}"] [deliverDur=1.092372ms] [type=file] [takeTime=2.536075ms] [] [2025/04/05 23:09:29.977 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=10.58813ms] [write-speed(bytes/s)=16.51KiB] [2025/04/05 23:09:29.977 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.032µs] [write-time=10.706173ms] [sort-speed(kv/s)=744047.6190] [writer-id=data/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [2025/04/05 23:09:29.977 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000004] [maxKey=7480000000000000745f728000000000000006] [2025/04/05 23:09:29.990 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=13.474658ms] [write-speed(bytes/s)=11.74KiB] [2025/04/05 23:09:29.990 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.46µs] [write-time=13.603054ms] [sort-speed(kv/s)=867052.0231] [writer-id=index/3/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [2025/04/05 23:09:29.991 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000003038000000000000143038000000000000006] [2025/04/05 23:09:30.012 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=20.9201ms] [write-speed(bytes/s)=7.562KiB] [2025/04/05 23:09:30.012 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.421µs] [write-time=21.061616ms] [sort-speed(kv/s)=876936.5683] [writer-id=index/1/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [2025/04/05 23:09:30.012 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000745f698000000000000001038000000000000006038000000000000006] [2025/04/05 23:09:30.025 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=12.942801ms] [write-speed(bytes/s)=18.49KiB] [2025/04/05 23:09:30.025 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.452µs] [write-time=13.069669ms] [sort-speed(kv/s)=869061.4137] [writer-id=index/2/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [2025/04/05 23:09:30.025 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/dcd7fe0c-80b8-4a44-a1eb-3262c3af2910] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/05 23:09:30.025 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=1] [2025/04/05 23:09:30.036 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [takeTime=77.46675ms] [] [2025/04/05 23:09:30.036 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [takeTime=77.643874ms] [] [2025/04/05 23:09:30.084 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 23:09:30.087 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:30.088 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [2025/04/05 23:09:30.095 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.096 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.100 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.101 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.137 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [subtask-count=4] [2025/04/05 23:09:30.137 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=4] [2025/04/05 23:09:30.181 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/05 23:09:30.182 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.182 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.182 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.182 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.182 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.182 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.183 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.183 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.183 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.182 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.183 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.183 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.185 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:30.185 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.185 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.185 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.185 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=283.39839ms] [] [2025/04/05 23:09:30.187 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.188 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.189 +00:00] [INFO] [task_executor.go:326] ["merge sort partSize"] [type=ImportInto] [task-id=2] [step=merge-sort] [data-kv=12.8MiB] [index-kv=5MiB] [2025/04/05 23:09:30.189 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=merge-sort] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:30.197 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=merge-sort] [2025/04/05 23:09:30.199 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=2] [2025/04/05 23:09:30.199 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=2] [subtask-id=10] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/05 23:09:30.199 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=2] [subtask-id=10] [writer-id=4badf35b-0521-40cf-933d-8386a6324236] [file-count=2] [2025/04/05 23:09:30.202 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=2] [subtask-id=10] [data-file=2/10/4badf35b-0521-40cf-933d-8386a6324236/one-file] [stat-file=2/10/4badf35b-0521-40cf-933d-8386a6324236_stat/one-file] [2025/04/05 23:09:30.217 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=2] [subtask-id=10] [writerID=4badf35b-0521-40cf-933d-8386a6324236] [2025/04/05 23:09:30.217 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=2] [subtask-id=10] [writer-id=4badf35b-0521-40cf-933d-8386a6324236] [file-count=2] [takeTime=18.604267ms] [] [2025/04/05 23:09:30.217 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=2] [total-kv-size=394] [total-kv-count=6] [start-key=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [end-key=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [2025/04/05 23:09:30.222 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=2] [takeTime=23.656146ms] [] [2025/04/05 23:09:30.222 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=merge-sort] [takeTime=25.335548ms] [] [2025/04/05 23:09:30.244 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=merge-sort] [2025/04/05 23:09:30.245 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=3] [2025/04/05 23:09:30.245 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=3] [subtask-id=11] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/05 23:09:30.246 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=3] [subtask-id=11] [writer-id=0c799ab8-2f08-4ac2-ac0b-0f946fdee497] [file-count=2] [2025/04/05 23:09:30.249 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=3] [subtask-id=11] [data-file=2/11/0c799ab8-2f08-4ac2-ac0b-0f946fdee497/one-file] [stat-file=2/11/0c799ab8-2f08-4ac2-ac0b-0f946fdee497_stat/one-file] [2025/04/05 23:09:30.276 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=3] [subtask-id=11] [writerID=0c799ab8-2f08-4ac2-ac0b-0f946fdee497] [2025/04/05 23:09:30.276 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=3] [subtask-id=11] [writer-id=0c799ab8-2f08-4ac2-ac0b-0f946fdee497] [file-count=2] [takeTime=30.75516ms] [] [2025/04/05 23:09:30.276 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=3] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [end-key=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [2025/04/05 23:09:30.286 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=3] [takeTime=40.976544ms] [] [2025/04/05 23:09:30.287 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=merge-sort] [takeTime=42.511241ms] [] [2025/04/05 23:09:30.308 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=merge-sort] [2025/04/05 23:09:30.310 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=data] [2025/04/05 23:09:30.310 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=data] [subtask-id=12] [file-count=2] [file-groups=1] [concurrency=8] [part-size=14470348] [2025/04/05 23:09:30.310 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=data] [subtask-id=12] [writer-id=dbba1af5-1393-4ad0-a4cc-f1bbdaa57845] [file-count=2] [2025/04/05 23:09:30.313 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=data] [subtask-id=12] [data-file=2/12/dbba1af5-1393-4ad0-a4cc-f1bbdaa57845/one-file] [stat-file=2/12/dbba1af5-1393-4ad0-a4cc-f1bbdaa57845_stat/one-file] [2025/04/05 23:09:30.348 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=data] [subtask-id=12] [writerID=dbba1af5-1393-4ad0-a4cc-f1bbdaa57845] [2025/04/05 23:09:30.348 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=data] [subtask-id=12] [writer-id=dbba1af5-1393-4ad0-a4cc-f1bbdaa57845] [file-count=2] [takeTime=38.408208ms] [] [2025/04/05 23:09:30.349 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=data] [total-kv-size=262] [total-kv-count=6] [start-key=7480000000000000745F728000000000000001] [end-key=7480000000000000745F72800000000000000600] [2025/04/05 23:09:30.359 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=data] [takeTime=48.880616ms] [] [2025/04/05 23:09:30.360 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=merge-sort] [takeTime=51.458648ms] [] [2025/04/05 23:09:30.382 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=merge-sort] [2025/04/05 23:09:30.383 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=1] [2025/04/05 23:09:30.383 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=1] [subtask-id=13] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/05 23:09:30.383 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=1] [subtask-id=13] [writer-id=2c86e46c-1070-4b61-b2d0-5bf54529597b] [file-count=2] [2025/04/05 23:09:30.386 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=1] [subtask-id=13] [data-file=2/13/2c86e46c-1070-4b61-b2d0-5bf54529597b/one-file] [stat-file=2/13/2c86e46c-1070-4b61-b2d0-5bf54529597b_stat/one-file] [2025/04/05 23:09:30.413 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=1] [subtask-id=13] [writerID=2c86e46c-1070-4b61-b2d0-5bf54529597b] [2025/04/05 23:09:30.413 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=1] [subtask-id=13] [writer-id=2c86e46c-1070-4b61-b2d0-5bf54529597b] [file-count=2] [takeTime=30.633818ms] [] [2025/04/05 23:09:30.414 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=1] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [2025/04/05 23:09:30.424 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=1] [takeTime=41.032721ms] [] [2025/04/05 23:09:30.424 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=merge-sort] [takeTime=42.230651ms] [] [2025/04/05 23:09:30.485 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:30.487 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:30.488 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:30.506 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.507 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.520 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:30.520 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:30.521 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:30.522 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.522 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:30.522 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.522 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.522 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.522 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.523 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.523 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.527 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.527 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.527 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.527 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.527 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.527 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.527 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.527 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.527 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.527 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.527 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.527 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.528 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:30.528 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:30.531 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [dataFiles=1] [2025/04/05 23:09:30.532 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:30.534 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:30.534 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:30.535 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:30.550 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.550 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:30.550 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.551 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.551 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.551 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.551 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.551 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.555 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.555 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.555 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.555 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.555 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.555 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.555 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.555 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.555 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.555 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.555 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.555 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.556 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:30.556 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:30.559 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=1] [2025/04/05 23:09:30.559 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:30.562 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:30.562 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:30.563 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:30.564 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.564 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:30.564 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.564 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.564 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.564 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.564 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.565 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.566 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:30.566 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=merge-sort] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=376.712354ms] [] [2025/04/05 23:09:30.566 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 23:09:30.568 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.568 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.568 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.568 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.568 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.568 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.568 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.568 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.568 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.568 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.568 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.568 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.569 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:30.569 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:30.573 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [dataFiles=1] [2025/04/05 23:09:30.573 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:30.575 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:30.576 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:30.577 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:30.577 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.577 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:30.577 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.577 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.577 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.577 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.578 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.578 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.581 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.581 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.581 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.581 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.581 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.581 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.581 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.581 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.582 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.581 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.582 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.582 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.583 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:30.583 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:30.586 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000600] [dataFiles=1] [2025/04/05 23:09:30.586 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:30.587 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.588 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.630 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/05 23:09:30.631 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/05 23:09:30.669 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:30.689 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.690 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.697 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:30.697 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:30.697 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.697 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:30.698 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.698 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.698 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.698 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.698 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.698 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.710 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:30.711 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:30.711 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:30.712 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:30.719 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [2025/04/05 23:09:30.721 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=1] [2025/04/05 23:09:30.721 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.722 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:30.725 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/05 23:09:30.725 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.748 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:30.748 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.748 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:30.748 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/05 23:09:30.749 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=5.081µs] [2025/04/05 23:09:30.749 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=701.782µs] [] [2025/04/05 23:09:30.749 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:30.749 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:30.749 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [2025/04/05 23:09:30.749 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:30.753 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.626633ms] [] [2025/04/05 23:09:30.753 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:30.757 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.757 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.580464ms] [] [2025/04/05 23:09:30.757 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:30.758 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.736551ms] [droppedSize=0] [2025/04/05 23:09:30.758 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.95µs] [2025/04/05 23:09:30.758 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/05 23:09:30.773 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/05 23:09:30.775 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=1] [takeTime=53.839282ms] [] [2025/04/05 23:09:30.775 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [takeTime=55.591632ms] [] [2025/04/05 23:09:30.797 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [2025/04/05 23:09:30.798 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=2] [2025/04/05 23:09:30.798 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.799 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:30.803 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/05 23:09:30.803 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.825 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:30.826 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.826 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:30.826 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF745F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/05 23:09:30.826 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.188µs] [2025/04/05 23:09:30.826 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=725.55µs] [] [2025/04/05 23:09:30.827 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:30.827 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:30.827 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/05 23:09:30.827 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:30.831 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.817767ms] [] [2025/04/05 23:09:30.831 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:30.834 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.836 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.906409ms] [] [2025/04/05 23:09:30.836 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:30.836 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.05367ms] [droppedSize=0] [2025/04/05 23:09:30.836 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.379µs] [2025/04/05 23:09:30.836 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/05 23:09:30.850 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/05 23:09:30.852 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=2] [takeTime=53.422864ms] [] [2025/04/05 23:09:30.852 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [takeTime=55.118115ms] [] [2025/04/05 23:09:30.875 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [2025/04/05 23:09:30.877 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=3] [2025/04/05 23:09:30.877 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.878 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:30.881 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/05 23:09:30.881 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.905 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:30.905 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.905 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:30.906 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/05 23:09:30.906 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.418µs] [2025/04/05 23:09:30.906 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=767.41µs] [] [2025/04/05 23:09:30.906 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:30.906 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:30.906 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [2025/04/05 23:09:30.906 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:30.910 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.901772ms] [] [2025/04/05 23:09:30.910 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:30.914 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.915 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.12951ms] [] [2025/04/05 23:09:30.915 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:30.915 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.33554ms] [droppedSize=0] [2025/04/05 23:09:30.915 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.489µs] [2025/04/05 23:09:30.916 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/05 23:09:30.931 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/05 23:09:30.933 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=3] [takeTime=55.814ms] [] [2025/04/05 23:09:30.933 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [takeTime=57.529575ms] [] [2025/04/05 23:09:30.954 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [2025/04/05 23:09:30.955 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=data] [2025/04/05 23:09:30.955 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.956 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:30.960 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F728000000000000001] [endKey=7480000000000000745F72800000000000000600] [len(keys)=2] [] [2025/04/05 23:09:30.960 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.982 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:30.982 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.982 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:30.982 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F728000000000FF0000010000000000FA] [end=7480000000000000FF745F728000000000FF0000060000000000FC] [2025/04/05 23:09:30.982 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.706µs] [2025/04/05 23:09:30.983 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=729.754µs] [] [2025/04/05 23:09:30.983 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:30.983 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:30.983 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f728000000000000001] [end-key=7480000000000000745f72800000000000000600] [2025/04/05 23:09:30.983 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:30.987 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.723682ms] [] [2025/04/05 23:09:30.987 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:30.991 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:30.992 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.994238ms] [] [2025/04/05 23:09:30.992 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 23:09:30.992 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.16776ms] [droppedSize=0] [2025/04/05 23:09:30.992 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.756µs] [2025/04/05 23:09:30.993 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000001] [endOfAllRanges=7480000000000000745f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 23:09:31.005 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/05 23:09:31.007 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=data] [takeTime=51.61275ms] [] [2025/04/05 23:09:31.007 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [takeTime=53.260479ms] [] [2025/04/05 23:09:31.086 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/05 23:09:31.088 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:31.090 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [2025/04/05 23:09:31.112 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:31.114 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:31.114 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:31.143 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/05 23:09:31.151 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=ingest] [2025/04/05 23:09:31.156 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:31.156 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:31.156 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:31.157 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:31.157 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:31.157 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:31.157 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:31.157 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:31.157 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:31.157 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:31.157 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:31.157 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:31.158 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:31.159 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:31.159 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:31.159 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:31.159 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=446.995366ms] [] [2025/04/05 23:09:31.161 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:31.168 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=post-process] [2025/04/05 23:09:31.168 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/05 23:09:31.168 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/05 23:09:31.168 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/05 23:09:31.168 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=2.352µs] [] [2025/04/05 23:09:31.168 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/05 23:09:31.169 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/05 23:09:31.169 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/05 23:09:31.169 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/05 23:09:31.169 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 23:09:31.169 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [weight=30] [2025/04/05 23:09:31.169 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [concurrency=15] [2025/04/05 23:09:31.171 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/05 23:09:31.171 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/05 23:09:31.171 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/05 23:09:31.171 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/05 23:09:31.171 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:31.171 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 23:09:31.172 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=3.118262ms] [] [2025/04/05 23:09:31.172 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=3.315339ms] [] [2025/04/05 23:09:31.172 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=post-process] [takeTime=3.465617ms] [] [2025/04/05 23:09:31.180 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:31.240 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:31.240 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 23:09:31.245 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 23:09:31.275 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=113.980705ms] [] [2025/04/05 23:09:31.275 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 23:09:31.280 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:31.286 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:31.286 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:31.288 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=2] [2025/04/05 23:09:31.288 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.289 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.389 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=2] [takeTime=100.83891ms] [] [2025/04/05 23:09:31.416 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:31.480 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.8946783699999998\n# Parse_time: 0.00021244\n# Compile_time: 0.000576688\n# Rewrite_time: 0.000108354\n# Optimize_time: 0.000432482\n# Wait_TS: 0\n# DB: gsort_basic\n# Is_internal: false\n# Digest: 392014fe0a784e03186a93c7f3528e9bc2606219bbb926c3fd8303e3396867e0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuODlzLCBvcGVuOjYzMG5zLCBjbG9zZTo1NjducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuODlzLCBvcGVuOjYzMG5zLCBjbG9zZTo1NjducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000040189\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb', __force_merge_step;"] [2025/04/05 23:09:31.498 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.498 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:09:31.503 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.513 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 118, Table Name: t, Old Table ID: 116, Old Table Name: t)"] [2025/04/05 23:09:31.533 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=2.535484ms] [gotSchemaVersion=59] [phyTblIDs="[116,118]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:31.537 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/05 23:09:31.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=10.557794ms] [job="ID:119, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.551 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="truncate table: table ID"] [2025/04/05 23:09:31.556 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="truncate table"] [2025/04/05 23:09:31.557 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.577 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 23:09:31.578 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/05 23:09:31.584 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.585 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.602 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.633 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:31.654 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/05 23:09:31.669 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:31.669 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:31.772 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 23:09:31.774 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:31.775 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [2025/04/05 23:09:31.784 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.785 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.787 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:31.787 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:31.788 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=63.987µs] [2025/04/05 23:09:31.788 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=218.871µs] [] [2025/04/05 23:09:31.788 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.789 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.812 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/05 23:09:31.812 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/05 23:09:31.848 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:31.870 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/05 23:09:31.870 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.871 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.880 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:31.880 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:31.881 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:31.881 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:31.881 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:31.881 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:31.881 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:31.882 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:31.882 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:31.882 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:31.884 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 23:09:31.894 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:31.896 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:31.896 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:31.896 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:31.896 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:31.904 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [2025/04/05 23:09:31.904 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c891d951-1cb2-4bfc-b929-ad857b5455fd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/aa2c7719-70f7-4303-98f6-cde31c2a49b6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/95c8f6ad-1cb1-4017-8093-f4f83445f94b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/55d57c20-346b-4dfc-852e-08b131006377] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e7255f70-82de-46b4-890b-a84369679cbb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ba564f9d-0182-4272-9b2c-2cca8fc56923] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.907 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/05 23:09:31.907 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/890e70ef-a5ad-4a71-9dc9-12695190b62a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:31.909 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [2025/04/05 23:09:31.954 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [readDur=910.858µs] [encodeDur=347.416µs] [checksum="{cksum=1019797567031239126,size=556,kvs=12}"] [deliverDur=42.928116ms] [type=file] [takeTime=44.586765ms] [] [2025/04/05 23:09:31.990 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=35.65579ms] [write-speed(bytes/s)=4.903KiB] [2025/04/05 23:09:31.990 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.287µs] [write-time=35.824126ms] [sort-speed(kv/s)=699790.0630] [writer-id=data/5cd50781-3131-4920-a813-9cced974d127] [2025/04/05 23:09:31.990 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5cd50781-3131-4920-a813-9cced974d127] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000001] [maxKey=7480000000000000765f728000000000000003] [2025/04/05 23:09:32.006 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=15.474899ms] [write-speed(bytes/s)=15.46KiB] [2025/04/05 23:09:32.006 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=4.479µs] [write-time=15.5948ms] [sort-speed(kv/s)=669792.3644] [writer-id=index/2/5cd50781-3131-4920-a813-9cced974d127] [2025/04/05 23:09:32.006 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/5cd50781-3131-4920-a813-9cced974d127] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/05 23:09:32.017 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=10.467119ms] [write-speed(bytes/s)=15.11KiB] [2025/04/05 23:09:32.017 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.586µs] [write-time=10.579583ms] [sort-speed(kv/s)=836586.7262] [writer-id=index/3/5cd50781-3131-4920-a813-9cced974d127] [2025/04/05 23:09:32.017 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/5cd50781-3131-4920-a813-9cced974d127] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000003038000000000000315038000000000000003] [2025/04/05 23:09:32.027 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=10.452262ms] [write-speed(bytes/s)=15.14KiB] [2025/04/05 23:09:32.027 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/5cd50781-3131-4920-a813-9cced974d127] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.267µs] [write-time=10.579492ms] [sort-speed(kv/s)=918273.6455] [writer-id=index/1/5cd50781-3131-4920-a813-9cced974d127] [2025/04/05 23:09:32.028 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/5cd50781-3131-4920-a813-9cced974d127] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000765f698000000000000001038000000000000003038000000000000003] [2025/04/05 23:09:32.028 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=0] [2025/04/05 23:09:32.032 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [takeTime=128.3543ms] [] [2025/04/05 23:09:32.033 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [takeTime=128.548691ms] [] [2025/04/05 23:09:32.056 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [2025/04/05 23:09:32.057 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/52f30231-2ad2-465d-9d20-6ecd2882b355] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a249ae56-348b-4c2c-a2cc-5ea34d09fa01] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8e2e66a7-abd9-474e-979a-e20b31aa5275] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b57b668d-53e1-4f36-afa9-f234ff42d36a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e2a9e01b-5db0-47bf-9393-2c998ddd2502] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9506a815-115b-44fc-8ab9-ac7d9ba45eec] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.060 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/05 23:09:32.060 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/850b5dd8-1dc8-4e13-8067-3340d2b9f5df] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:32.062 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [2025/04/05 23:09:32.078 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [readDur=867.3µs] [encodeDur=683.24µs] [checksum="{cksum=12744263349315450059,size=556,kvs=12}"] [deliverDur=14.059473ms] [type=file] [takeTime=15.91025ms] [] [2025/04/05 23:09:32.091 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=12.788962ms] [write-speed(bytes/s)=13.67KiB] [2025/04/05 23:09:32.091 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.988µs] [write-time=12.902252ms] [sort-speed(kv/s)=752256.7703] [writer-id=data/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [2025/04/05 23:09:32.091 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000004] [maxKey=7480000000000000765f728000000000000006] [2025/04/05 23:09:32.104 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=12.644005ms] [write-speed(bytes/s)=18.92KiB] [2025/04/05 23:09:32.104 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.859µs] [write-time=12.751864ms] [sort-speed(kv/s)=777403.4724] [writer-id=index/2/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [2025/04/05 23:09:32.104 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/05 23:09:32.113 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=8.633933ms] [write-speed(bytes/s)=18.32KiB] [2025/04/05 23:09:32.113 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.181µs] [write-time=8.750828ms] [sort-speed(kv/s)=943099.6542] [writer-id=index/3/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [2025/04/05 23:09:32.113 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000003038000000000000143038000000000000006] [2025/04/05 23:09:32.121 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=8.501464ms] [write-speed(bytes/s)=18.61KiB] [2025/04/05 23:09:32.122 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.55µs] [write-time=8.616151ms] [sort-speed(kv/s)=845070.4225] [writer-id=index/1/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [2025/04/05 23:09:32.122 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8965ab11-b37e-4d4d-be17-b53ada2f31c1] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000765f698000000000000001038000000000000006038000000000000006] [2025/04/05 23:09:32.122 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=1] [2025/04/05 23:09:32.127 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [takeTime=69.963032ms] [] [2025/04/05 23:09:32.128 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [takeTime=71.516788ms] [] [2025/04/05 23:09:32.176 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 23:09:32.178 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.180 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [2025/04/05 23:09:32.186 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.188 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.192 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=data] [2025/04/05 23:09:32.192 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=2] [2025/04/05 23:09:32.192 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=3] [2025/04/05 23:09:32.192 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=1] [2025/04/05 23:09:32.193 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.194 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.196 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 23:09:32.196 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 23:09:32.272 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:32.272 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/05 23:09:32.274 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:32.274 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:32.274 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:32.274 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:32.274 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:32.274 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:32.274 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:32.274 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:32.274 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:32.274 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:32.274 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:32.274 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:32.276 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:32.276 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:32.276 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:32.276 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:32.276 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=379.898125ms] [] [2025/04/05 23:09:32.276 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 23:09:32.276 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:32.278 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.280 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:32.280 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:32.280 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/05 23:09:32.376 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=merge-sort] [state=reverting] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:32.380 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 23:09:32.471 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:32.477 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:32.477 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:32.479 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=3] [2025/04/05 23:09:32.480 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.480 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.525 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=3] [takeTime=46.007793ms] [] [2025/04/05 23:09:32.551 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestGlobalSortBasic (5.67s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortMultiFiles [2025/04/05 23:09:32.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/05 23:09:32.646 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/05 23:09:32.646 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.651 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=679.304µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:32.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/05 23:09:32.671 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=7.919549ms] [job="ID:121, Type:create schema, State:done, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.687 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:synced, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.698 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/05 23:09:32.699 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=gsort_basic] [sql="create database gs_multi_files"] [user=] [2025/04/05 23:09:32.714 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [2025/04/05 23:09:32.714 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.720 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.725 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 122, Table Name: t)"] [2025/04/05 23:09:32.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.312623ms] [gotSchemaVersion=61] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.747 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/05 23:09:32.749 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=9.528406ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.762 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 23:09:32.775 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [user=] [2025/04/05 23:09:32.781 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.782 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.797 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.829 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:32.849 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/05 23:09:32.863 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:32.863 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:32.966 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 23:09:32.968 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.969 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [2025/04/05 23:09:32.978 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.979 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.982 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:32.982 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=147780] [2025/04/05 23:09:32.982 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=147780] [cost=133.539µs] [2025/04/05 23:09:32.982 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=261.064µs] [] [2025/04/05 23:09:32.982 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.983 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.992 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [subtask-count=1] [2025/04/05 23:09:32.992 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=1] [2025/04/05 23:09:33.029 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:33.049 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/05 23:09:33.050 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.050 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.058 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.058 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:33.058 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.058 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.058 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.058 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.059 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.059 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.059 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.059 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.071 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:33.073 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:33.073 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:33.074 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:33.074 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:33.078 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 23:09:33.081 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [2025/04/05 23:09:33.081 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [2025/04/05 23:09:33.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [2025/04/05 23:09:33.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [2025/04/05 23:09:33.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [2025/04/05 23:09:33.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [2025/04/05 23:09:33.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [2025/04/05 23:09:33.088 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [2025/04/05 23:09:33.089 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [2025/04/05 23:09:33.249 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [readDur=11.492184ms] [encodeDur=128.912591ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=110.699182ms] [type=file] [takeTime=161.849102ms] [] [2025/04/05 23:09:33.250 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.252 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [2025/04/05 23:09:33.252 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [readDur=20.359269ms] [encodeDur=127.053477ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=123.026128ms] [type=file] [takeTime=164.879742ms] [] [2025/04/05 23:09:33.253 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:33.253 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [readDur=21.005853ms] [encodeDur=120.785696ms] [checksum="{cksum=10408207814181128213,size=255604,kvs=4000}"] [deliverDur=118.657501ms] [type=file] [takeTime=165.463102ms] [] [2025/04/05 23:09:33.255 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [2025/04/05 23:09:33.261 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [readDur=24.604004ms] [encodeDur=116.780733ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=132.711301ms] [type=file] [takeTime=173.663616ms] [] [2025/04/05 23:09:33.264 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [readDur=11.945157ms] [encodeDur=119.54057ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=132.186355ms] [type=file] [takeTime=176.004701ms] [] [2025/04/05 23:09:33.264 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [readDur=11.265792ms] [encodeDur=122.92908ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=132.440589ms] [type=file] [takeTime=176.476207ms] [] [2025/04/05 23:09:33.265 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [readDur=9.683322ms] [encodeDur=120.29163ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=136.442338ms] [type=file] [takeTime=177.539354ms] [] [2025/04/05 23:09:33.267 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [readDur=9.926509ms] [encodeDur=84.713713ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=136.462823ms] [type=file] [takeTime=177.915586ms] [] [2025/04/05 23:09:33.317 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=55.206779ms] [write-speed(bytes/s)=937.5KiB] [2025/04/05 23:09:33.317 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=371.197µs] [write-time=55.32655ms] [sort-speed(kv/s)=2693987.2898] [writer-id=data/6e3ae560-0836-421b-b5e1-56f7fdda2304] [2025/04/05 23:09:33.317 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6e3ae560-0836-421b-b5e1-56f7fdda2304] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000bb8] [maxKey=74800000000000007a5f728000000000000f9f] [2025/04/05 23:09:33.322 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=57.287214ms] [write-speed(bytes/s)=903.5KiB] [2025/04/05 23:09:33.322 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=376.169µs] [write-time=57.438155ms] [sort-speed(kv/s)=2658379.6113] [writer-id=data/07d60751-33d3-4f56-97ac-b11df53bf17c] [2025/04/05 23:09:33.322 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/07d60751-33d3-4f56-97ac-b11df53bf17c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001770] [maxKey=74800000000000007a5f728000000000001b57] [2025/04/05 23:09:33.323 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=69.530558ms] [write-speed(bytes/s)=728.8KiB] [2025/04/05 23:09:33.323 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=381.33µs] [write-time=69.652546ms] [sort-speed(kv/s)=2622400.5455] [writer-id=data/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [2025/04/05 23:09:33.323 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000000] [maxKey=74800000000000007a5f7280000000000003e7] [2025/04/05 23:09:33.324 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=59.949239ms] [write-speed(bytes/s)=863.4KiB] [2025/04/05 23:09:33.324 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=367.225µs] [write-time=60.054982ms] [sort-speed(kv/s)=2723126.1488] [writer-id=data/fc84a0ce-2c30-47c0-815c-c701799e94ba] [2025/04/05 23:09:33.324 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fc84a0ce-2c30-47c0-815c-c701799e94ba] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000007d0] [maxKey=74800000000000007a5f728000000000000bb7] [2025/04/05 23:09:33.326 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=60.036642ms] [write-speed(bytes/s)=862.1KiB] [2025/04/05 23:09:33.326 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=389.191µs] [write-time=60.131171ms] [sort-speed(kv/s)=2569432.4894] [writer-id=data/4d283183-1ee8-46a5-b905-ced92f378cb9] [2025/04/05 23:09:33.326 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4d283183-1ee8-46a5-b905-ced92f378cb9] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001388] [maxKey=74800000000000007a5f72800000000000176f] [2025/04/05 23:09:33.329 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=61.715414ms] [write-speed(bytes/s)=838.7KiB] [2025/04/05 23:09:33.329 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=347.572µs] [write-time=61.878193ms] [sort-speed(kv/s)=2877101.7228] [writer-id=data/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [2025/04/05 23:09:33.329 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000fa0] [maxKey=74800000000000007a5f728000000000001387] [2025/04/05 23:09:33.334 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=16.846322ms] [write-speed(bytes/s)=4.642MiB] [2025/04/05 23:09:33.335 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=349.147µs] [write-time=16.97545ms] [sort-speed(kv/s)=2864123.1344] [writer-id=index/1/6e3ae560-0836-421b-b5e1-56f7fdda2304] [2025/04/05 23:09:33.335 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/6e3ae560-0836-421b-b5e1-56f7fdda2304] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000101746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/05 23:09:33.338 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=15.240056ms] [write-speed(bytes/s)=5.131MiB] [2025/04/05 23:09:33.338 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=334.089µs] [write-time=15.360036ms] [sort-speed(kv/s)=2993214.3830] [writer-id=index/1/07d60751-33d3-4f56-97ac-b11df53bf17c] [2025/04/05 23:09:33.338 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/07d60751-33d3-4f56-97ac-b11df53bf17c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000101746573742d363939ff3900000000000000f8038000000000001b57] [2025/04/05 23:09:33.340 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=14.783712ms] [write-speed(bytes/s)=6.193MiB] [2025/04/05 23:09:33.340 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=477.66µs] [write-time=14.924098ms] [sort-speed(kv/s)=2093539.3376] [writer-id=index/2/fc84a0ce-2c30-47c0-815c-c701799e94ba] [2025/04/05 23:09:33.340 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/fc84a0ce-2c30-47c0-815c-c701799e94ba] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000007d001746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f698000000000000002038000000000000bb701746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/05 23:09:33.342 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=15.22403ms] [write-speed(bytes/s)=6.014MiB] [2025/04/05 23:09:33.342 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=374.19µs] [write-time=15.344409ms] [sort-speed(kv/s)=2672439.1352] [writer-id=index/3/4d283183-1ee8-46a5-b905-ced92f378cb9] [2025/04/05 23:09:33.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/4d283183-1ee8-46a5-b905-ced92f378cb9] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d353030ff3000000000000000f8038000000000001388038000000000001388] [maxKey=74800000000000007a5f69800000000000000301746573742d353939ff3900000000000000f803800000000000176f03800000000000176f] [2025/04/05 23:09:33.344 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=79990] [stat-size=121] [write-time=15.920195ms] [write-speed(bytes/s)=4.792MiB] [2025/04/05 23:09:33.344 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=79990] [kv-cnt=1000] [sort-time=4.208446ms] [write-time=16.049123ms] [sort-speed(kv/s)=237617.4008] [writer-id=index/1/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [2025/04/05 23:09:33.344 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/05 23:09:33.345 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=15.257928ms] [write-speed(bytes/s)=5.125MiB] [2025/04/05 23:09:33.345 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=722.117µs] [write-time=15.397742ms] [sort-speed(kv/s)=1384817.1418] [writer-id=index/1/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [2025/04/05 23:09:33.345 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000101746573742d343939ff3900000000000000f8038000000000001387] [2025/04/05 23:09:33.353 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=17.361111ms] [write-speed(bytes/s)=5.273MiB] [2025/04/05 23:09:33.353 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=405.993µs] [write-time=17.468482ms] [sort-speed(kv/s)=2463096.6544] [writer-id=index/2/6e3ae560-0836-421b-b5e1-56f7fdda2304] [2025/04/05 23:09:33.353 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/6e3ae560-0836-421b-b5e1-56f7fdda2304] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000bb801746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f698000000000000002038000000000000f9f01746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/05 23:09:33.355 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.711684ms] [write-speed(bytes/s)=5.478MiB] [2025/04/05 23:09:33.355 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=500.194µs] [write-time=16.838598ms] [sort-speed(kv/s)=1999224.3010] [writer-id=index/2/07d60751-33d3-4f56-97ac-b11df53bf17c] [2025/04/05 23:09:33.355 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/07d60751-33d3-4f56-97ac-b11df53bf17c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000177001746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f698000000000000002038000000000001b5701746573742d363939ff3900000000000000f8038000000000001b57] [2025/04/05 23:09:33.358 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=17.319276ms] [write-speed(bytes/s)=5.286MiB] [2025/04/05 23:09:33.358 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=527.463µs] [write-time=17.472197ms] [sort-speed(kv/s)=1895867.5774] [writer-id=index/3/fc84a0ce-2c30-47c0-815c-c701799e94ba] [2025/04/05 23:09:33.358 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/fc84a0ce-2c30-47c0-815c-c701799e94ba] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d323030ff3000000000000000f80380000000000007d00380000000000007d0] [maxKey=74800000000000007a5f69800000000000000301746573742d323939ff3900000000000000f8038000000000000bb7038000000000000bb7] [2025/04/05 23:09:33.359 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=16.329436ms] [write-speed(bytes/s)=4.789MiB] [2025/04/05 23:09:33.359 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=350.833µs] [write-time=16.463093ms] [sort-speed(kv/s)=2850359.0027] [writer-id=index/1/4d283183-1ee8-46a5-b905-ced92f378cb9] [2025/04/05 23:09:33.359 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/4d283183-1ee8-46a5-b905-ced92f378cb9] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000101746573742d353939ff3900000000000000f803800000000000176f] [2025/04/05 23:09:33.361 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=17.097571ms] [write-speed(bytes/s)=5.235MiB] [2025/04/05 23:09:33.362 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=492.61µs] [write-time=17.208254ms] [sort-speed(kv/s)=2030003.4510] [writer-id=index/2/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [2025/04/05 23:09:33.362 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f6980000000000000020380000000000003e701746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/05 23:09:33.362 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=15.9835ms] [write-speed(bytes/s)=5.728MiB] [2025/04/05 23:09:33.362 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=681.907µs] [write-time=16.116646ms] [sort-speed(kv/s)=1466475.6338] [writer-id=index/2/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [2025/04/05 23:09:33.363 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000fa001746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000203800000000000138701746573742d343939ff3900000000000000f8038000000000001387] [2025/04/05 23:09:33.364 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [readDur=8.278795ms] [encodeDur=93.239553ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=45.6999ms] [type=file] [takeTime=111.737161ms] [] [2025/04/05 23:09:33.370 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.447477ms] [write-speed(bytes/s)=5.566MiB] [2025/04/05 23:09:33.370 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/6e3ae560-0836-421b-b5e1-56f7fdda2304] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=445.582µs] [write-time=16.560076ms] [sort-speed(kv/s)=2244255.8272] [writer-id=index/3/6e3ae560-0836-421b-b5e1-56f7fdda2304] [2025/04/05 23:09:33.370 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/6e3ae560-0836-421b-b5e1-56f7fdda2304] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d333030ff3000000000000000f8038000000000000bb8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000301746573742d333939ff3900000000000000f8038000000000000f9f038000000000000f9f] [2025/04/05 23:09:33.375 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [readDur=9.115633ms] [encodeDur=101.42262ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=4.913273ms] [type=file] [takeTime=120.480088ms] [] [2025/04/05 23:09:33.376 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.412326ms] [write-speed(bytes/s)=4.716MiB] [2025/04/05 23:09:33.376 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/07d60751-33d3-4f56-97ac-b11df53bf17c] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=533.124µs] [write-time=19.518917ms] [sort-speed(kv/s)=1875736.2265] [writer-id=index/3/07d60751-33d3-4f56-97ac-b11df53bf17c] [2025/04/05 23:09:33.376 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/07d60751-33d3-4f56-97ac-b11df53bf17c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d363030ff3000000000000000f8038000000000001770038000000000001770] [maxKey=74800000000000007a5f69800000000000000301746573742d363939ff3900000000000000f8038000000000001b57038000000000001b57] [2025/04/05 23:09:33.376 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=17.436411ms] [write-speed(bytes/s)=4.485MiB] [2025/04/05 23:09:33.377 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/fc84a0ce-2c30-47c0-815c-c701799e94ba] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=779.505µs] [write-time=17.594626ms] [sort-speed(kv/s)=1282865.4082] [writer-id=index/1/fc84a0ce-2c30-47c0-815c-c701799e94ba] [2025/04/05 23:09:33.377 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/fc84a0ce-2c30-47c0-815c-c701799e94ba] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f69800000000000000101746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/05 23:09:33.380 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=20.890333ms] [write-speed(bytes/s)=4.383MiB] [2025/04/05 23:09:33.380 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/4d283183-1ee8-46a5-b905-ced92f378cb9] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=432.985µs] [write-time=21.018949ms] [sort-speed(kv/s)=2309548.8296] [writer-id=index/2/4d283183-1ee8-46a5-b905-ced92f378cb9] [2025/04/05 23:09:33.380 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/4d283183-1ee8-46a5-b905-ced92f378cb9] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000138801746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000203800000000000176f01746573742d353939ff3900000000000000f803800000000000176f] [2025/04/05 23:09:33.383 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.960334ms] [write-speed(bytes/s)=4.587MiB] [2025/04/05 23:09:33.383 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=537.257µs] [write-time=20.080824ms] [sort-speed(kv/s)=1861306.6000] [writer-id=index/3/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [2025/04/05 23:09:33.383 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/c4504aeb-5d54-48dc-b12e-a45f40e1d8a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d343030ff3000000000000000f8038000000000000fa0038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000301746573742d343939ff3900000000000000f8038000000000001387038000000000001387] [2025/04/05 23:09:33.386 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=19.247211ms] [write-speed(bytes/s)=4.651MiB] [2025/04/05 23:09:33.386 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=4.488406ms] [write-time=19.377787ms] [sort-speed(kv/s)=222796.2444] [writer-id=index/3/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [2025/04/05 23:09:33.386 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/24d68fc5-33a5-4578-a6b1-5e0f5c4743c7] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff0000000000000000f70380000000000003e70380000000000003e7] [2025/04/05 23:09:33.391 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=25.904093ms] [write-speed(bytes/s)=3.902MiB] [2025/04/05 23:09:33.391 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=744.91µs] [write-time=26.015054ms] [sort-speed(kv/s)=2684888.1073] [writer-id=data/47778570-1d58-4e1e-b300-38b407c4b034] [2025/04/05 23:09:33.391 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/47778570-1d58-4e1e-b300-38b407c4b034] [kv-cnt-cap=2048] [minKey=74800000000000007a5f7280000000000003e8] [maxKey=74800000000000007a5f728000000000002327] [2025/04/05 23:09:33.398 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=21.307159ms] [write-speed(bytes/s)=4.744MiB] [2025/04/05 23:09:33.398 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=744.831µs] [write-time=21.420929ms] [sort-speed(kv/s)=2685172.8781] [writer-id=data/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [2025/04/05 23:09:33.398 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000001b58] [maxKey=74800000000000007a5f72800000000000270f] [2025/04/05 23:09:33.417 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=25.675948ms] [write-speed(bytes/s)=7.131MiB] [2025/04/05 23:09:33.418 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=718.748µs] [write-time=25.824156ms] [sort-speed(kv/s)=2782616.4386] [writer-id=index/3/47778570-1d58-4e1e-b300-38b407c4b034] [2025/04/05 23:09:33.418 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/47778570-1d58-4e1e-b300-38b407c4b034] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d313030ff3000000000000000f80380000000000003e80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000301746573742d383939ff3900000000000000f8038000000000002327038000000000002327] [2025/04/05 23:09:33.428 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=28.936738ms] [write-speed(bytes/s)=6.328MiB] [2025/04/05 23:09:33.428 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=692.339µs] [write-time=29.108422ms] [sort-speed(kv/s)=2888758.2528] [writer-id=index/2/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [2025/04/05 23:09:33.428 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [kv-cnt-cap=2048] [minKey=74800000000000007a5f698000000000000002038000000000001b5801746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f] [2025/04/05 23:09:33.442 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=23.416916ms] [write-speed(bytes/s)=6.679MiB] [2025/04/05 23:09:33.442 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=701.092µs] [write-time=23.580779ms] [sort-speed(kv/s)=2852692.6566] [writer-id=index/1/47778570-1d58-4e1e-b300-38b407c4b034] [2025/04/05 23:09:33.442 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/47778570-1d58-4e1e-b300-38b407c4b034] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000101746573742d383939ff3900000000000000f8038000000000002327] [2025/04/05 23:09:33.454 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=25.364222ms] [write-speed(bytes/s)=7.219MiB] [2025/04/05 23:09:33.454 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=872.347µs] [write-time=25.479128ms] [sort-speed(kv/s)=2292665.6480] [writer-id=index/3/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [2025/04/05 23:09:33.454 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d373030ff3000000000000000f8038000000000001b58038000000000001b58] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f] [2025/04/05 23:09:33.471 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=27.353793ms] [write-speed(bytes/s)=6.694MiB] [2025/04/05 23:09:33.471 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/47778570-1d58-4e1e-b300-38b407c4b034] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=1.308149ms] [write-time=27.479893ms] [sort-speed(kv/s)=1528877.8266] [writer-id=index/2/47778570-1d58-4e1e-b300-38b407c4b034] [2025/04/05 23:09:33.471 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/47778570-1d58-4e1e-b300-38b407c4b034] [kv-cnt-cap=2048] [minKey=74800000000000007a5f6980000000000000020380000000000003e801746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000203800000000000232701746573742d383939ff3900000000000000f8038000000000002327] [2025/04/05 23:09:33.481 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=25.288903ms] [write-speed(bytes/s)=6.185MiB] [2025/04/05 23:09:33.481 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=693.181µs] [write-time=25.451543ms] [sort-speed(kv/s)=2885249.3072] [writer-id=index/1/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [2025/04/05 23:09:33.481 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/4d660f3c-6057-4f9c-be16-d9a3a9c55d49] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f] [2025/04/05 23:09:33.481 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=encode] [engine-id=0] [2025/04/05 23:09:33.486 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [takeTime=404.890512ms] [] [2025/04/05 23:09:33.486 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [takeTime=405.068582ms] [] [2025/04/05 23:09:33.570 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 23:09:33.572 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:33.573 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [2025/04/05 23:09:33.579 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.580 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.585 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=2] [2025/04/05 23:09:33.585 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=3] [2025/04/05 23:09:33.585 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=data] [2025/04/05 23:09:33.585 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=1] [2025/04/05 23:09:33.585 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.586 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.590 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 23:09:33.590 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 23:09:33.630 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:33.630 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/05 23:09:33.632 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.632 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.632 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.632 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.632 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.632 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.632 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.632 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.632 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.632 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.632 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.632 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.634 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:33.634 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.634 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.634 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.634 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=560.446629ms] [] [2025/04/05 23:09:33.634 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 23:09:33.670 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:33.672 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:33.674 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:33.691 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.692 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.699 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:33.700 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.701 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:33.702 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.702 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.702 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.702 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.702 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.702 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.702 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.703 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.706 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.706 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.706 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.706 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.706 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.706 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.706 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.706 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.706 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.706 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.707 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.707 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.708 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:33.708 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:33.713 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f728000000000000000] [endKey=74800000000000007a5f72800000000000270f00] [dataFiles=8] [2025/04/05 23:09:33.713 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:33.715 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:33.716 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.717 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:33.717 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.717 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.718 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.718 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.718 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.718 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.718 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.718 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.722 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.722 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.722 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.722 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.722 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.722 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.722 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.722 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.722 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.722 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.722 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.722 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.723 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:33.723 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:33.729 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/05 23:09:33.729 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:33.732 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:33.732 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.733 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:33.734 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.734 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.734 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.734 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.734 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.734 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.734 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.735 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.738 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.738 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.738 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.738 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.738 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.738 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.738 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.738 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.738 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.738 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.738 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.738 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.739 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:33.739 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:33.745 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/05 23:09:33.745 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:33.747 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:33.748 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.749 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:33.749 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.749 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.749 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.749 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.749 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.750 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.750 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.750 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.753 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.753 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.753 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.753 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.753 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.753 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.753 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.754 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.754 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.753 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.754 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.754 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.755 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:33.755 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:33.761 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [dataFiles=8] [2025/04/05 23:09:33.761 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:33.761 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.762 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.779 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/05 23:09:33.779 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/05 23:09:33.820 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:33.842 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.843 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.850 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.850 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:33.850 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.850 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.851 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.851 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.851 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.851 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.851 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.851 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.863 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:33.865 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:33.865 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:33.865 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:33.873 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [2025/04/05 23:09:33.875 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=data] [2025/04/05 23:09:33.875 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.876 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:33.880 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F728000000000000000] [endKey=74800000000000007A5F72800000000000270F00] [len(keys)=2] [] [2025/04/05 23:09:33.880 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:33.902 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:33.902 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:33.902 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:33.903 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F728000000000FF0000000000000000FA] [end=7480000000000000FF7A5F728000000000FF00270F0000000000FC] [2025/04/05 23:09:33.903 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.323µs] [2025/04/05 23:09:33.903 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=722.435µs] [] [2025/04/05 23:09:33.903 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:33.903 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:33.903 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f728000000000000000] [end-key=74800000000000007a5f72800000000000270f00] [2025/04/05 23:09:33.903 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:33.909 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.554243ms] [] [2025/04/05 23:09:33.909 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:33.920 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.921 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.430446ms] [] [2025/04/05 23:09:33.921 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 23:09:33.923 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.375645ms] [droppedSize=0] [2025/04/05 23:09:33.932 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.779191ms] [2025/04/05 23:09:33.933 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000000] [endOfAllRanges=74800000000000007a5f72800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 23:09:33.964 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] [size=107374182400] [kvs=0] [importedSize=368890] [importedCount=10000] [2025/04/05 23:09:33.966 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=data] [takeTime=91.765386ms] [] [2025/04/05 23:09:33.967 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [takeTime=93.871759ms] [] [2025/04/05 23:09:33.990 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [2025/04/05 23:09:33.992 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=1] [2025/04/05 23:09:33.992 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.992 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:33.996 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000101746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000101746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/05 23:09:33.996 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:34.018 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:34.018 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:34.018 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:34.019 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000010174657374FF2D300000FD038000FF0000000000000000FD] [end=7480000000000000FF7A5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F00FF0000000000000000F8] [2025/04/05 23:09:34.019 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.922µs] [2025/04/05 23:09:34.019 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=678.618µs] [] [2025/04/05 23:09:34.019 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:34.019 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:34.019 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/05 23:09:34.019 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:34.037 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=18.30956ms] [] [2025/04/05 23:09:34.038 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:34.049 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.050 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=31.16797ms] [] [2025/04/05 23:09:34.050 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 23:09:34.052 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=33.188889ms] [droppedSize=0] [2025/04/05 23:09:34.066 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.48129ms] [2025/04/05 23:09:34.067 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d300000fd038000ff0000000000000000fd] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f00ff0000000000000000f7] [2025/04/05 23:09:34.095 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] [size=107374182400] [kvs=0] [importedSize=657990] [importedCount=10000] [2025/04/05 23:09:34.097 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=1] [takeTime=105.293663ms] [] [2025/04/05 23:09:34.097 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [takeTime=107.434687ms] [] [2025/04/05 23:09:34.119 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [2025/04/05 23:09:34.121 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=2] [2025/04/05 23:09:34.121 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.122 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:34.125 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000203800000000000000001746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000203800000000000270F01746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/05 23:09:34.126 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:34.148 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:34.148 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:34.148 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:34.149 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000020380000000FF0000000001746573FF742D300000FD0380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000020380000000FF0000270F01746573FF742D393939FF3900FF000000000000F803FF800000000000270FFF0000000000000000F9] [2025/04/05 23:09:34.149 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.949µs] [2025/04/05 23:09:34.149 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=758.087µs] [] [2025/04/05 23:09:34.149 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:34.149 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:34.149 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/05 23:09:34.149 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:34.155 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.409856ms] [] [2025/04/05 23:09:34.156 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:34.170 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.171 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=22.197582ms] [] [2025/04/05 23:09:34.171 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 23:09:34.173 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=23.924484ms] [droppedSize=0] [2025/04/05 23:09:34.183 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.706734ms] [2025/04/05 23:09:34.183 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000000001746573ff742d300000fd0380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000270f01746573ff742d393939ff3900ff000000000000f803ff800000000000270fff0000000000000000f8] [2025/04/05 23:09:34.216 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/05 23:09:34.218 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=2] [takeTime=97.261852ms] [] [2025/04/05 23:09:34.218 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [takeTime=99.348404ms] [] [2025/04/05 23:09:34.241 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [2025/04/05 23:09:34.243 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=3] [2025/04/05 23:09:34.243 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.243 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:34.247 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000301746573742D300000FD038000000000000000038000000000000000] [endKey=74800000000000007A5F69800000000000000301746573742D393939FF3900000000000000F803800000000000270F03800000000000270F00] [len(keys)=2] [] [2025/04/05 23:09:34.247 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:34.269 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:34.269 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:34.270 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:34.270 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000030174657374FF2D300000FD038000FF0000000000000380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000030174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F03FF800000000000270FFF0000000000000000F9] [2025/04/05 23:09:34.270 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.54µs] [2025/04/05 23:09:34.270 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=692.172µs] [] [2025/04/05 23:09:34.270 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:34.270 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:34.270 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [end-key=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [2025/04/05 23:09:34.271 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:34.276 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.472074ms] [] [2025/04/05 23:09:34.276 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:34.288 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.288 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.858096ms] [] [2025/04/05 23:09:34.288 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 23:09:34.290 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.800689ms] [droppedSize=0] [2025/04/05 23:09:34.305 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.505791ms] [2025/04/05 23:09:34.305 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d300000fd038000ff0000000000000380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f03ff800000000000270fff0000000000000000f8] [2025/04/05 23:09:34.334 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/05 23:09:34.336 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=3] [takeTime=92.893705ms] [] [2025/04/05 23:09:34.336 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [takeTime=95.110308ms] [] [2025/04/05 23:09:34.369 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/05 23:09:34.371 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:34.372 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [2025/04/05 23:09:34.402 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/05 23:09:34.404 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:34.404 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:34.440 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/05 23:09:34.446 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=ingest] [2025/04/05 23:09:34.451 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:34.451 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:34.451 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:34.451 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:34.451 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:34.451 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:34.451 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.451 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:34.451 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.451 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.452 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.452 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:34.453 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:34.453 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.453 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.453 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.453 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=588.506161ms] [] [2025/04/05 23:09:34.455 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:34.462 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=post-process] [2025/04/05 23:09:34.463 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/05 23:09:34.463 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/05 23:09:34.463 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/05 23:09:34.463 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=2.024µs] [] [2025/04/05 23:09:34.463 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=2] [size=797862] [kvs=10000] [checksum=554937224690942610] [2025/04/05 23:09:34.463 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=3] [size=797862] [kvs=10000] [checksum=7064370007260104284] [2025/04/05 23:09:34.463 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=-1] [size=368890] [kvs=10000] [checksum=14807964115588225436] [2025/04/05 23:09:34.463 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=1] [size=657990] [kvs=10000] [checksum=4056391227583092039] [2025/04/05 23:09:34.463 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [checksum="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/05 23:09:34.463 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [weight=30] [2025/04/05 23:09:34.463 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [concurrency=15] [2025/04/05 23:09:34.471 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=14807964115588225436] [totalKvs=10000] [totalBytes=368890] [2025/04/05 23:09:34.478 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=1] [checksum=4056391227583092039] [totalKvs=10000] [totalBytes=657990] [2025/04/05 23:09:34.479 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=3] [checksum=7064370007260104284] [totalKvs=10000] [totalBytes=797862] [2025/04/05 23:09:34.480 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=2] [checksum=554937224690942610] [totalKvs=10000] [totalBytes=797862] [2025/04/05 23:09:34.480 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:34.480 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [local="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/05 23:09:34.480 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=17.49313ms] [] [2025/04/05 23:09:34.480 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=17.659522ms] [] [2025/04/05 23:09:34.480 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=post-process] [takeTime=17.792237ms] [] [2025/04/05 23:09:34.488 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:34.571 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:34.571 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 23:09:34.574 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 23:09:34.601 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=146.00478ms] [] [2025/04/05 23:09:34.601 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 23:09:34.665 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:34.665 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.889739533\n# Parse_time: 0.000108318\n# Compile_time: 0.000513409\n# Rewrite_time: 0.000101787\n# Optimize_time: 0.00093798\n# Wait_TS: 0\n# DB: gs_multi_files\n# Is_internal: false\n# Digest: 3af11c8e2b29a6bdf0b4cbd04e051f2f372d40c542763c4a244575bb0aceaee3\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuODlzLCBvcGVuOjU1Nm5zLCBjbG9zZTo5MTJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuODlzLCBvcGVuOjU1Nm5zLCBjbG9zZTo5MTJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000040189\nuse gs_multi_files;\nIMPORT INTO `gs_multi_files`.`t` FROM 'gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH cloud_storage_uri=_UTF8MB4'gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:09:34.671 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:34.671 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:34.672 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=4] [2025/04/05 23:09:34.672 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.673 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestGlobalSortMultiFiles (2.22s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortUniqueKeyConflict [2025/04/05 23:09:34.837 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.837 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists gs_multi_files"] [2025/04/05 23:09:34.843 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.858 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=4] [takeTime=185.524459ms] [] [2025/04/05 23:09:34.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.983825ms] [gotSchemaVersion=62] [phyTblIDs="[122]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:34.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=62] [2025/04/05 23:09:34.867 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=9.11134ms] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.881 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:34.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=171.02µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:34.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=63] [2025/04/05 23:09:34.897 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=7.042654ms] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.906 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.912 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:09:34.922 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=151.218µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:34.926 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/05 23:09:34.928 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=7.266287ms] [job="ID:124, Type:drop schema, State:done, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.937 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[122]"] [comment="drop schema: table IDs"] [2025/04/05 23:09:34.942 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop schema"] [2025/04/05 23:09:34.943 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:synced, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.959 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 23:09:34.960 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/05 23:09:34.972 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.972 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/05 23:09:34.978 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.992 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=659.513µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:34.996 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/05 23:09:34.997 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=7.549168ms] [job="ID:126, Type:create schema, State:done, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.008 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:synced, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.018 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 23:09:35.019 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=] [sql="create database gs_multi_files"] [user=] [2025/04/05 23:09:35.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100) unique key);"] [2025/04/05 23:09:35.034 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:35.040 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.045 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/05 23:09:35.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.867317ms] [gotSchemaVersion=66] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:35.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/05 23:09:35.067 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=9.009627ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.080 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.092 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 23:09:35.093 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100) unique key);"] [user=] [2025/04/05 23:09:35.099 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.100 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.115 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.145 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files-uk/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\",\"thread\":\"8\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:35.165 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/05 23:09:35.180 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:35.180 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:35.282 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 23:09:35.283 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:35.285 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [2025/04/05 23:09:35.294 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.294 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.298 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:35.298 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:35.298 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=1] [cost=151.007µs] [2025/04/05 23:09:35.298 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=274.528µs] [] [2025/04/05 23:09:35.298 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.299 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.355 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [subtask-count=10] [2025/04/05 23:09:35.355 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=10] [2025/04/05 23:09:35.396 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 23:09:35.399 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:35.419 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/05 23:09:35.419 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.420 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.427 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:35.427 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:35.428 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:35.428 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:35.428 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:35.428 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:35.428 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:35.428 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:35.428 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:35.428 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:35.439 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:35.441 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:35.441 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:35.441 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=encode] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:35.441 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:35.449 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [2025/04/05 23:09:35.449 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9376566e-c15c-44aa-8aca-209aafba5270] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d6add449-8f3c-4cff-b56f-7cdc53208737] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8afb6ea6-741a-4af3-aca3-94c86632dbc2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c28d156b-00fb-4cd4-bedf-79d4ab217422] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c17c4223-e0fe-41e9-be6e-2971c2c2bc41] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d9352f85-ddb8-4987-a460-b234f09d6093] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.451 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:35.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e01dc998-8c6b-46b3-b03b-5e72a3f303df] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.453 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [2025/04/05 23:09:35.501 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [readDur=6.72643ms] [encodeDur=25.497162ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=13.658123ms] [type=file] [takeTime=47.996577ms] [] [2025/04/05 23:09:35.520 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/793c5e6e-714d-4737-ba37-d1150e506542] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=18.964698ms] [write-speed(bytes/s)=2.665MiB] [2025/04/05 23:09:35.520 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/793c5e6e-714d-4737-ba37-d1150e506542] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=339.936µs] [write-time=19.095742ms] [sort-speed(kv/s)=2941730.2080] [writer-id=data/793c5e6e-714d-4737-ba37-d1150e506542] [2025/04/05 23:09:35.520 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/793c5e6e-714d-4737-ba37-d1150e506542] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000003e8] [maxKey=74800000000000007f5f7280000000000007cf] [2025/04/05 23:09:35.538 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/793c5e6e-714d-4737-ba37-d1150e506542] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=17.066678ms] [write-speed(bytes/s)=4.526MiB] [2025/04/05 23:09:35.538 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/793c5e6e-714d-4737-ba37-d1150e506542] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=347.546µs] [write-time=17.185259ms] [sort-speed(kv/s)=2877316.9595] [writer-id=index/1/793c5e6e-714d-4737-ba37-d1150e506542] [2025/04/05 23:09:35.538 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/793c5e6e-714d-4737-ba37-d1150e506542] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d313939ff3900000000000000f8] [2025/04/05 23:09:35.538 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=1] [2025/04/05 23:09:35.544 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [takeTime=95.309957ms] [] [2025/04/05 23:09:35.544 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [takeTime=95.471573ms] [] [2025/04/05 23:09:35.566 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [2025/04/05 23:09:35.566 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1b571df3-99d9-4f5c-8ff2-6d9c5fe0d392] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fd3b0290-714f-4036-b087-6fda9e32744e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3ad5ee5f-0b54-45ec-bc47-5976cea0cceb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6d515949-3a67-4d4c-a17d-d733a6d9dfd4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a0d6c9b4-18c1-47b7-a3ea-37888367c348] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3df16382-eb0a-45e7-8705-886effeef0e8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/11edc86d-1551-4ccb-b0b0-b83141a3a013] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.568 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:35.570 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [2025/04/05 23:09:35.619 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [readDur=6.811928ms] [encodeDur=26.94975ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=11.747532ms] [type=file] [takeTime=48.779634ms] [] [2025/04/05 23:09:35.637 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=17.689813ms] [write-speed(bytes/s)=2.857MiB] [2025/04/05 23:09:35.637 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=338.886µs] [write-time=17.81124ms] [sort-speed(kv/s)=2950844.8269] [writer-id=data/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [2025/04/05 23:09:35.637 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000007d0] [maxKey=74800000000000007f5f728000000000000bb7] [2025/04/05 23:09:35.657 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=19.336702ms] [write-speed(bytes/s)=3.995MiB] [2025/04/05 23:09:35.657 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=338.462µs] [write-time=19.462166ms] [sort-speed(kv/s)=2954541.4256] [writer-id=index/1/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [2025/04/05 23:09:35.657 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/f43dcdbb-980a-4e58-be7b-eb8d518f1f00] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d323030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d323939ff3900000000000000f8] [2025/04/05 23:09:35.657 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=2] [2025/04/05 23:09:35.662 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [takeTime=96.195219ms] [] [2025/04/05 23:09:35.662 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [takeTime=96.352286ms] [] [2025/04/05 23:09:35.688 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [2025/04/05 23:09:35.688 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0b5d6dd6-70cd-4162-84ac-b88da10528ff] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/29eb3a17-c500-4557-8d1f-8b9021d1e2df] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/139eb1c6-7164-452e-b005-5f91e0b3759a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0ee5fb88-51ee-446f-9751-c236645374fe] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.690 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1baa3561-20d9-44e1-81a7-534083cb6a9d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c077a39b-f01c-4552-8887-63929faf5506] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4a43ef9a-b7ce-49ea-8c11-6889d6db0a99] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.692 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [2025/04/05 23:09:35.740 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [readDur=7.502575ms] [encodeDur=26.275998ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=11.293158ms] [type=file] [takeTime=47.54911ms] [] [2025/04/05 23:09:35.762 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/9590171a-c9b6-4a8f-b366-885744032429] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=21.562909ms] [write-speed(bytes/s)=2.344MiB] [2025/04/05 23:09:35.762 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/9590171a-c9b6-4a8f-b366-885744032429] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=347.182µs] [write-time=21.679233ms] [sort-speed(kv/s)=2880333.6579] [writer-id=data/9590171a-c9b6-4a8f-b366-885744032429] [2025/04/05 23:09:35.762 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9590171a-c9b6-4a8f-b366-885744032429] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000bb8] [maxKey=74800000000000007f5f728000000000000f9f] [2025/04/05 23:09:35.791 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/9590171a-c9b6-4a8f-b366-885744032429] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=28.281342ms] [write-speed(bytes/s)=2.731MiB] [2025/04/05 23:09:35.791 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/9590171a-c9b6-4a8f-b366-885744032429] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=348.337µs] [write-time=28.397152ms] [sort-speed(kv/s)=2870783.1784] [writer-id=index/1/9590171a-c9b6-4a8f-b366-885744032429] [2025/04/05 23:09:35.791 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/9590171a-c9b6-4a8f-b366-885744032429] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d333030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d333939ff3900000000000000f8] [2025/04/05 23:09:35.791 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=3] [2025/04/05 23:09:35.801 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [takeTime=113.327328ms] [] [2025/04/05 23:09:35.802 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [takeTime=113.494389ms] [] [2025/04/05 23:09:35.824 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [2025/04/05 23:09:35.824 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6209985c-d4ea-41a9-919f-511aae3e6317] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/64d021a2-4ff5-4412-ac62-66a8ab6d07c9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/81416b9c-9e7c-4c97-b31a-72b40c50a9fc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e9df27d0-21bd-4cec-af64-d9d130dd629c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.825 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/92ed0f61-97c1-444a-b8df-924fbb5ca365] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a96c5d6c-9ef4-4a2f-b471-15d6b944833c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.825 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b2f213be-6519-4b24-9dcc-573d1a60bf86] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.828 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [2025/04/05 23:09:35.897 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [readDur=8.023358ms] [encodeDur=30.774015ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=27.397982ms] [type=file] [takeTime=68.96975ms] [] [2025/04/05 23:09:35.925 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8420bf56-abc0-45d6-8438-2d31abf939d7] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=27.525227ms] [write-speed(bytes/s)=1.836MiB] [2025/04/05 23:09:35.925 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8420bf56-abc0-45d6-8438-2d31abf939d7] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=342.965µs] [write-time=27.652085ms] [sort-speed(kv/s)=2915749.4205] [writer-id=data/8420bf56-abc0-45d6-8438-2d31abf939d7] [2025/04/05 23:09:35.925 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8420bf56-abc0-45d6-8438-2d31abf939d7] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000fa0] [maxKey=74800000000000007f5f728000000000001387] [2025/04/05 23:09:35.952 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8420bf56-abc0-45d6-8438-2d31abf939d7] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=26.177942ms] [write-speed(bytes/s)=2.951MiB] [2025/04/05 23:09:35.952 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8420bf56-abc0-45d6-8438-2d31abf939d7] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=343.779µs] [write-time=26.310155ms] [sort-speed(kv/s)=2908845.5083] [writer-id=index/1/8420bf56-abc0-45d6-8438-2d31abf939d7] [2025/04/05 23:09:35.952 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8420bf56-abc0-45d6-8438-2d31abf939d7] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d343030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d343939ff3900000000000000f8] [2025/04/05 23:09:35.952 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=4] [2025/04/05 23:09:35.958 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [takeTime=134.452289ms] [] [2025/04/05 23:09:35.958 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [takeTime=134.602372ms] [] [2025/04/05 23:09:35.983 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [2025/04/05 23:09:35.983 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5e253aac-f154-4dac-8cca-f6ea5915d348] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.986 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/222e2d6e-3db4-448d-84f0-07a99c434259] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f6f721a9-5998-4266-84e0-d09a57a513cd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a4d92b0c-8f91-42b7-b6fc-b2216e1a5fff] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b17cb078-7c62-49da-a861-95f9e041aaac] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/df43a717-3d1a-4936-b13c-9acbc0de1c59] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c279e362-e9f4-46b5-b8cf-daac92c670f7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:35.988 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [2025/04/05 23:09:36.035 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [readDur=7.318892ms] [encodeDur=26.395089ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=10.28102ms] [type=file] [takeTime=46.624171ms] [] [2025/04/05 23:09:36.052 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8808e6aa-ac16-4993-9168-3206ab1301ab] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=16.669451ms] [write-speed(bytes/s)=3.032MiB] [2025/04/05 23:09:36.052 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8808e6aa-ac16-4993-9168-3206ab1301ab] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=345.528µs] [write-time=16.781321ms] [sort-speed(kv/s)=2894121.4605] [writer-id=data/8808e6aa-ac16-4993-9168-3206ab1301ab] [2025/04/05 23:09:36.052 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8808e6aa-ac16-4993-9168-3206ab1301ab] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001388] [maxKey=74800000000000007f5f72800000000000176f] [2025/04/05 23:09:36.071 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8808e6aa-ac16-4993-9168-3206ab1301ab] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=17.844527ms] [write-speed(bytes/s)=4.329MiB] [2025/04/05 23:09:36.071 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8808e6aa-ac16-4993-9168-3206ab1301ab] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=367.471µs] [write-time=17.965639ms] [sort-speed(kv/s)=2721303.1777] [writer-id=index/1/8808e6aa-ac16-4993-9168-3206ab1301ab] [2025/04/05 23:09:36.071 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8808e6aa-ac16-4993-9168-3206ab1301ab] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d353030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d353939ff3900000000000000f8] [2025/04/05 23:09:36.071 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=5] [2025/04/05 23:09:36.077 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [takeTime=93.664211ms] [] [2025/04/05 23:09:36.077 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [takeTime=93.855299ms] [] [2025/04/05 23:09:36.099 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [2025/04/05 23:09:36.099 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/82b852b2-e09d-4567-a386-8072dc8aa038] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/60a0d265-96b4-47a2-bbdc-6c12c826e865] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0e0b674f-2306-4aa9-8036-786a14279f84] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9f6f1dc0-bdfc-41e1-a2a1-538ef99a725c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.101 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/44394638-fcf2-415e-9b69-76e12662b0b0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fb653571-4f0e-434e-ad94-dab43c3ff2b9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.101 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5f5347db-a740-4d6f-aa0b-9144f6e65d7b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.103 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [2025/04/05 23:09:36.150 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [readDur=7.231409ms] [encodeDur=25.170086ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=11.69465ms] [type=file] [takeTime=46.502375ms] [] [2025/04/05 23:09:36.167 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=17.114411ms] [write-speed(bytes/s)=2.953MiB] [2025/04/05 23:09:36.168 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=347.965µs] [write-time=17.243495ms] [sort-speed(kv/s)=2873852.2553] [writer-id=data/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [2025/04/05 23:09:36.168 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001b58] [maxKey=74800000000000007f5f728000000000001f3f] [2025/04/05 23:09:36.190 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=21.455286ms] [write-speed(bytes/s)=3.6MiB] [2025/04/05 23:09:36.190 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=336.79µs] [write-time=21.649034ms] [sort-speed(kv/s)=2969209.2996] [writer-id=index/1/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [2025/04/05 23:09:36.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/0d1d30de-4051-4438-b0fa-e39b3d82a10c] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d373030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d373939ff3900000000000000f8] [2025/04/05 23:09:36.190 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=7] [2025/04/05 23:09:36.198 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [takeTime=98.287854ms] [] [2025/04/05 23:09:36.198 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [takeTime=98.481072ms] [] [2025/04/05 23:09:36.222 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [2025/04/05 23:09:36.222 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fcde5f9e-5fba-4dd8-9abe-604c0999fb0b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6c0ff048-771f-4731-b655-e50955af2838] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b7915291-5818-4be6-bdd4-9aa05ab5dd3a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d0c3bb34-4b36-4fe1-8d29-852f97658416] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/308e1595-9094-46ff-926b-bb279b02570c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7c920cce-9add-4eec-bc74-83af433aaebd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/00a92b88-fe91-435e-9c93-1c3321a8da7a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.224 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:36.227 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [2025/04/05 23:09:36.282 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [readDur=7.793705ms] [encodeDur=28.630277ms] [checksum="{cksum=14807964115588225436,size=98880,kvs=2000}"] [deliverDur=15.429036ms] [type=file] [takeTime=55.694064ms] [] [2025/04/05 23:09:36.303 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/6a237d47-3683-4b8b-8178-980a411f2d39] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=19.620808ms] [write-speed(bytes/s)=2.522MiB] [2025/04/05 23:09:36.303 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/6a237d47-3683-4b8b-8178-980a411f2d39] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=612.87µs] [write-time=19.761415ms] [sort-speed(kv/s)=1631667.4009] [writer-id=data/6a237d47-3683-4b8b-8178-980a411f2d39] [2025/04/05 23:09:36.303 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6a237d47-3683-4b8b-8178-980a411f2d39] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000000] [maxKey=74800000000000007f5f7280000000000003e7] [2025/04/05 23:09:36.327 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/6a237d47-3683-4b8b-8178-980a411f2d39] [sequence-number=0] [bytes=78990] [stat-size=103] [write-time=19.780747ms] [write-speed(bytes/s)=3.808MiB] [2025/04/05 23:09:36.327 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/6a237d47-3683-4b8b-8178-980a411f2d39] [sequence-number=0] [bytes=78990] [kv-cnt=1000] [sort-time=4.002498ms] [write-time=19.921542ms] [sort-speed(kv/s)=249843.9724] [writer-id=index/1/6a237d47-3683-4b8b-8178-980a411f2d39] [2025/04/05 23:09:36.327 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/6a237d47-3683-4b8b-8178-980a411f2d39] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d300000fd] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff0000000000000000f7] [2025/04/05 23:09:36.327 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=0] [2025/04/05 23:09:36.333 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [takeTime=110.74588ms] [] [2025/04/05 23:09:36.334 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [takeTime=111.700658ms] [] [2025/04/05 23:09:36.358 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [2025/04/05 23:09:36.359 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ae3f080d-e2ef-4957-92bb-355b99ad7826] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ff775b88-57c4-4ac3-af0f-0bfec277084e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4a05c716-e046-45a3-90a1-75ae3e2b9007] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/04fc90c2-844b-4208-9859-c18eea57a3c0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9aa5b639-b443-406d-b050-f476ebfa2c9c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e31302ec-6b6a-46ea-92a4-eb29668ad0e1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2a1339a9-fa54-41e5-b555-c49a2fcdba9d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.361 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:36.364 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [2025/04/05 23:09:36.428 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [readDur=7.642939ms] [encodeDur=28.262189ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=25.317008ms] [type=file] [takeTime=63.834053ms] [] [2025/04/05 23:09:36.456 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/5185f88c-0421-40a1-95a7-0e89dca78c35] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=27.656795ms] [write-speed(bytes/s)=1.828MiB] [2025/04/05 23:09:36.456 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/5185f88c-0421-40a1-95a7-0e89dca78c35] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=332.316µs] [write-time=27.776918ms] [sort-speed(kv/s)=3009184.0297] [writer-id=data/5185f88c-0421-40a1-95a7-0e89dca78c35] [2025/04/05 23:09:36.456 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5185f88c-0421-40a1-95a7-0e89dca78c35] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001770] [maxKey=74800000000000007f5f728000000000001b57] [2025/04/05 23:09:36.486 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/5185f88c-0421-40a1-95a7-0e89dca78c35] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=29.1203ms] [write-speed(bytes/s)=2.653MiB] [2025/04/05 23:09:36.486 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/5185f88c-0421-40a1-95a7-0e89dca78c35] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=342.086µs] [write-time=29.246157ms] [sort-speed(kv/s)=2923241.5241] [writer-id=index/1/5185f88c-0421-40a1-95a7-0e89dca78c35] [2025/04/05 23:09:36.486 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/5185f88c-0421-40a1-95a7-0e89dca78c35] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d363030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d363939ff3900000000000000f8] [2025/04/05 23:09:36.486 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=6] [2025/04/05 23:09:36.497 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [takeTime=138.103134ms] [] [2025/04/05 23:09:36.497 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [takeTime=138.345554ms] [] [2025/04/05 23:09:36.520 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [2025/04/05 23:09:36.520 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/63caba68-8a45-47ea-aa71-4d7b466c0c27] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c8ca8cf1-8891-4a54-9a08-60ab11138f0c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/54dda65a-0ba8-4256-8735-c8b79a8b704e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fab64450-cad9-48f5-b97c-dccfce671206] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0259f134-8f62-4135-a056-06fa4098045d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7a404b82-4f51-4674-bb28-ee9486c730b5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.522 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:36.522 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/285a2984-60ee-4066-8a55-6016e3c9d62f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.524 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [2025/04/05 23:09:36.584 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [readDur=7.246052ms] [encodeDur=28.018781ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=22.638281ms] [type=file] [takeTime=59.835951ms] [] [2025/04/05 23:09:36.604 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/48c7b709-94aa-446a-ba62-ce62246b95cb] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=18.99821ms] [write-speed(bytes/s)=2.661MiB] [2025/04/05 23:09:36.604 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/48c7b709-94aa-446a-ba62-ce62246b95cb] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=348.451µs] [write-time=19.139753ms] [sort-speed(kv/s)=2869843.9666] [writer-id=data/48c7b709-94aa-446a-ba62-ce62246b95cb] [2025/04/05 23:09:36.604 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/48c7b709-94aa-446a-ba62-ce62246b95cb] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001f40] [maxKey=74800000000000007f5f728000000000002327] [2025/04/05 23:09:36.625 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/48c7b709-94aa-446a-ba62-ce62246b95cb] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=20.632484ms] [write-speed(bytes/s)=3.744MiB] [2025/04/05 23:09:36.625 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/48c7b709-94aa-446a-ba62-ce62246b95cb] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=370.377µs] [write-time=20.756156ms] [sort-speed(kv/s)=2699951.6709] [writer-id=index/1/48c7b709-94aa-446a-ba62-ce62246b95cb] [2025/04/05 23:09:36.625 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/48c7b709-94aa-446a-ba62-ce62246b95cb] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d383030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d383939ff3900000000000000f8] [2025/04/05 23:09:36.626 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=8] [2025/04/05 23:09:36.631 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [takeTime=111.394649ms] [] [2025/04/05 23:09:36.632 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [takeTime=111.933813ms] [] [2025/04/05 23:09:36.656 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [2025/04/05 23:09:36.656 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f5f0f5c1-e906-4176-bbcc-b6e5d68454f3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/79abac30-a61f-4155-a1c3-b892533718e1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5d768f8a-b8ce-44d2-9e3a-c1e10ee72927] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/30c2aa32-fc3b-4990-aeb2-92c315c2a1c7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1033f973-38c3-45f5-9c62-97b7874f90a1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3a0b5efd-f779-491c-a4ea-1bc964952e54] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/67b894bd-5922-47e4-bf9a-52b7283bcfbb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 23:09:36.658 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 23:09:36.660 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [2025/04/05 23:09:36.716 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [readDur=7.923715ms] [encodeDur=31.72756ms] [checksum="{cksum=15899235463001290329,size=102100,kvs=2002}"] [deliverDur=12.993891ms] [type=file] [takeTime=55.317226ms] [] [2025/04/05 23:09:36.736 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/6b987684-967c-4417-9623-e522205ef983] [sequence-number=0] [bytes=53052] [stat-size=74] [write-time=19.62884ms] [write-speed(bytes/s)=2.578MiB] [2025/04/05 23:09:36.736 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/6b987684-967c-4417-9623-e522205ef983] [sequence-number=0] [bytes=53052] [kv-cnt=1001] [sort-time=442.505µs] [write-time=19.758507ms] [sort-speed(kv/s)=2262121.3320] [writer-id=data/6b987684-967c-4417-9623-e522205ef983] [2025/04/05 23:09:36.736 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6b987684-967c-4417-9623-e522205ef983] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000002328] [maxKey=74800000000000007f5f728000000005f5e0ff] [2025/04/05 23:09:36.758 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/6b987684-967c-4417-9623-e522205ef983] [sequence-number=0] [bytes=81080] [stat-size=112] [write-time=20.830267ms] [write-speed(bytes/s)=3.712MiB] [2025/04/05 23:09:36.758 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/6b987684-967c-4417-9623-e522205ef983] [sequence-number=0] [bytes=81080] [kv-cnt=1001] [sort-time=693.743µs] [write-time=20.952002ms] [sort-speed(kv/s)=1442897.4418] [writer-id=index/1/6b987684-967c-4417-9623-e522205ef983] [2025/04/05 23:09:36.758 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/6b987684-967c-4417-9623-e522205ef983] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f8] [2025/04/05 23:09:36.758 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=9] [2025/04/05 23:09:36.764 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [takeTime=107.845535ms] [] [2025/04/05 23:09:36.764 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [takeTime=108.018537ms] [] [2025/04/05 23:09:36.789 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 23:09:36.790 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:36.791 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [2025/04/05 23:09:36.798 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.799 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.816 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=data] [2025/04/05 23:09:36.816 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=1] [2025/04/05 23:09:36.816 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.817 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.820 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 23:09:36.821 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 23:09:36.887 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:36.888 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:36.889 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 23:09:36.908 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:36.908 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/05 23:09:36.909 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.910 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:36.910 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:36.910 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:36.910 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:36.910 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:36.910 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:36.910 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:36.910 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.910 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.910 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.910 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.910 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:36.911 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.912 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:36.912 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.912 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.912 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.912 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=1.471411253s] [] [2025/04/05 23:09:36.913 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 23:09:36.931 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:36.931 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:36.932 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:36.932 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:36.933 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:36.933 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:36.933 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:36.933 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:36.933 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:36.933 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:36.934 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:36.937 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:36.937 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:36.937 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:36.937 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:36.937 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:36.937 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:36.937 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:36.937 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.937 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.937 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.937 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.937 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:36.938 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:36.939 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:36.944 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f728000000000000000] [endKey=74800000000000007f5f728000000005f5e0ff00] [dataFiles=10] [2025/04/05 23:09:36.944 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:36.947 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:36.947 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:36.948 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:36.949 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:36.949 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:36.949 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:36.949 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:36.949 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:36.949 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:36.949 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:36.949 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:36.953 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:36.953 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:36.953 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:36.953 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:36.953 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:36.953 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:36.953 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:36.953 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.953 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.953 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.953 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.953 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:36.954 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 23:09:36.954 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 23:09:36.960 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f69800000000000000101746573742d300000fd] [endKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [dataFiles=10] [2025/04/05 23:09:36.960 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 23:09:36.960 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.961 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.976 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [subtask-count=2] [2025/04/05 23:09:36.977 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=2] [2025/04/05 23:09:37.008 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:37.028 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.029 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.037 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:37.037 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:37.037 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:37.038 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:37.038 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:37.038 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:37.038 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:37.038 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:37.038 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:37.039 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:37.051 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:37.052 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:37.052 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:37.053 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:37.061 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [2025/04/05 23:09:37.063 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [2025/04/05 23:09:37.063 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.064 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:37.067 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F728000000000000000] [endKey=74800000000000007F5F728000000005F5E0FF00] [len(keys)=2] [] [2025/04/05 23:09:37.068 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:37.089 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:37.089 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:37.089 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:37.090 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F728000000000FF0000000000000000FA] [end=7480000000000000FF7F5F728000000005FFF5E0FF0000000000FC] [2025/04/05 23:09:37.090 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.558µs] [2025/04/05 23:09:37.090 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=776.976µs] [] [2025/04/05 23:09:37.090 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:37.090 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:37.090 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f728000000000000000] [end-key=74800000000000007f5f728000000005f5e0ff00] [2025/04/05 23:09:37.090 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:37.098 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=7.475228ms] [] [2025/04/05 23:09:37.098 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:37.109 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.110 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=19.838898ms] [] [2025/04/05 23:09:37.110 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/05 23:09:37.112 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=21.799968ms] [droppedSize=0] [2025/04/05 23:09:37.121 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.612364ms] [2025/04/05 23:09:37.122 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000000] [endOfAllRanges=74800000000000007f5f728000000005f5e0ff00] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 23:09:37.152 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] [size=107374182400] [kvs=0] [importedSize=368926] [importedCount=10001] [2025/04/05 23:09:37.154 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [takeTime=91.71832ms] [] [2025/04/05 23:09:37.155 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [takeTime=93.741916ms] [] [2025/04/05 23:09:37.178 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [2025/04/05 23:09:37.181 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [2025/04/05 23:09:37.181 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.182 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 23:09:37.186 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F69800000000000000101746573742D300000FD] [endKey=74800000000000007F5F69800000000000000101746573742D393939FF3900000000000000F800] [len(keys)=2] [] [2025/04/05 23:09:37.186 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:37.208 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68cc56fc-cbcc-5dee-917f-fd1e8e404a8f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 23:09:37.208 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:37.208 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 23:09:37.209 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F698000000000FF0000010174657374FF2D300000FD000000FC] [end=7480000000000000FF7F5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80000FF0000000000000000F7] [2025/04/05 23:09:37.209 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.978µs] [2025/04/05 23:09:37.209 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=728.505µs] [] [2025/04/05 23:09:37.209 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 23:09:37.209 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 23:09:37.209 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f69800000000000000101746573742d300000fd] [end-key=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [2025/04/05 23:09:37.209 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 23:09:37.217 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=7.440615ms] [] [2025/04/05 23:09:37.217 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 23:09:37.229 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.230 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=20.958655ms] [] [2025/04/05 23:09:37.230 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/05 23:09:37.232 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=22.84514ms] [droppedSize=0] [2025/04/05 23:09:37.246 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.115737ms] [2025/04/05 23:09:37.246 +00:00] [ERROR] [local.go:1585] ["do import meets error"] [category=ddl-ingest] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.248 +00:00] [ERROR] [task_executor.go:447] ["run subtask failed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [takeTime=67.492091ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:447\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:478\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:37.248 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [takeTime=69.924812ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.249 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.256 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 23:09:37.292 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\\\"}\"]"] [2025/04/05 23:09:37.362 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=ingest] [2025/04/05 23:09:37.366 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:37.366 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:37.366 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:37.366 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:37.366 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:37.366 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:37.366 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:37.366 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.366 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.366 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.366 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:37.366 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:37.369 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:37.369 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.369 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.369 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:37.369 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=316.530407ms] [] [2025/04/05 23:09:37.369 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 23:09:37.388 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=ingest] [state=reverting] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [2025/04/05 23:09:37.392 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 23:09:37.483 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:37.489 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:37.489 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:37.490 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=5] [2025/04/05 23:09:37.490 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.491 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.582 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=5] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).TestGlobalSortUniqueKeyConflict\n\ttests/realtikvtest/importintotest4/global_sort_test.go:215\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:09:37.583 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.489532862\n# Parse_time: 0.000165101\n# Compile_time: 0.000598108\n# Rewrite_time: 0.000160889\n# Optimize_time: 0.000447497\n# Wait_TS: 0\n# DB: gs_multi_files\n# Is_internal: false\n# Digest: 6395fa38e522d6b976b103a4535a261d22cd82280649b457faabcf1144eea3ea\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjIuNDlzLCBvcGVuOjgyMG5zLCBjbG9zZTo5MDhucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZToyLjQ5cywgb3Blbjo4MjBucywgY2xvc2U6OTA4bnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000040189\nuse gs_multi_files;\nIMPORT INTO `gs_multi_files`.`t` FROM 'gs://gs-multi-files-uk/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH cloud_storage_uri=_UTF8MB4'gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/', __max_engine_size=_UTF8MB4'1', thread=8;"] --- PASS: TestImportInto/TestGlobalSortUniqueKeyConflict (2.79s) === NAME TestImportInto === RUN TestImportInto/TestSplitFile [2025/04/05 23:09:37.589 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="drop database if exists split_file"] [user=] [2025/04/05 23:09:37.604 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.604 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database split_file"] [2025/04/05 23:09:37.609 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=707.196µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:37.629 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=67] [2025/04/05 23:09:37.631 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=8.805228ms] [job="ID:130, Type:create schema, State:done, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.642 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:synced, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.653 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/05 23:09:37.653 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=gs_multi_files] [sql="create database split_file"] [user=] [2025/04/05 23:09:37.666 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=5] [takeTime=176.090791ms] [] [2025/04/05 23:09:37.668 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100));"] [2025/04/05 23:09:37.668 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.674 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.679 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 131, Table Name: t)"] [2025/04/05 23:09:37.691 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:37.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.713415ms] [gotSchemaVersion=68] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:37.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=68] [2025/04/05 23:09:37.702 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=9.729925ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.713 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.724 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 23:09:37.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=68] [cur_db=split_file] [sql="create table t (a bigint primary key , b varchar(100));"] [user=] [2025/04/05 23:09:37.731 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.778 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:37.798 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/05 23:09:37.813 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:37.813 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:37.916 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:37.917 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:37.918 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/05 23:09:37.926 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.929 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:37.929 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:37.934 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=5.306534ms] [2025/04/05 23:09:37.934 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.436343ms] [] [2025/04/05 23:09:37.935 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/05 23:09:37.935 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/05 23:09:37.968 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:37.991 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 23:09:37.991 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:37.999 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:38.000 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:38.000 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:38.000 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:38.000 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:38.000 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:38.000 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:38.000 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:38.001 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:38.001 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:38.013 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:38.015 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:38.015 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:38.015 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:38.015 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.9GiB] [2025/04/05 23:09:38.015 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:38.022 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/05 23:09:38.024 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/05 23:09:38.024 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [2025/04/05 23:09:38.030 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 23:09:38.036 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:38.036 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/05 23:09:38.050 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/05 23:09:38.096 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:0] [2025/04/05 23:09:38.101 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:0] [readDur=1.957204ms] [encodeDur=2.977893ms] [checksum="{cksum=5150199586330057191,size=6334,kvs=179}"] [deliverDur=183.51µs] [type=file] [takeTime=5.716398ms] [] [2025/04/05 23:09:38.103 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=6334] [kvs=179] [files=1] [sstFileSize=2395] [file=/tmp/tidb/import-4000/6/ca3e155a-15d5-5ae7-9e5c-7b927aa672a8.sst/b412ba68-51fd-4023-9b37-4e4c7c3e329d.sst] [firstKey=7480000000000000835F728000000000000000] [lastKey=7480000000000000835F7280000000000000B2] [2025/04/05 23:09:38.103 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:38.103 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:38.103 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 23:09:38.107 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=3.134634ms] [] [2025/04/05 23:09:38.107 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/05 23:09:38.111 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.133 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=179] [size=6334] [2025/04/05 23:09:38.133 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.134 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000000] [endOfAllRanges=7480000000000000835f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [2025/04/05 23:09:38.153 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6334] [kvs=179] [importedSize=6334] [importedCount=179] [2025/04/05 23:09:38.155 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [takeTime=48.650257ms] [] [2025/04/05 23:09:38.155 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 23:09:38.157 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.28928ms] [] [2025/04/05 23:09:38.157 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:38.157 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:38.159 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=2.030467ms] [] [2025/04/05 23:09:38.159 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/05 23:09:38.163 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:38.163 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [takeTime=3.625457ms] [] [2025/04/05 23:09:38.163 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:38.164 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=1.087348ms] [] [2025/04/05 23:09:38.164 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [takeTime=139.9485ms] [] [2025/04/05 23:09:38.164 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=140.110501ms] [] [2025/04/05 23:09:38.190 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [2025/04/05 23:09:38.190 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [2025/04/05 23:09:38.196 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 23:09:38.200 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:38.201 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/05 23:09:38.253 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [2025/04/05 23:09:38.258 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [readDur=1.130127ms] [encodeDur=2.994062ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=157.564µs] [type=file] [takeTime=4.838331ms] [] [2025/04/05 23:09:38.260 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=5832] [kvs=162] [files=1] [sstFileSize=2228] [file=/tmp/tidb/import-4000/6/daa203f4-1887-5623-a6a4-248c6bef501a.sst/cce0e3d0-3051-4d7f-a381-61bc89b9f43b.sst] [firstKey=7480000000000000835F7280000000000000B3] [lastKey=7480000000000000835F728000000000000154] [2025/04/05 23:09:38.260 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/05 23:09:38.260 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/05 23:09:38.260 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 23:09:38.263 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=2.865636ms] [] [2025/04/05 23:09:38.263 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/05 23:09:38.267 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.289 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/05 23:09:38.289 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.291 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f7280000000000000b3] [endOfAllRanges=7480000000000000835f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [2025/04/05 23:09:38.307 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/05 23:09:38.309 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [takeTime=46.23932ms] [] [2025/04/05 23:09:38.309 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 23:09:38.311 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.32027ms] [] [2025/04/05 23:09:38.311 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/05 23:09:38.311 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:38.313 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=2.094402ms] [] [2025/04/05 23:09:38.313 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/05 23:09:38.317 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:38.317 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [takeTime=3.657941ms] [] [2025/04/05 23:09:38.317 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:38.318 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=1.048902ms] [] [2025/04/05 23:09:38.318 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [takeTime=127.432461ms] [] [2025/04/05 23:09:38.318 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [takeTime=127.60665ms] [] [2025/04/05 23:09:38.346 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [2025/04/05 23:09:38.347 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [2025/04/05 23:09:38.352 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 23:09:38.357 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:38.357 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/05 23:09:38.429 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [2025/04/05 23:09:38.434 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [readDur=1.076908ms] [encodeDur=2.818831ms] [checksum="{cksum=8141207420748078351,size=5724,kvs=159}"] [deliverDur=152.779µs] [type=file] [takeTime=4.606703ms] [] [2025/04/05 23:09:38.436 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=5724] [kvs=159] [files=1] [sstFileSize=2181] [file=/tmp/tidb/import-4000/6/f3889bb6-7112-53f8-a71e-4117aeb30a89.sst/f78c6311-da8a-43d9-9bfb-615a336b5a48.sst] [firstKey=7480000000000000835F728000000000000155] [lastKey=7480000000000000835F7280000000000001F3] [2025/04/05 23:09:38.436 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/05 23:09:38.436 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/05 23:09:38.436 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 23:09:38.439 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=2.837856ms] [] [2025/04/05 23:09:38.439 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/05 23:09:38.443 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.465 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/05 23:09:38.465 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.467 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000155] [endOfAllRanges=7480000000000000835f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001f40000000000fa] [2025/04/05 23:09:38.483 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/05 23:09:38.485 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [takeTime=46.133597ms] [] [2025/04/05 23:09:38.485 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 23:09:38.486 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.360894ms] [] [2025/04/05 23:09:38.486 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/05 23:09:38.486 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:38.488 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=2.018075ms] [] [2025/04/05 23:09:38.488 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/05 23:09:38.492 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:38.492 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [takeTime=3.711632ms] [] [2025/04/05 23:09:38.492 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:38.493 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=1.0169ms] [] [2025/04/05 23:09:38.494 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [takeTime=146.963865ms] [] [2025/04/05 23:09:38.494 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=147.121232ms] [] [2025/04/05 23:09:38.520 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:38.521 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:38.522 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:38.522 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:38.556 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":500}"] [2025/04/05 23:09:38.558 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:38.558 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:38.596 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:38.603 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 23:09:38.608 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:38.608 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:38.608 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:38.608 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:38.608 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:38.608 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:38.608 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:38.608 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.608 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:38.608 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.608 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.608 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:38.610 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:38.610 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.610 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.610 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.610 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=594.640343ms] [] [2025/04/05 23:09:38.611 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:38.619 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [2025/04/05 23:09:38.619 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/05 23:09:38.619 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/05 23:09:38.619 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/05 23:09:38.619 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=4.897µs] [] [2025/04/05 23:09:38.619 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [groupId=-1] [size=17890] [kvs=500] [checksum=14807964115588225436] [2025/04/05 23:09:38.619 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [checksum="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/05 23:09:38.619 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [weight=30] [2025/04/05 23:09:38.620 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [concurrency=15] [2025/04/05 23:09:38.622 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=131] [physicalTableID=131] [indexID=-1] [checksum=14807964115588225436] [totalKvs=500] [totalBytes=17890] [2025/04/05 23:09:38.622 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:38.622 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [local="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/05 23:09:38.622 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.817656ms] [] [2025/04/05 23:09:38.622 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.957388ms] [] [2025/04/05 23:09:38.622 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [takeTime=3.08472ms] [] [2025/04/05 23:09:38.638 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:38.720 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:38.720 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/05 23:09:38.724 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/05 23:09:38.741 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=130.106231ms] [] [2025/04/05 23:09:38.742 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 23:09:38.815 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:38.821 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:38.821 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:38.824 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:38.825 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 23:09:38.825 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:09:38.844 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:39.014 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.289325867\n# Parse_time: 0.000177145\n# Compile_time: 0.000544023\n# Rewrite_time: 0.00014368\n# Optimize_time: 0.000447497\n# Wait_TS: 0\n# DB: split_file\n# Is_internal: false\n# Digest: 2ff8c7a90b6a08155ae0c30f4c542caa39e345b748ddb8d3b0de2c4daa189961\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjcwNm5zLCBjbG9zZTo3MzFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjcwNm5zLCBjbG9zZTo3MzFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000040189\nuse split_file;\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', __max_engine_size=_UTF8MB4'1';"] [2025/04/05 23:09:39.053 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:39.052 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:09:39.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.065 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 133, Table Name: t, Old Table ID: 131, Old Table Name: t)"] [2025/04/05 23:09:39.082 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.737064ms] [gotSchemaVersion=69] [phyTblIDs="[131,133]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:39.085 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=69] [2025/04/05 23:09:39.087 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=9.284602ms] [job="ID:134, Type:truncate table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.098 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[131]"] [comment="truncate table: table ID"] [2025/04/05 23:09:39.103 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="truncate table"] [2025/04/05 23:09:39.104 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 23:09:39.124 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=split_file] [sql="truncate table t"] [user=] [2025/04/05 23:09:39.131 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:39.176 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"skip_rows\":\"1\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:39.195 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/05 23:09:39.210 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:39.210 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:39.312 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:39.313 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:39.314 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/05 23:09:39.322 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:39.325 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:39.325 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 23:09:39.330 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=4.977652ms] [2025/04/05 23:09:39.330 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.092679ms] [] [2025/04/05 23:09:39.330 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/05 23:09:39.330 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/05 23:09:39.369 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:39.391 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 23:09:39.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:39.399 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:39.399 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:39.399 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:39.400 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:39.400 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:39.400 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:39.400 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:39.400 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:39.400 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:39.400 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:39.411 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:39.413 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:39.413 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/05 23:09:39.413 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:39.413 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.9GiB] [2025/04/05 23:09:39.413 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:39.418 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/05 23:09:39.421 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [2025/04/05 23:09:39.421 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [2025/04/05 23:09:39.427 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 23:09:39.433 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:39.433 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 23:09:39.443 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/05 23:09:39.507 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:0] [2025/04/05 23:09:39.513 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:0] [readDur=1.048709ms] [encodeDur=3.456155ms] [checksum="{cksum=8361670451610043062,size=6300,kvs=178}"] [deliverDur=346.852µs] [type=file] [takeTime=5.47169ms] [] [2025/04/05 23:09:39.515 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=6300] [kvs=178] [files=1] [sstFileSize=2388] [file=/tmp/tidb/import-4000/7/ca3e155a-15d5-5ae7-9e5c-7b927aa672a8.sst/d318611a-12d2-4cd9-a45a-01d2643745e3.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F7280000000000000B2] [2025/04/05 23:09:39.515 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:39.515 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:39.515 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 23:09:39.518 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=3.118515ms] [] [2025/04/05 23:09:39.518 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/05 23:09:39.522 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:39.544 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=178] [size=6300] [2025/04/05 23:09:39.544 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:39.546 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [2025/04/05 23:09:39.564 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6300] [kvs=178] [importedSize=6300] [importedCount=178] [2025/04/05 23:09:39.565 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [takeTime=47.505933ms] [] [2025/04/05 23:09:39.566 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 23:09:39.567 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.250214ms] [] [2025/04/05 23:09:39.567 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:39.567 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:39.569 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=2.049606ms] [] [2025/04/05 23:09:39.569 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/05 23:09:39.573 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:39.573 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [takeTime=3.562864ms] [] [2025/04/05 23:09:39.573 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 23:09:39.574 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=1.117753ms] [] [2025/04/05 23:09:39.574 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [takeTime=153.126765ms] [] [2025/04/05 23:09:39.574 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=153.307662ms] [] [2025/04/05 23:09:39.597 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [2025/04/05 23:09:39.597 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [2025/04/05 23:09:39.603 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 23:09:39.608 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:39.608 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 23:09:39.682 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [2025/04/05 23:09:39.687 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [readDur=1.014287ms] [encodeDur=2.911555ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=192.819µs] [type=file] [takeTime=4.594348ms] [] [2025/04/05 23:09:39.688 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=5832] [kvs=162] [files=1] [sstFileSize=2228] [file=/tmp/tidb/import-4000/7/daa203f4-1887-5623-a6a4-248c6bef501a.sst/37763da8-42e9-4409-93ba-d2a3f856743f.sst] [firstKey=7480000000000000855F7280000000000000B3] [lastKey=7480000000000000855F728000000000000154] [2025/04/05 23:09:39.688 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/05 23:09:39.688 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/05 23:09:39.688 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 23:09:39.692 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=3.611775ms] [] [2025/04/05 23:09:39.692 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/05 23:09:39.697 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:39.719 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/05 23:09:39.719 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:39.721 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f7280000000000000b3] [endOfAllRanges=7480000000000000855f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [2025/04/05 23:09:39.738 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/05 23:09:39.740 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [takeTime=47.706872ms] [] [2025/04/05 23:09:39.740 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 23:09:39.741 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.430243ms] [] [2025/04/05 23:09:39.742 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/05 23:09:39.742 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:39.744 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=2.066573ms] [] [2025/04/05 23:09:39.744 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/05 23:09:39.747 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:39.747 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [takeTime=3.625027ms] [] [2025/04/05 23:09:39.747 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 23:09:39.749 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=1.157709ms] [] [2025/04/05 23:09:39.749 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [takeTime=151.477814ms] [] [2025/04/05 23:09:39.749 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [takeTime=151.905156ms] [] [2025/04/05 23:09:39.770 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [2025/04/05 23:09:39.770 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [2025/04/05 23:09:39.775 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 23:09:39.780 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:39.780 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 23:09:39.810 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [2025/04/05 23:09:39.815 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [readDur=1.027698ms] [encodeDur=2.66383ms] [checksum="{cksum=15344168976920314669,size=5724,kvs=159}"] [deliverDur=166.385µs] [type=file] [takeTime=4.314832ms] [] [2025/04/05 23:09:39.816 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=5724] [kvs=159] [files=1] [sstFileSize=2181] [file=/tmp/tidb/import-4000/7/f3889bb6-7112-53f8-a71e-4117aeb30a89.sst/97a45b66-c793-4e21-b379-0a1e251cb829.sst] [firstKey=7480000000000000855F728000000000000155] [lastKey=7480000000000000855F7280000000000001F3] [2025/04/05 23:09:39.816 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/05 23:09:39.816 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/05 23:09:39.817 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 23:09:39.819 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=2.840091ms] [] [2025/04/05 23:09:39.819 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/05 23:09:39.824 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:39.846 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/05 23:09:39.846 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:39.848 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000155] [endOfAllRanges=7480000000000000855f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001f40000000000fa] [2025/04/05 23:09:39.866 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/05 23:09:39.868 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [takeTime=48.497936ms] [] [2025/04/05 23:09:39.868 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 23:09:39.869 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.285812ms] [] [2025/04/05 23:09:39.869 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/05 23:09:39.869 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:39.872 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=2.000691ms] [] [2025/04/05 23:09:39.872 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/05 23:09:39.875 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:39.875 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [takeTime=3.597945ms] [] [2025/04/05 23:09:39.875 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 23:09:39.876 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=1.065254ms] [] [2025/04/05 23:09:39.877 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [takeTime=106.260634ms] [] [2025/04/05 23:09:39.877 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=106.39295ms] [] [2025/04/05 23:09:39.916 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:39.917 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:39.918 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:39.918 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:39.953 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":499}"] [2025/04/05 23:09:39.954 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:39.954 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:39.974 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:39.980 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 23:09:39.984 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:39.984 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:39.984 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:39.984 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:39.984 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:39.984 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:39.984 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:39.984 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:39.984 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:39.984 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:39.984 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:39.984 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:39.986 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:39.986 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:39.986 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:39.986 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:39.986 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=573.096076ms] [] [2025/04/05 23:09:39.987 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:39.995 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [2025/04/05 23:09:39.995 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/05 23:09:39.995 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/05 23:09:39.995 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/05 23:09:39.995 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=2.089µs] [] [2025/04/05 23:09:39.995 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [groupId=-1] [size=17856] [kvs=499] [checksum=6555504159897345263] [2025/04/05 23:09:39.995 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [checksum="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/05 23:09:39.995 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [weight=30] [2025/04/05 23:09:39.995 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [concurrency=15] [2025/04/05 23:09:39.997 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=6555504159897345263] [totalKvs=499] [totalBytes=17856] [2025/04/05 23:09:39.997 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:39.997 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [local="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/05 23:09:39.997 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=2.574624ms] [] [2025/04/05 23:09:39.997 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=2.689467ms] [] [2025/04/05 23:09:39.998 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [takeTime=2.807325ms] [] [2025/04/05 23:09:40.010 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:40.016 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:40.016 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/05 23:09:40.019 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/05 23:09:40.041 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=53.306619ms] [] [2025/04/05 23:09:40.041 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 23:09:40.112 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:40.112 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.987116163\n# Parse_time: 0.000198832\n# Compile_time: 0.000516987\n# Rewrite_time: 0.000121762\n# Optimize_time: 0.000251179\n# Wait_TS: 0\n# DB: split_file\n# Is_internal: false\n# Digest: 0ecbe8e161f1b07f2c7d18a2afd5bf392db1a2fba4892509a9cd877780196c70\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4xbXMsIG9wZW46NTg3bnMsIGNsb3NlOjczMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni4xbXMsIG9wZW46NTg3bnMsIGNsb3NlOjczMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000040189\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', skip_rows=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/05 23:09:40.118 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:40.118 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:40.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:40.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (a int primary key nonclustered, b varchar(100));"] [2025/04/05 23:09:40.139 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:40.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.145 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t2)"] [2025/04/05 23:09:40.161 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.655522ms] [gotSchemaVersion=70] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:40.164 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=70] [2025/04/05 23:09:40.166 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=8.483736ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:40.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.176 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:40.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:40.188 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/05 23:09:40.188 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=split_file] [sql="create table t2 (a int primary key nonclustered, b varchar(100));"] [user=] [2025/04/05 23:09:40.194 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:40.240 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"lines_terminated_by\":\"\\r\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/05 23:09:40.259 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=26B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:09:40.272 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/05 23:09:40.272 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:40.375 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:40.376 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:40.377 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/05 23:09:40.385 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:40.388 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 23:09:40.388 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=26] [2025/04/05 23:09:40.392 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=9] [RegionsCount=2] [BatchSize=26] [cost=4.508203ms] [2025/04/05 23:09:40.392 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=4.62291ms] [] [2025/04/05 23:09:40.392 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:40.392 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:09:40.428 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 23:09:40.449 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 23:09:40.449 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:40.457 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:40.457 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969679450808878] [2025/04/05 23:09:40.458 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:40.458 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:40.458 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:40.458 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:40.458 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:40.458 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:40.458 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:40.459 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:40.469 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:40.471 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:40.471 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.7GB] [2025/04/05 23:09:40.471 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:40.471 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=8] [disk-quota=348.9GiB] [2025/04/05 23:09:40.471 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:40.479 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [2025/04/05 23:09:40.479 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [2025/04/05 23:09:40.482 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/05 23:09:40.485 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/05 23:09:40.490 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/05 23:09:40.490 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/05 23:09:40.490 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/05 23:09:40.503 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:0] [2025/04/05 23:09:40.505 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:0] [readDur=1.006956ms] [encodeDur=604.066µs] [checksum="{cksum=4172864564292863038,size=207,kvs=6}"] [deliverDur=210.135µs] [type=file] [takeTime=2.136018ms] [] [2025/04/05 23:09:40.507 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=99] [kvs=3] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/8/b7061b4d-cde2-5b63-bd61-55af03920c43.sst/45b8241d-8c6f-4df6-8e1a-28b9d6eff83f.sst] [firstKey=7480000000000000875F728000000000000001] [lastKey=7480000000000000875F728000000000000003] [2025/04/05 23:09:40.508 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/05 23:09:40.511 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:15] [2025/04/05 23:09:40.511 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:15] [readDur=118.553µs] [encodeDur=192.126µs] [checksum="{cksum=6641800212242329557,size=139,kvs=4}"] [deliverDur=205.307µs] [type=file] [takeTime=716.065µs] [] [2025/04/05 23:09:40.513 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=67] [kvs=2] [files=1] [sstFileSize=977] [file=/tmp/tidb/import-4000/8/b7061b4d-cde2-5b63-bd61-55af03920c43.sst/3f282c4c-3f1e-494c-8577-8d076a7b5da8.sst] [firstKey=7480000000000000875F728000000000000005] [lastKey=7480000000000000875F728000000000000006] [2025/04/05 23:09:40.513 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 23:09:40.513 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 23:09:40.513 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/05 23:09:40.516 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=2.699417ms] [] [2025/04/05 23:09:40.516 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [retryCnt=0] [2025/04/05 23:09:40.522 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:40.543 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] ["region ranges"=1] [count=5] [size=166] [2025/04/05 23:09:40.544 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:40.545 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f728000000000000001] [endOfAllRanges=7480000000000000875f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff875f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff875f728000000000ff0000070000000000fa] [2025/04/05 23:09:40.560 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] [size=166] [kvs=5] [importedSize=166] [importedCount=5] [2025/04/05 23:09:40.562 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [retryCnt=0] [takeTime=46.279624ms] [] [2025/04/05 23:09:40.562 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/05 23:09:40.564 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=1.614557ms] [] [2025/04/05 23:09:40.564 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 23:09:40.564 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/05 23:09:40.565 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=180] [count=5] [cost=1.407708ms] [file=/tmp/tidb/import-4000/8/3f0a0734-602d-5886-ba9a-bb426e401303.sst/32ee3c60-79d8-490d-99a7-5799b2511dee.sst] [2025/04/05 23:09:40.566 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=180] [kvs=5] [files=1] [sstFileSize=1011] [file=/tmp/tidb/import-4000/8/3f0a0734-602d-5886-ba9a-bb426e401303.sst/32ee3c60-79d8-490d-99a7-5799b2511dee.sst] [firstKey=7480000000000000875F698000000000000001038000000000000001] [lastKey=7480000000000000875F698000000000000001038000000000000009] [2025/04/05 23:09:40.569 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=4.632115ms] [] [2025/04/05 23:09:40.569 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [retryCnt=0] [2025/04/05 23:09:40.573 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:40.595 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] ["region ranges"=1] [count=5] [size=180] [2025/04/05 23:09:40.595 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:40.596 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f698000000000000001038000000000000001] [endOfAllRanges=7480000000000000875f69800000000000000103800000000000000900] [startKeyOfFirstRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000100000000fb] [endKeyOfLastRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000900000000fc] [2025/04/05 23:09:40.613 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] [size=180] [kvs=5] [importedSize=180] [importedCount=5] [2025/04/05 23:09:40.615 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [retryCnt=0] [takeTime=46.104848ms] [] [2025/04/05 23:09:40.615 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/05 23:09:40.616 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=1.288611ms] [] [2025/04/05 23:09:40.616 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [takeTime=136.970306ms] [] [2025/04/05 23:09:40.617 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=137.186966ms] [] [2025/04/05 23:09:40.680 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:40.681 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:40.682 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:40.682 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:40.717 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":5}"] [2025/04/05 23:09:40.719 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:40.719 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:40.755 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:40.761 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 23:09:40.764 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:40.764 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:40.764 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:40.764 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:40.765 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:40.764 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:40.765 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:40.765 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:40.765 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:40.765 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:40.765 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:40.765 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:40.767 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:40.767 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:40.767 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:40.767 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:40.767 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=295.258669ms] [] [2025/04/05 23:09:40.768 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 23:09:40.775 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [2025/04/05 23:09:40.775 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/05 23:09:40.776 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/05 23:09:40.776 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/05 23:09:40.782 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=6.025868ms] [] [2025/04/05 23:09:40.782 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=-1] [size=166] [kvs=5] [checksum=10656432631736324641] [2025/04/05 23:09:40.782 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=1] [size=180] [kvs=5] [checksum=17737380028387883466] [2025/04/05 23:09:40.782 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [checksum="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/05 23:09:40.782 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [weight=30] [2025/04/05 23:09:40.782 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [concurrency=15] [2025/04/05 23:09:40.787 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=-1] [checksum=10656432631736324641] [totalKvs=5] [totalBytes=166] [2025/04/05 23:09:40.788 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=1] [checksum=17737380028387883466] [totalKvs=5] [totalBytes=180] [2025/04/05 23:09:40.789 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:40.789 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [local="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/05 23:09:40.789 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=13.219301ms] [] [2025/04/05 23:09:40.789 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=13.367542ms] [] [2025/04/05 23:09:40.789 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [takeTime=13.495004ms] [] [2025/04/05 23:09:40.807 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:40.879 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:40.879 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/05 23:09:40.882 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/05 23:09:40.908 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=140.339807ms] [] [2025/04/05 23:09:40.908 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/05 23:09:40.974 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/05 23:09:40.979 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:40.979 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/05 23:09:41.004 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:41.176 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.987348943\n# Parse_time: 0.000114931\n# Compile_time: 0.000530115\n# Rewrite_time: 0.000093411\n# Optimize_time: 0.000263968\n# Wait_TS: 0\n# DB: split_file\n# Is_internal: false\n# Digest: 741f7eb450c2c7d63ad6bf112905fa5f7a609f86cce6a7399a8f881083918408\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni40bXMsIG9wZW46Njc0bnMsIGNsb3NlOjg5OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni40bXMsIG9wZW46Njc0bnMsIGNsb3NlOjg5OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000040189\nIMPORT INTO `split_file`.`t2` FROM 'gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ';"] [2025/04/05 23:09:41.179 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t2] ["index name"=PRIMARY] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`split_file`.`t2`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `split_file`.`t2` 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`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `split_file`.`t2` use index(`PRIMARY`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] --- PASS: TestImportInto/TestSplitFile (3.61s) === NAME TestImportInto [2025/04/05 23:09:41.214 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:41.214 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [] [2025/04/05 23:09:41.214 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:41.214 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.214 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:41.214 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:41.214 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=76.8µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=58.411µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=44.994µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=56.581µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=37.747µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=47.203µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=55.186µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=42.746µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=53.532µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=38.776µs] [2025/04/05 23:09:41.215 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.215 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.217 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:41.217 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:41.222 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0c6a1870-2117-43d1-995c-0a301378de22] ["take time"=7.877441ms] [2025/04/05 23:09:41.222 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.222 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:41.222 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a730e3cb-3174-4596-b1df-2ebf52e1849d] [watcherID=7bed319e-f712-470e-8bc9-c4dd9c2da707] [2025/04/05 23:09:41.222 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:41.222 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a730e3cb-3174-4596-b1df-2ebf52e1849d] [2025/04/05 23:09:41.222 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [ttl-worker=task-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [originalCount=4] [newCount=0] [2025/04/05 23:09:41.222 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.222 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.222 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.222 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:41.223 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [ttl-worker=task-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [originalCount=4] [newCount=0] [2025/04/05 23:09:41.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.225 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:41.227 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.227 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1567] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:41.230 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:41.229 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:41.230 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:41.230 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.230 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.230 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.230 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:41.229 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:41.230 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.229 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:41.230 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:41.229 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [2025/04/05 23:09:41.230 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.230 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [2025/04/05 23:09:41.230 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:41.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:41.230 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:41.230 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:41.231 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/05 23:09:41.232 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 23:09:41.232 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:41.232 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:41.232 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:41.232 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:41.232 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:41.232 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:41.233 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:41.233 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 23:09:41.233 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2affc3a6-5600-4262-b261-3907aa5df7ab] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:41.233 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:41.233 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:41.233 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:41.233 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [] [2025/04/05 23:09:41.233 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:41.233 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:41.233 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:41.233 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.233 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.233 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [2025/04/05 23:09:41.287 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=0c6a1870-2117-43d1-995c-0a301378de22] [error="context canceled"] [2025/04/05 23:09:41.287 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:41.287 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:41.299 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.974718ms] [2025/04/05 23:09:41.302 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:41.302 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:41.302 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:41.302 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:41.302 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:41.302 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:41.302 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:41.302 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:41.302 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:41.302 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:41.303 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:41.303 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:41.304 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (19.50s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest4:importintotest4_test up-to-date: bazel-bin/tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test INFO: Elapsed time: 32.088s, Critical Path: 14.80s INFO: 4640 processes: 4627 remote cache hit, 13 internal. INFO: Build completed successfully, 4640 total actions //tests/realtikvtest/importintotest4:importintotest4_test (cached) PASSED in 23.2s PASSED importintotest4_test.TestImportInto (19.5s) PASSED importintotest4_test.TestImportInto/TestGlobalSortBasic (5.7s) PASSED importintotest4_test.TestImportInto/TestGlobalSortMultiFiles (2.2s) PASSED importintotest4_test.TestImportInto/TestGlobalSortUniqueKeyConflict (2.8s) PASSED importintotest4_test.TestImportInto/TestSplitFile (3.6s) Test cases: finished with 5 passing and 0 failing out of 5 test cases Executed 0 out of 1 test: 1 test passes.  INFO: From Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/05 23:11:20.414 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:11:20.415 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:20.416 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:11:20.416 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:20.416 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:20.417 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:20.417 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:20.417 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:20.417 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:20.417 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:20.417 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:20.423 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:11:20.429 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:20.430 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:20.430 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:20.446 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:11:20.468 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:11:20.502 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=272] ["lease id"=6f18960835b0cebf] [2025/04/05 23:11:20.505 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:11:20.597 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=232] ["elapsed time"=86.353616ms] [2025/04/05 23:11:20.597 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:11:20.604 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:11:20.605 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=02e9336e-1f55-4629-8173-b274f406ede0] [runWorker=true] [jobVersion=v2] [2025/04/05 23:11:20.605 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:11:20.607 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:20.608 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:11:20.608 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702885376/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:11:20.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:20.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:20.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:20.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:20.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:20.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:20.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:20.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:20.609 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:11:20.609 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:20.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:20.609 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:20.609 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [2025/04/05 23:11:20.610 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c1cd] [ownerID=02e9336e-1f55-4629-8173-b274f406ede0] [op=none] [2025/04/05 23:11:20.610 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:20.611 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c1cd] [currRev=1128] [2025/04/05 23:11:20.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:20.612 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:20.612 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c1cf] [ownerID=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [op=none] [2025/04/05 23:11:20.612 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [2025/04/05 23:11:20.612 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c1cf] [currRev=1129] [2025/04/05 23:11:20.612 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:11:20.613 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c1cd] [ownerID=02e9336e-1f55-4629-8173-b274f406ede0] [op=none] [2025/04/05 23:11:20.613 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [op=none] [2025/04/05 23:11:20.613 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:11:20.618 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:20.619 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:20.620 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:20.620 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:20.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:20.621 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:11:20.627 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:11:20.630 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:11:20.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:20.637 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:20.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:20.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:20.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:20.642 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:11:20.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:20.642 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:11:20.642 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:11:20.642 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:11:20.642 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:11:20.643 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:20.643 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:20.644 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:20.644 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:20.644 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:20.645 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:20.645 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:20.646 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0cec9] [ownerID=02e9336e-1f55-4629-8173-b274f406ede0] [op=none] [2025/04/05 23:11:20.646 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:20.646 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [ownerKey=/tidb/stats/owner/6f18960835b0cec9] [currRev=1131] [2025/04/05 23:11:20.647 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:11:20.650 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:11:20.650 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f2e799a2-925a-449e-8d28-80d28eea8706] [2025/04/05 23:11:20.651 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [ttl-worker=task-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [originalCount=0] [newCount=4] [2025/04/05 23:11:20.651 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [ttl-worker=task-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [originalCount=0] [newCount=4] [2025/04/05 23:11:20.651 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:20.653 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/05 23:11:20.655 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:20.655 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:11:20.655 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894680655877203 [2025/04/05 23:11:20.656 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:11:20.663 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.288176ms] [2025/04/05 23:11:20.664 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:11:20.664 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:20.670 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:11:20.685 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:20.685 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table `cached` nocache"] [2025/04/05 23:11:20.691 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.650934ms] [gotSchemaVersion=233] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/05 23:11:20.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=233] [2025/04/05 23:11:20.712 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=233] ["take time"=9.27494ms] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.722 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.304022ms] [gotSchemaVersion=234] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/05 23:11:20.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=234] [2025/04/05 23:11:20.742 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=234] ["take time"=8.268296ms] [job="ID:272, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.751 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.763 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/05 23:11:20.763 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `cached` nocache"] [user=] [2025/04/05 23:11:20.765 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `child` nocache"] [user=] [2025/04/05 23:11:20.766 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `parent` nocache"] [user=] [2025/04/05 23:11:20.778 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/05 23:11:20.778 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:20.783 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.553644ms] [gotSchemaVersion=235] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:20.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=235] [2025/04/05 23:11:20.803 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=8.37056ms] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.681139ms] [gotSchemaVersion=236] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:20.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=236] [2025/04/05 23:11:20.832 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=236] ["take time"=8.730843ms] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.846 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 269, Old Table Name: cached)"] [2025/04/05 23:11:20.858 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.055207ms] [gotSchemaVersion=237] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:20.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=237] [2025/04/05 23:11:20.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=7.968417ms] [job="ID:273, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.873 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=273] [tableIDs="[269]"] [comment="drop table: table ID"] [2025/04/05 23:11:20.880 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=273] [jobType="drop table"] [2025/04/05 23:11:20.881 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.898 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=273] [2025/04/05 23:11:20.910 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:20.910 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/05 23:11:20.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.932 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=2.115244ms] [gotSchemaVersion=238] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:20.936 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=238] [2025/04/05 23:11:20.937 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=9.342416ms] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=2.115502ms] [gotSchemaVersion=239] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:20.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=239] [2025/04/05 23:11:20.973 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=9.547776ms] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.981 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:20.987 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 266, Old Table Name: child)"] [2025/04/05 23:11:21.001 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=977.58µs] [gotSchemaVersion=240] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:21.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=240] [2025/04/05 23:11:21.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=240] ["take time"=8.042392ms] [job="ID:274, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.016 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[266]"] [comment="drop table: table ID"] [2025/04/05 23:11:21.020 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="drop table"] [2025/04/05 23:11:21.021 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:20.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.039 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/05 23:11:21.050 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:21.050 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/05 23:11:21.055 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=1.693051ms] [gotSchemaVersion=241] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:21.074 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=241] [2025/04/05 23:11:21.076 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=241] ["take time"=8.632235ms] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=1.698555ms] [gotSchemaVersion=242] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:21.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=242] [2025/04/05 23:11:21.105 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=8.923505ms] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.114 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.119 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 264, Old Table Name: parent)"] [2025/04/05 23:11:21.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.087112ms] [gotSchemaVersion=243] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:21.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=243] [2025/04/05 23:11:21.136 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=7.806852ms] [job="ID:275, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.145 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=275] [tableIDs="[264]"] [comment="drop table: table ID"] [2025/04/05 23:11:21.149 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=275] [jobType="drop table"] [2025/04/05 23:11:21.149 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.165 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=275] [2025/04/05 23:11:21.166 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.399509704\n# Parse_time: 0.000132139\n# Compile_time: 0.000271003\n# Rewrite_time: 0.000007402\n# Optimize_time: 0.000042267\n# Wait_TS: 0.000288486\n# DB: test\n# Is_internal: false\n# Digest: 3e7fdbdb1a71f46f0a6898433864b2b2ecda43740dcdab1f93c5812a586d288f\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `cached`,`child`,`parent`;"] [2025/04/05 23:11:21.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=243] [cur_db=test] [sql="drop table `cached`,`child`,`parent`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894681166733214 [2025/04/05 23:11:21.178 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:11:21.181 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[expression:1305]FUNCTION test.bulk does not exist"] [errorVerbose="[expression:1305]FUNCTION test.bulk does not 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/expression.newFunctionImpl\n\tpkg/expression/scalar_function.go:238\ngithub.com/pingcap/tidb/pkg/expression.NewFunction\n\tpkg/expression/scalar_function.go:313\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunctionWithInit\n\tpkg/planner/core/expression_rewriter.go:1641\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunction\n\tpkg/planner/core/expression_rewriter.go:1651\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).funcCallToExpression\n\tpkg/planner/core/expression_rewriter.go:2409\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1475\ngithub.com/pingcap/tidb/pkg/parser/ast.(*FuncCallExpr).Accept\n\tpkg/parser/ast/functions.go:590\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:239\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:206\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSet\n\tpkg/planner/core/planbuilder.go:707\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:551\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:46\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="set session tidb_dml_type = bulk(10)"] [2025/04/05 23:11:21.190 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\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.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 23:11:21.190 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\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.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:108\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 23:11:21.191 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\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.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:112\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 23:11:21.192 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\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.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:116\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 23:11:21.193 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\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.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:118\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 23:11:21.193 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\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.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:122\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 23:11:21.203 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_pipelined_dml_resource_policy] [val="custom{concurrency=64,write_throttle_ratio=0.4}"] testkit.go:123: RefreshSession rand seed: 1743894681204366605 [2025/04/05 23:11:21.219 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:21.219 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/05 23:11:21.225 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:21.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.229 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 276, Table Name: t)"] [2025/04/05 23:11:21.242 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.388738ms] [gotSchemaVersion=244] [phyTblIDs="[276]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:21.245 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=244] [2025/04/05 23:11:21.247 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=8.095253ms] [job="ID:277, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:21.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.257 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:21.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:21.267 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/05 23:11:21.268 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/05 23:11:21.277 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151527316619283] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=1.015017ms] [2025/04/05 23:11:21.277 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.125096ms] [total_duration=2.431542ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457151527316619283] [2025/04/05 23:11:21.278 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151527316619283] [commitTS=457151527316619284] [2025/04/05 23:11:21.278 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457151527316619283] [startKey=7480000000000001145f728000000000000001] [endKey=7480000000000001145f728000000000000001] [2025/04/05 23:11:21.278 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457151527316619283] [commitTS=457151527316619284] [session=2] [2025/04/05 23:11:21.282 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:11:21.282 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [] [2025/04/05 23:11:21.282 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:11:21.282 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.282 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:21.282 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:21.282 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=57.56µs] [2025/04/05 23:11:21.282 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=36.296µs] [2025/04/05 23:11:21.282 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=33.48µs] [2025/04/05 23:11:21.283 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=40.13µs] [2025/04/05 23:11:21.283 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=36.859µs] [2025/04/05 23:11:21.283 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.283 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.283 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:11:21.284 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:11:21.286 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=02e9336e-1f55-4629-8173-b274f406ede0] ["take time"=3.626378ms] [2025/04/05 23:11:21.286 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.286 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:11:21.286 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f2e799a2-925a-449e-8d28-80d28eea8706] [2025/04/05 23:11:21.286 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [ttl-worker=task-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [originalCount=4] [newCount=0] [2025/04/05 23:11:21.286 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:21.286 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:21.286 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:21.286 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:21.286 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [ttl-worker=task-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [originalCount=4] [newCount=0] [2025/04/05 23:11:21.289 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:21.289 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:21.289 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:21.289 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:21.291 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.291 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=272] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:11:21.292 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [] [2025/04/05 23:11:21.292 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:21.292 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:21.292 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.292 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.292 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:11:21.292 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.292 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:21.292 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:21.292 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:21.292 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [2025/04/05 23:11:21.292 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:21.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.294 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:11:21.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.293 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:21.292 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:11:21.293 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:11:21.293 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:21.294 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:11:21.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:21.294 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=224763f5-e6e0-4b6a-a3ee-7e2fbdfc1e4b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:21.294 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:11:21.294 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:11:21.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:21.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:21.295 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:11:21.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:21.295 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:11:21.295 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:11:21.295 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:11:21.295 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:21.296 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [error="context canceled"] [2025/04/05 23:11:21.296 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [2025/04/05 23:11:21.296 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [error="context canceled"] [2025/04/05 23:11:21.296 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=02e9336e-1f55-4629-8173-b274f406ede0] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:21.312 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:11:21.312 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:21.359 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:11:21.359 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:21.369 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.628585ms] [2025/04/05 23:11:22.424 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:11:26.279 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151527316619283 commit_ts:457151527316619284 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:11:26.279 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151527316619283 commit_ts:457151527316619284 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:11:26.279 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151527316619283 commit_ts:457151527316619284 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:11:26.279 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:26.279 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:26.279 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:26.279 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:26.279 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:26.279 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:26.279 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:26.279 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:26.279 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:26.279 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:26.279 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:26.279 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:26.281 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (5.88s) === NAME === RUN TestPipelinedDMLPositive [2025/04/05 23:11:26.288 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:11:26.289 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:26.290 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:11:26.290 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:26.290 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:26.290 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:26.290 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:26.290 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:26.291 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:26.291 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:26.291 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:26.295 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:11:26.299 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:26.300 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:26.301 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:26.311 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:11:26.320 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:11:26.356 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=73] ["lease id"=6f18960835b0cf03] [2025/04/05 23:11:26.357 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:11:26.445 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=244] ["elapsed time"=84.624555ms] [2025/04/05 23:11:26.445 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:11:26.447 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:11:26.453 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d4694f75-e661-470c-8111-45ba9470f201] [runWorker=true] [jobVersion=v2] [2025/04/05 23:11:26.453 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:11:26.455 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:26.456 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:11:26.456 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702909952/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:26.456 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:26.456 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:26.456 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [2025/04/05 23:11:26.458 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c1fb] [ownerID=d4694f75-e661-470c-8111-45ba9470f201] [op=none] [2025/04/05 23:11:26.459 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:26.459 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c1fb] [currRev=1183] [2025/04/05 23:11:26.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:26.459 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:26.460 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c1fd] [ownerID=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [op=none] [2025/04/05 23:11:26.460 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [2025/04/05 23:11:26.460 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c1fd] [currRev=1183] [2025/04/05 23:11:26.460 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:11:26.461 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c1fb] [ownerID=d4694f75-e661-470c-8111-45ba9470f201] [op=none] [2025/04/05 23:11:26.461 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [op=none] [2025/04/05 23:11:26.461 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:11:26.465 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1054]Unknown column 'b' in 'field list'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'field list'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdateLists\n\tpkg/planner/core/logical_plan_builder.go:5685\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdate\n\tpkg/planner/core/logical_plan_builder.go:5548\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:545\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildExplain\n\tpkg/planner/core/planbuilder.go:5469\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:514\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLPositive\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:174\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:26.469 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:26.470 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:26.470 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:11:26.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:26.486 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:26.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:26.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:26.491 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:11:26.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:26.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:26.491 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:11:26.491 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:11:26.491 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:11:26.491 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:11:26.492 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:26.492 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:26.493 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:26.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:26.495 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0cf0d] [ownerID=d4694f75-e661-470c-8111-45ba9470f201] [op=none] [2025/04/05 23:11:26.495 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:26.495 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:11:26.495 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [ownerKey=/tidb/stats/owner/6f18960835b0cf0d] [currRev=1185] [2025/04/05 23:11:26.497 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/bff9f224-1c6a-4668-b143-bec33f85f74e] [2025/04/05 23:11:26.498 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:11:26.498 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [ttl-worker=task-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [originalCount=0] [newCount=4] [2025/04/05 23:11:26.498 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [ttl-worker=task-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [originalCount=0] [newCount=4] [2025/04/05 23:11:26.498 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:26.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:26.502 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:11:26.502 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894686502280118 [2025/04/05 23:11:26.503 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:11:26.510 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.648802ms] [2025/04/05 23:11:26.510 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:11:26.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:26.516 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:11:26.518 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=244] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:11:26.532 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:26.532 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:11:26.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.69514ms] [gotSchemaVersion=245] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:26.558 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=245] [2025/04/05 23:11:26.560 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=245] ["take time"=9.766981ms] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.570 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.584 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=1.705441ms] [gotSchemaVersion=246] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:26.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=246] [2025/04/05 23:11:26.590 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=8.786737ms] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.599 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.605 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 276, Old Table Name: t)"] [2025/04/05 23:11:26.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=1.039593ms] [gotSchemaVersion=247] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:26.621 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=247] [2025/04/05 23:11:26.622 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=8.015638ms] [job="ID:278, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.631 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=278] [tableIDs="[276]"] [comment="drop table: table ID"] [2025/04/05 23:11:26.638 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="drop table"] [2025/04/05 23:11:26.639 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.657 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=278] [2025/04/05 23:11:26.657 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=247] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894686657930044 [2025/04/05 23:11:26.669 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:11:26.671 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:11:26.684 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:26.684 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/05 23:11:26.691 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:26.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.695 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 279, Table Name: t)"] [2025/04/05 23:11:26.709 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.468233ms] [gotSchemaVersion=248] [phyTblIDs="[279]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:26.713 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=248] [2025/04/05 23:11:26.714 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=248] ["take time"=8.618223ms] [job="ID:280, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:26.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.726 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:26.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:26.737 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=280] [2025/04/05 23:11:26.737 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/05 23:11:26.745 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151528758673417] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=874.631µs] [2025/04/05 23:11:26.745 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=971.316µs] [total_duration=1.316627ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457151528758673417] [2025/04/05 23:11:26.746 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151528758673417] [startKey=7480000000000001175f728000000000000002] [endKey=7480000000000001175f728000000000000002] [2025/04/05 23:11:26.746 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151528758673417] [commitTS=0] [session=5] [2025/04/05 23:11:26.749 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151528758673419] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.234283ms] [2025/04/05 23:11:26.749 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.322503ms] [total_duration=2.736301ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457151528758673419] [2025/04/05 23:11:26.750 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151528758673419] [startKey=7480000000000001175f728000000000000003] [endKey=7480000000000001175f728000000000000003] [2025/04/05 23:11:26.750 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151528758673419] [commitTS=0] [session=5] [2025/04/05 23:11:26.757 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151528758673421] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=815.214µs] [2025/04/05 23:11:26.757 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=911.777µs] [total_duration=5.330517ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457151528758673421] [2025/04/05 23:11:26.757 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151528758673421] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:26.757 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151528758673421] [commitTS=0] [session=5] [2025/04/05 23:11:26.764 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:26.829 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:27.003 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:27.353 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:27.464 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:11:27.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:11:27.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:11:27.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:27.498 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:11:27.498 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:11:27.498 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bff9f224-1c6a-4668-b143-bec33f85f74e] [watcherID=982e267f-5528-47f3-8ecf-e8e130584154] [2025/04/05 23:11:27.502 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:11:27.507 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:11:27.507 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:11:27.507 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:11:27.507 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:11:27.871 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:28.296 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:11:28.456 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:11:28.955 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:29.496 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 23:11:29.496 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:11:31.297 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.562 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960835b0cf0b] [ownerID=d4694f75-e661-470c-8111-45ba9470f201] [op=none] [2025/04/05 23:11:31.562 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:31.562 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [ownerKey=/tidb/bindinfo/owner/6f18960835b0cf0b] [currRev=1200] [2025/04/05 23:11:31.799 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.803 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.805 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.808 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.810 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.813 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151528758673423] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.814 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673421, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.816 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151528758673423] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.051886973s] [2025/04/05 23:11:31.816 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.051984616s] [total_duration=5.057469457s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457151528758673423] [2025/04/05 23:11:31.816 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151528758673423] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:31.817 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151528758673423] [commitTS=0] [session=5] [2025/04/05 23:11:31.820 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151528758673423, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.821 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000002, primary: 7480000000000001175f728000000000000002, txnStartTS: 457151528758673417, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.823 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000003, primary: 7480000000000001175f728000000000000003, txnStartTS: 457151528758673419, lockForUpdateTS:0, minCommitTs:457151528758673424, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.825 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151530082500611] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=813.773µs] [2025/04/05 23:11:31.825 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=903.16µs] [total_duration=6.865917ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457151530082500611] [2025/04/05 23:11:31.825 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151530082500611] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:31.825 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151530082500611] [commitTS=0] [session=5] [2025/04/05 23:11:31.830 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:31.921 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:32.062 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:32.396 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:32.947 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:34.491 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.843 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.846 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.849 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.852 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.855 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.858 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.860 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.863 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151530082500613] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.864 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500611, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.865 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151530082500613] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.03624297s] [2025/04/05 23:11:36.866 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.036348405s] [total_duration=5.038992892s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457151530082500613] [2025/04/05 23:11:36.866 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151530082500613] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:36.866 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151530082500613] [commitTS=0] [session=5] [2025/04/05 23:11:36.868 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151531406065667] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=939.777µs] [2025/04/05 23:11:36.868 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.036687ms] [total_duration=1.486835ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457151531406065667] [2025/04/05 23:11:36.869 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151531406065667] [startKey=7480000000000001175f728000000000000004] [endKey=7480000000000001175f728000000000000004] [2025/04/05 23:11:36.869 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151531406065667] [commitTS=0] [session=5] [2025/04/05 23:11:36.874 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151530082500613, lockForUpdateTS:0, minCommitTs:457151530082500614, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.877 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151531406065669] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=797.713µs] [2025/04/05 23:11:36.877 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=894.528µs] [total_duration=5.032906ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457151531406065669] [2025/04/05 23:11:36.877 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151531406065669] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:36.877 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151531406065669] [commitTS=0] [session=5] [2025/04/05 23:11:36.883 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151531406065671] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=834.293µs] [2025/04/05 23:11:36.883 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=918.078µs] [total_duration=4.970277ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457151531406065671] [2025/04/05 23:11:36.884 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151531406065671] [startKey=7480000000000001175f728000000000000005] [endKey=7480000000000001175f728000000000000005] [2025/04/05 23:11:36.884 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151531406065671] [commitTS=0] [session=5] [2025/04/05 23:11:36.891 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:36.959 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:37.158 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:37.526 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:38.036 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:38.459 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:38.459 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 23:11:38.459 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:11:39.006 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:40.906 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.858 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.909 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.910 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.911 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.912 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.913 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151531419172866] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.914 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531406065669, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:41.916 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151531419172866] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.025357303s] [2025/04/05 23:11:41.916 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.025473175s] [total_duration=5.030454071s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457151531419172866] [2025/04/05 23:11:41.916 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151531419172866] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:41.917 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151531419172866] [commitTS=0] [session=5] [2025/04/05 23:11:41.949 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for update t set b = b + 1 using update /*+ SET_VAR(tidb_dml_type=bulk) */ t set b = b + 1"] [user=] [2025/04/05 23:11:41.979 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for insert into t select * from t using insert /*+ SET_VAR(tidb_dml_type=bulk) */ into t select * from t"] [user=] [2025/04/05 23:11:42.007 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for delete from t using delete /*+ SET_VAR(tidb_dml_type=bulk) */ from t"] [user=] [2025/04/05 23:11:42.010 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151531419172866, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:42.011 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000004, primary: 7480000000000001175f728000000000000004, txnStartTS: 457151531406065667, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:42.013 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000005, primary: 7480000000000001175f728000000000000005, txnStartTS: 457151531406065671, lockForUpdateTS:0, minCommitTs:457151531419172867, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:42.015 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151532756369416] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=880.728µs] [2025/04/05 23:11:42.015 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=985.355µs] [total_duration=6.398179ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457151532756369416] [2025/04/05 23:11:42.015 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151532756369416] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:42.015 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151532756369416] [commitTS=0] [session=5] [2025/04/05 23:11:42.020 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151532756369419] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=813.433µs] [2025/04/05 23:11:42.020 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=902.229µs] [total_duration=3.725173ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457151532756369419] [2025/04/05 23:11:42.021 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151532756369419] [startKey=7480000000000001175f728000000000000006] [endKey=7480000000000001175f728000000000000006] [2025/04/05 23:11:42.021 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151532756369419] [commitTS=0] [session=5] [2025/04/05 23:11:42.026 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:42.113 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:42.314 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:42.614 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:43.142 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:44.287 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.040 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.042 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.044 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.046 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.048 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.051 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.053 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.056 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.059 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.061 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.063 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457151532756369421] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.064 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457151532756369416, lockForUpdateTS:0, minCommitTs:457151532756369422, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 23:11:47.066 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151532756369421] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.040056092s] [2025/04/05 23:11:47.066 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.04015783s] [total_duration=5.043817676s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457151532756369421] [2025/04/05 23:11:47.066 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151532756369421] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 23:11:47.067 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151532756369421] [commitTS=0] [session=5] [2025/04/05 23:11:47.067 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:11:47.067 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [] [2025/04/05 23:11:47.067 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:11:47.067 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.067 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:47.067 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:47.067 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=68.518µs] [2025/04/05 23:11:47.067 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=35.99µs] [2025/04/05 23:11:47.067 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.067 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.068 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:11:47.068 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:11:47.069 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d4694f75-e661-470c-8111-45ba9470f201] ["take time"=2.77524ms] [2025/04/05 23:11:47.069 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.069 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:11:47.069 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bff9f224-1c6a-4668-b143-bec33f85f74e] [watcherID=982e267f-5528-47f3-8ecf-e8e130584154] [2025/04/05 23:11:47.069 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:11:47.070 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/bff9f224-1c6a-4668-b143-bec33f85f74e] [2025/04/05 23:11:47.070 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [ttl-worker=task-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [originalCount=4] [newCount=0] [2025/04/05 23:11:47.070 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:47.070 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:47.070 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:47.070 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:47.070 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [ttl-worker=task-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [originalCount=4] [newCount=0] [2025/04/05 23:11:47.072 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:47.072 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:47.073 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:47.073 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:47.075 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.075 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=73] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:11:47.077 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:47.076 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:47.076 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [2025/04/05 23:11:47.077 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:11:47.076 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:11:47.076 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:11:47.076 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:47.076 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [] [2025/04/05 23:11:47.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.077 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:11:47.077 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.077 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:47.077 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.078 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:11:47.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:11:47.078 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:11:47.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:47.078 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:11:47.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:47.078 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0b8161aa-a8e8-4ac0-9454-603ed72bba27] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:47.078 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [] [2025/04/05 23:11:47.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:47.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:47.078 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:11:47.078 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.078 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [error="context canceled"] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.078 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [2025/04/05 23:11:47.078 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:11:47.078 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:11:47.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:47.096 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:11:47.096 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:47.140 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d4694f75-e661-470c-8111-45ba9470f201] [error="context canceled"] [2025/04/05 23:11:47.140 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:11:47.141 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:47.152 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.01969ms] [2025/04/05 23:11:52.067 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151532756369421 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:11:52.067 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151532756369421 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:11:52.067 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151532756369421 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:11:52.067 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:52.067 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:52.067 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:52.067 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:52.067 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:52.067 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:52.067 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:52.068 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:52.067 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:52.068 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:52.068 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:52.068 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:52.069 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLPositive (25.79s) === NAME === RUN TestPipelinedDMLNegative [2025/04/05 23:11:52.076 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:11:52.077 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:52.077 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:11:52.078 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:52.078 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:52.078 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:52.078 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:52.078 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:52.079 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:52.079 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:52.079 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:52.082 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:11:52.087 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:52.088 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:52.088 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:52.097 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:11:52.106 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:11:52.140 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=983] ["lease id"=2231960835b0c946] [2025/04/05 23:11:52.141 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:11:52.226 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=248] ["elapsed time"=81.965787ms] [2025/04/05 23:11:52.226 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:11:52.228 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:11:52.233 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=40b6af25-a27b-4114-8b8a-37792863f7f0] [runWorker=true] [jobVersion=v2] [2025/04/05 23:11:52.233 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:11:52.234 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.235 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:11:52.235 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702926336/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:11:52.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:52.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:52.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:52.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:52.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:52.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:52.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:52.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:52.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:52.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:52.236 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:11:52.236 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:52.236 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [2025/04/05 23:11:52.237 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0cf9a] [ownerID=40b6af25-a27b-4114-8b8a-37792863f7f0] [op=none] [2025/04/05 23:11:52.237 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.237 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0cf9a] [currRev=1224] [2025/04/05 23:11:52.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:52.238 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:52.239 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0cf9c] [ownerID=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [op=none] [2025/04/05 23:11:52.239 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:11:52.239 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [2025/04/05 23:11:52.239 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [ownerKey=/tidb/br-stream/owner/6f18960835b0cf9c] [currRev=1225] [2025/04/05 23:11:52.239 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0cf9a] [ownerID=40b6af25-a27b-4114-8b8a-37792863f7f0] [op=none] [2025/04/05 23:11:52.239 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [op=none] [2025/04/05 23:11:52.239 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:11:52.250 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:52.251 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:11:52.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:52.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:52.270 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:52.270 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:52.270 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:11:52.270 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:52.270 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:52.270 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:11:52.270 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:11:52.270 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:11:52.270 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:11:52.271 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:52.271 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:52.272 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:52.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:52.274 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b0c951] [ownerID=40b6af25-a27b-4114-8b8a-37792863f7f0] [op=none] [2025/04/05 23:11:52.274 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:11:52.274 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.274 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [ownerKey=/tidb/stats/owner/2231960835b0c951] [currRev=1227] [2025/04/05 23:11:52.276 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/0915a6c2-67c6-4b43-acac-a422bd0f176d] [2025/04/05 23:11:52.276 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [ttl-worker=task-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [originalCount=0] [newCount=4] [2025/04/05 23:11:52.276 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [ttl-worker=task-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [originalCount=0] [newCount=4] [2025/04/05 23:11:52.276 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.277 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:11:52.277 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:52.277 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:11:52.278 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894712278109648 [2025/04/05 23:11:52.282 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:11:52.289 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.73398ms] [2025/04/05 23:11:52.289 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:11:52.289 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:52.290 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:11:52.292 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=248] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:11:52.304 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:52.304 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:11:52.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.837518ms] [gotSchemaVersion=249] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:52.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=249] [2025/04/05 23:11:52.329 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=8.712254ms] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.339 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.353 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.667063ms] [gotSchemaVersion=250] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:52.356 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=250] [2025/04/05 23:11:52.358 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=250] ["take time"=8.002344ms] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.371 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 279, Old Table Name: t)"] [2025/04/05 23:11:52.383 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=884.196µs] [gotSchemaVersion=251] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:52.386 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=251] [2025/04/05 23:11:52.388 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=7.310613ms] [job="ID:281, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.396 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=281] [tableIDs="[279]"] [comment="drop table: table ID"] [2025/04/05 23:11:52.402 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=281] [jobType="drop table"] [2025/04/05 23:11:52.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/05 23:11:52.419 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=251] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894712419637784 [2025/04/05 23:11:52.436 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:11:52.438 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:11:52.450 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:52.450 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:11:52.455 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.459 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 282, Table Name: t)"] [2025/04/05 23:11:52.472 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.328666ms] [gotSchemaVersion=252] [phyTblIDs="[282]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:52.475 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=283] [version=252] [2025/04/05 23:11:52.476 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=7.5698ms] [job="ID:283, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.486 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.496 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=283] [2025/04/05 23:11:52.497 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=252] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:11:52.499 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535508619274] [2025/04/05 23:11:52.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535508619282] [2025/04/05 23:11:52.519 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535508619285] [2025/04/05 23:11:52.532 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/05 23:11:52.551 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/05 23:11:52.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535521726472] [2025/04/05 23:11:52.561 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/05 23:11:52.572 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/05 23:11:52.575 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535521726481] [2025/04/05 23:11:52.578 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:11:52.578 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [] [2025/04/05 23:11:52.578 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.578 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:11:52.578 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:52.579 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:52.579 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=47.663µs] [2025/04/05 23:11:52.579 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=37.735µs] [2025/04/05 23:11:52.579 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.579 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.580 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:11:52.580 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:11:52.580 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=40b6af25-a27b-4114-8b8a-37792863f7f0] ["take time"=2.197995ms] [2025/04/05 23:11:52.580 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.580 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:11:52.581 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/0915a6c2-67c6-4b43-acac-a422bd0f176d] [2025/04/05 23:11:52.581 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [ttl-worker=task-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [originalCount=4] [newCount=0] [2025/04/05 23:11:52.581 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:52.581 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:52.581 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:52.581 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:52.581 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [ttl-worker=task-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [originalCount=4] [newCount=0] [2025/04/05 23:11:52.583 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:52.583 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:52.584 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:52.584 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:52.586 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.586 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=983] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:52.587 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:11:52.588 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:52.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:11:52.588 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [2025/04/05 23:11:52.588 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:11:52.588 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [2025/04/05 23:11:52.588 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:52.588 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:52.587 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:11:52.588 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.588 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:52.587 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:52.587 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:11:52.588 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:52.588 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:52.589 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:11:52.589 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:52.589 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:11:52.589 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:11:52.589 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:52.589 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:11:52.589 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:11:52.589 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b6d89665-e2d7-45f3-867b-3ba702b3abf7] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:52.589 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:52.589 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:52.589 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:11:52.590 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [error="context canceled"] [2025/04/05 23:11:52.590 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [2025/04/05 23:11:52.590 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [error="context canceled"] [2025/04/05 23:11:52.590 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=40b6af25-a27b-4114-8b8a-37792863f7f0] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:52.606 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:11:52.606 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:52.649 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:11:52.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:52.660 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.338725ms] [2025/04/05 23:11:52.662 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:52.662 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:52.662 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:52.662 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:52.662 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:52.662 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:52.662 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:52.662 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:52.662 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:52.662 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:52.662 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:52.662 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:52.663 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.59s) === NAME === RUN TestPipelinedDMLInsert [2025/04/05 23:11:52.668 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:11:52.668 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:52.669 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:11:52.670 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:52.670 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:52.670 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:52.670 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:52.670 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:52.670 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:52.671 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:52.671 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:52.674 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:11:52.679 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:52.679 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:52.680 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:52.689 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:11:52.697 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:11:52.730 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1714] ["lease id"=6f18960835b0cfb4] [2025/04/05 23:11:52.732 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:11:52.816 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=252] ["elapsed time"=81.180361ms] [2025/04/05 23:11:52.816 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:11:52.818 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:11:52.823 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=54ac116c-c353-4f62-9d45-839103042ed2] [runWorker=true] [jobVersion=v2] [2025/04/05 23:11:52.823 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:11:52.825 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:52.826 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:11:52.826 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702938624/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:11:52.826 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:52.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:52.826 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [2025/04/05 23:11:52.828 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c26a] [ownerID=54ac116c-c353-4f62-9d45-839103042ed2] [op=none] [2025/04/05 23:11:52.828 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:52.828 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c26a] [currRev=1256] [2025/04/05 23:11:52.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:52.829 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:52.829 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c26c] [ownerID=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [op=none] [2025/04/05 23:11:52.829 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [2025/04/05 23:11:52.829 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:11:52.829 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c26c] [currRev=1257] [2025/04/05 23:11:52.830 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c26a] [ownerID=54ac116c-c353-4f62-9d45-839103042ed2] [op=none] [2025/04/05 23:11:52.830 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [op=none] [2025/04/05 23:11:52.830 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:11:52.839 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:52.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:52.840 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:11:52.848 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:52.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:52.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:52.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:52.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:52.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:52.859 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:11:52.859 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:11:52.859 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:11:52.859 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:11:52.859 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:11:52.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:52.860 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:52.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:52.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:52.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:52.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:52.860 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:52.861 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:52.861 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:52.861 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:52.863 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0cfbe] [ownerID=54ac116c-c353-4f62-9d45-839103042ed2] [op=none] [2025/04/05 23:11:52.863 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:11:52.863 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:52.863 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [ownerKey=/tidb/stats/owner/6f18960835b0cfbe] [currRev=1259] [2025/04/05 23:11:52.865 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/045dcbd3-b4d5-4d70-a103-21e4fde6a8e6] [2025/04/05 23:11:52.865 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [ttl-worker=task-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [originalCount=0] [newCount=4] [2025/04/05 23:11:52.865 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [ttl-worker=task-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [originalCount=0] [newCount=4] [2025/04/05 23:11:52.866 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:11:52.866 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:52.866 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:52.866 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:11:52.866 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894712866364815 [2025/04/05 23:11:52.870 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:11:52.877 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.546451ms] [2025/04/05 23:11:52.877 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:11:52.877 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:52.879 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:11:52.882 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=252] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:11:52.894 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:52.894 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:11:52.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=1.84335ms] [gotSchemaVersion=253] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:52.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=253] [2025/04/05 23:11:52.920 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=253] ["take time"=9.029536ms] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.929 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=1.785532ms] [gotSchemaVersion=254] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:52.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=254] [2025/04/05 23:11:52.949 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=8.841058ms] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.962 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 282, Old Table Name: t)"] [2025/04/05 23:11:52.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.00091ms] [gotSchemaVersion=255] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:52.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=255] [2025/04/05 23:11:52.979 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=7.526463ms] [job="ID:284, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:52.988 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=284] [tableIDs="[282]"] [comment="drop table: table ID"] [2025/04/05 23:11:52.995 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="drop table"] [2025/04/05 23:11:52.996 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.013 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/05 23:11:53.013 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=255] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894713013612673 [2025/04/05 23:11:53.017 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=255] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:11:53.030 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:53.030 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:11:53.035 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.040 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 285, Table Name: t)"] [2025/04/05 23:11:53.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.428446ms] [gotSchemaVersion=256] [phyTblIDs="[285]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:53.058 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=256] [2025/04/05 23:11:53.059 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=8.395054ms] [job="ID:286, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:52.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.070 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:52.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.080 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=286] [2025/04/05 23:11:53.081 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=256] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:11:53.093 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:53.093 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:11:53.099 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:53.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.103 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 287, Table Name: _t)"] [2025/04/05 23:11:53.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=1.46935ms] [gotSchemaVersion=257] [phyTblIDs="[287]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:53.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=257] [2025/04/05 23:11:53.122 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=8.278604ms] [job="ID:288, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.133 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:53.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.143 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/05 23:11:53.143 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=257] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:11:53.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012870] [2025/04/05 23:11:53.150 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012874] [2025/04/05 23:11:53.154 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012877] [2025/04/05 23:11:53.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012880] [2025/04/05 23:11:53.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012883] [2025/04/05 23:11:53.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012886] [2025/04/05 23:11:53.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012890] [2025/04/05 23:11:53.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012893] [2025/04/05 23:11:53.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012896] [2025/04/05 23:11:53.180 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535679012899] [2025/04/05 23:11:53.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382209] [2025/04/05 23:11:53.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382212] [2025/04/05 23:11:53.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382215] [2025/04/05 23:11:53.195 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382218] [2025/04/05 23:11:53.199 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382221] [2025/04/05 23:11:53.203 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382224] [2025/04/05 23:11:53.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382227] [2025/04/05 23:11:53.210 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382230] [2025/04/05 23:11:53.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382233] [2025/04/05 23:11:53.217 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382236] [2025/04/05 23:11:53.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382239] [2025/04/05 23:11:53.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382242] [2025/04/05 23:11:53.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382245] [2025/04/05 23:11:53.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535692382248] [2025/04/05 23:11:53.236 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489411] [2025/04/05 23:11:53.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489414] [2025/04/05 23:11:53.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489417] [2025/04/05 23:11:53.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489420] [2025/04/05 23:11:53.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489423] [2025/04/05 23:11:53.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489426] [2025/04/05 23:11:53.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489429] [2025/04/05 23:11:53.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489432] [2025/04/05 23:11:53.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489435] [2025/04/05 23:11:53.267 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489438] [2025/04/05 23:11:53.271 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489441] [2025/04/05 23:11:53.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489444] [2025/04/05 23:11:53.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489447] [2025/04/05 23:11:53.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535705489450] [2025/04/05 23:11:53.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596610] [2025/04/05 23:11:53.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596613] [2025/04/05 23:11:53.293 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596616] [2025/04/05 23:11:53.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596619] [2025/04/05 23:11:53.300 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596622] [2025/04/05 23:11:53.304 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596625] [2025/04/05 23:11:53.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596628] [2025/04/05 23:11:53.311 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596631] [2025/04/05 23:11:53.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596634] [2025/04/05 23:11:53.318 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596637] [2025/04/05 23:11:53.321 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596640] [2025/04/05 23:11:53.325 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596643] [2025/04/05 23:11:53.329 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596647] [2025/04/05 23:11:53.333 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535718596653] [2025/04/05 23:11:53.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441667] [2025/04/05 23:11:53.340 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441670] [2025/04/05 23:11:53.344 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441673] [2025/04/05 23:11:53.348 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441676] [2025/04/05 23:11:53.352 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441679] [2025/04/05 23:11:53.355 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441682] [2025/04/05 23:11:53.359 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441685] [2025/04/05 23:11:53.363 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441688] [2025/04/05 23:11:53.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441691] [2025/04/05 23:11:53.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441694] [2025/04/05 23:11:53.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441697] [2025/04/05 23:11:53.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441700] [2025/04/05 23:11:53.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535731441703] [2025/04/05 23:11:53.391 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811010] [2025/04/05 23:11:53.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811013] [2025/04/05 23:11:53.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811016] [2025/04/05 23:11:53.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811019] [2025/04/05 23:11:53.409 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811022] [2025/04/05 23:11:53.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811025] [2025/04/05 23:11:53.416 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811028] [2025/04/05 23:11:53.420 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811031] [2025/04/05 23:11:53.424 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811034] [2025/04/05 23:11:53.428 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811037] [2025/04/05 23:11:53.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535744811040] [2025/04/05 23:11:53.435 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656067] [2025/04/05 23:11:53.439 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656070] [2025/04/05 23:11:53.442 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656073] [2025/04/05 23:11:53.446 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656076] [2025/04/05 23:11:53.450 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656079] [2025/04/05 23:11:53.454 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656082] [2025/04/05 23:11:53.457 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656085] [2025/04/05 23:11:53.461 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656088] [2025/04/05 23:11:53.465 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656091] [2025/04/05 23:11:53.469 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656095] [2025/04/05 23:11:53.473 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656098] [2025/04/05 23:11:53.477 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656101] [2025/04/05 23:11:53.481 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535757656104] [2025/04/05 23:11:53.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025410] [2025/04/05 23:11:53.488 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025413] [2025/04/05 23:11:53.492 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025416] [2025/04/05 23:11:53.495 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025419] [2025/04/05 23:11:53.499 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025422] [2025/04/05 23:11:53.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025425] [2025/04/05 23:11:53.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025428] [2025/04/05 23:11:53.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025431] [2025/04/05 23:11:53.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025434] [2025/04/05 23:11:53.516 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025437] [2025/04/05 23:11:53.520 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151535771025440] [2025/04/05 23:11:53.534 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151535771025444] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.967264ms] [2025/04/05 23:11:53.534 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151535771025444] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=41.756µs] [2025/04/05 23:11:53.534 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=3.126967ms] [total_duration=7.585ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151535771025444] [2025/04/05 23:11:53.535 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151535771025444] [commitTS=457151535783870466] [2025/04/05 23:11:53.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151535771025444] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] [concurrency=8] [2025/04/05 23:11:53.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151535771025444] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] ["cost time"=5.516377ms] ["completed regions"=1] [2025/04/05 23:11:53.541 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151535771025444] [commitTS=457151535783870466] [session=9] [2025/04/05 23:11:53.552 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151535783870469] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.514628ms] [2025/04/05 23:11:53.552 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151535783870469] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=28.44µs] [2025/04/05 23:11:53.552 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.524086ms] [total_duration=6.918552ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151535783870469] [2025/04/05 23:11:53.553 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151535783870469] [commitTS=457151535783870470] [2025/04/05 23:11:53.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151535783870469] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] [concurrency=8] [2025/04/05 23:11:53.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151535783870469] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] ["cost time"=2.934923ms] ["completed regions"=1] [2025/04/05 23:11:53.557 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151535783870469] [commitTS=457151535783870470] [session=9] [2025/04/05 23:11:53.569 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/05 23:11:53.569 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:53.574 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.582 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 289, Table Name: _t, Old Table ID: 287, Old Table Name: _t)"] [2025/04/05 23:11:53.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=1.469185ms] [gotSchemaVersion=258] [phyTblIDs="[287,289]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:11:53.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=258] [2025/04/05 23:11:53.601 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=8.106371ms] [job="ID:290, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.611 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=290] [tableIDs="[287]"] [comment="truncate table: table ID"] [2025/04/05 23:11:53.615 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=290] [jobType="truncate table"] [2025/04/05 23:11:53.616 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:53.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/05 23:11:53.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=258] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/05 23:11:53.634 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001215f7280000000000003e8] [2025/04/05 23:11:53.636 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000001215f7280000000000003e8] ["first new region left"="{Id:136 StartKey:7480000000000000ffda5f728000000000ff0023280000000000fa EndKey:7480000000000001ff215f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:137 store_id:1 id:138 store_id:3 id:139 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 23:11:53.637 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=136] [2025/04/05 23:11:53.637 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f7280000000000003e8] ["new region left"="{Id:136 StartKey:7480000000000000ffda5f728000000000ff0023280000000000fa EndKey:7480000000000001ff215f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:137 store_id:1 id:138 store_id:3 id:139 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.638 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=140] [2025/04/05 23:11:53.638 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f7280000000000007d0] ["new region left"="{Id:140 StartKey:7480000000000001ff215f728000000000ff0003e80000000000fa EndKey:7480000000000001ff215f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:141 store_id:1 id:142 store_id:3 id:143 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.639 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=144] [2025/04/05 23:11:53.639 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000000bb8] ["new region left"="{Id:144 StartKey:7480000000000001ff215f728000000000ff0007d00000000000fa EndKey:7480000000000001ff215f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:145 store_id:1 id:146 store_id:3 id:147 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.640 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=148] [2025/04/05 23:11:53.640 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000000fa0] ["new region left"="{Id:148 StartKey:7480000000000001ff215f728000000000ff000bb80000000000fa EndKey:7480000000000001ff215f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:149 store_id:1 id:150 store_id:3 id:151 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.640 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=152] [2025/04/05 23:11:53.641 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001388] ["new region left"="{Id:152 StartKey:7480000000000001ff215f728000000000ff000fa00000000000fa EndKey:7480000000000001ff215f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:153 store_id:1 id:154 store_id:3 id:155 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.641 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=156] [2025/04/05 23:11:53.642 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001770] ["new region left"="{Id:156 StartKey:7480000000000001ff215f728000000000ff0013880000000000fa EndKey:7480000000000001ff215f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:157 store_id:1 id:158 store_id:3 id:159 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.642 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=160] [2025/04/05 23:11:53.643 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001b58] ["new region left"="{Id:160 StartKey:7480000000000001ff215f728000000000ff0017700000000000fa EndKey:7480000000000001ff215f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:161 store_id:1 id:162 store_id:3 id:163 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.643 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=164] [2025/04/05 23:11:53.644 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001f40] ["new region left"="{Id:164 StartKey:7480000000000001ff215f728000000000ff001b580000000000fa EndKey:7480000000000001ff215f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:165 store_id:1 id:166 store_id:3 id:167 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.644 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=168] [2025/04/05 23:11:53.645 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000002328] ["new region left"="{Id:168 StartKey:7480000000000001ff215f728000000000ff001f400000000000fa EndKey:7480000000000001ff215f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:169 store_id:1 id:170 store_id:3 id:171 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:11:53.645 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[136,140,144,148,152,156,160,164,168]"] [2025/04/05 23:11:53.645 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=136] [backoff(ms)=299988] [2025/04/05 23:11:53.646 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=136] [2025/04/05 23:11:53.646 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=140] [backoff(ms)=299988] [2025/04/05 23:11:53.646 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=140] [2025/04/05 23:11:53.646 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=144] [backoff(ms)=299987] [2025/04/05 23:11:53.647 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=144] [2025/04/05 23:11:53.647 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=148] [backoff(ms)=299987] [2025/04/05 23:11:53.647 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=148] [2025/04/05 23:11:53.647 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=152] [backoff(ms)=299986] [2025/04/05 23:11:53.648 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=152] [2025/04/05 23:11:53.648 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=156] [backoff(ms)=299986] [2025/04/05 23:11:53.648 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=156] [2025/04/05 23:11:53.648 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=160] [backoff(ms)=299985] [2025/04/05 23:11:53.649 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=160] [2025/04/05 23:11:53.649 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=164] [backoff(ms)=299985] [2025/04/05 23:11:53.649 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=164] [2025/04/05 23:11:53.649 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=168] [backoff(ms)=299984] [2025/04/05 23:11:53.649 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=168] [2025/04/05 23:11:53.687 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151535810084881] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=3.269725ms] [2025/04/05 23:11:53.687 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151535810084881] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=32.01µs] [2025/04/05 23:11:53.687 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=3.335015ms] [total_duration=11.536058ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457151535810084881] [2025/04/05 23:11:53.688 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151535810084881] [commitTS=457151535823192065] [2025/04/05 23:11:53.688 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151535810084881] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] [concurrency=8] [2025/04/05 23:11:53.696 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151535810084881] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] ["cost time"=7.845335ms] ["completed regions"=10] [2025/04/05 23:11:53.697 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457151535810084881] [commitTS=457151535823192065] [session=9] [2025/04/05 23:11:53.699 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:11:53.699 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:11:53.699 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [] [2025/04/05 23:11:53.699 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.699 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:53.699 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:53.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=80.136µs] [2025/04/05 23:11:53.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=57.238µs] [2025/04/05 23:11:53.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=52.501µs] [2025/04/05 23:11:53.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=31.178µs] [2025/04/05 23:11:53.700 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.700 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.701 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:11:53.701 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:11:53.703 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=54ac116c-c353-4f62-9d45-839103042ed2] ["take time"=3.502645ms] [2025/04/05 23:11:53.703 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.703 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:11:53.703 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/045dcbd3-b4d5-4d70-a103-21e4fde6a8e6] [2025/04/05 23:11:53.703 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [ttl-worker=task-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [originalCount=4] [newCount=0] [2025/04/05 23:11:53.703 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:53.703 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:53.703 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:53.703 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:53.703 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [ttl-worker=task-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [originalCount=4] [newCount=0] [2025/04/05 23:11:53.706 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:53.706 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:53.706 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:53.706 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:53.709 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.709 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:11:53.709 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1714] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:53.710 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:53.710 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:53.710 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [] [2025/04/05 23:11:53.710 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [] [2025/04/05 23:11:53.711 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.711 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [2025/04/05 23:11:53.711 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.711 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [2025/04/05 23:11:53.710 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:11:53.711 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.711 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [2025/04/05 23:11:53.711 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:53.711 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:53.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:53.712 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:11:53.712 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:53.712 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=107ff796-3d61-43aa-86ca-a9c9aa737a8c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:53.712 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:11:53.712 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:11:53.712 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:53.712 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:11:53.712 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:11:53.712 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:53.712 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:11:53.712 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:53.713 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [error="context canceled"] [2025/04/05 23:11:53.713 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [2025/04/05 23:11:53.730 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:11:53.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:53.774 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=54ac116c-c353-4f62-9d45-839103042ed2] [error="context canceled"] [2025/04/05 23:11:53.774 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:11:53.774 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:53.784 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.017169ms] [2025/04/05 23:11:54.675 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:11:58.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151535771025444 commit_ts:457151535783870466 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:11:58.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151535771025444 commit_ts:457151535783870466 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:11:58.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151535771025444 commit_ts:457151535783870466 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:11:58.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151535783870469 commit_ts:457151535783870470 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:11:58.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151535783870469 commit_ts:457151535783870470 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:11:58.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151535783870469 commit_ts:457151535783870470 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:11:58.697 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151535810084881 commit_ts:457151535823192065 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:11:58.697 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151535810084881 commit_ts:457151535823192065 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:11:58.697 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151535810084881 commit_ts:457151535823192065 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:11:58.698 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:11:58.698 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:11:58.698 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:11:58.698 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:11:58.698 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:11:58.698 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:11:58.698 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:11:58.698 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:11:58.698 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:11:58.698 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:58.698 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:11:58.698 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:11:58.700 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.04s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/05 23:11:58.709 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:11:58.710 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:11:58.711 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:11:58.711 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:11:58.711 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:11:58.711 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:11:58.711 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:11:58.711 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:11:58.712 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:11:58.712 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:11:58.712 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:11:58.716 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:11:58.722 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:58.723 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:58.723 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:11:58.734 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:11:58.743 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:11:58.778 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=921] ["lease id"=2231960835b0c988] [2025/04/05 23:11:58.779 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:11:58.871 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=258] ["elapsed time"=88.680141ms] [2025/04/05 23:11:58.871 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:11:58.874 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:11:58.880 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=39e0f29d-eeed-49ac-ad81-648977905803] [runWorker=true] [jobVersion=v2] [2025/04/05 23:11:58.880 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:11:58.882 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:58.883 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:11:58.883 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702950912/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:58.883 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:11:58.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:58.884 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:11:58.884 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:58.884 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [2025/04/05 23:11:58.885 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0c98d] [ownerID=39e0f29d-eeed-49ac-ad81-648977905803] [op=none] [2025/04/05 23:11:58.885 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:58.885 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [ownerKey=/tidb/ddl/fg/owner/2231960835b0c98d] [currRev=1293] [2025/04/05 23:11:58.886 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:58.886 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:58.887 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:11:58.887 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0cfeb] [ownerID=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [op=none] [2025/04/05 23:11:58.887 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [2025/04/05 23:11:58.887 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [ownerKey=/tidb/br-stream/owner/6f18960835b0cfeb] [currRev=1294] [2025/04/05 23:11:58.888 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0c98d] [ownerID=39e0f29d-eeed-49ac-ad81-648977905803] [op=none] [2025/04/05 23:11:58.888 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [op=none] [2025/04/05 23:11:58.888 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:11:58.899 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:58.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:58.900 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:11:58.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:58.916 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:58.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:58.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:58.921 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:11:58.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:58.921 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:11:58.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:58.921 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:11:58.921 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:11:58.921 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:11:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:58.922 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:58.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:58.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:58.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:58.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:58.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:58.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:58.923 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:11:58.923 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:11:58.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:58.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:58.924 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:11:58.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:58.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:58.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:58.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:58.925 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b0c995] [ownerID=39e0f29d-eeed-49ac-ad81-648977905803] [op=none] [2025/04/05 23:11:58.926 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:58.926 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [ownerKey=/tidb/stats/owner/2231960835b0c995] [currRev=1296] [2025/04/05 23:11:58.926 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:11:58.929 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/7b46d0f3-9ef5-4afe-90a6-87f5344a74bf] [2025/04/05 23:11:58.929 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:11:58.929 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [ttl-worker=task-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [originalCount=0] [newCount=4] [2025/04/05 23:11:58.929 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [ttl-worker=task-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [originalCount=0] [newCount=4] [2025/04/05 23:11:58.929 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:58.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:58.929 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:11:58.930 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894718930256107 [2025/04/05 23:11:58.934 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:11:58.943 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.666863ms] [2025/04/05 23:11:58.943 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:11:58.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:11:58.950 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:11:58.969 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:11:58.976 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:11:58.977 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:11:58.991 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:58.991 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:11:58.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.015 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.927155ms] [gotSchemaVersion=259] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:59.019 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=259] [2025/04/05 23:11:59.021 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=259] ["take time"=9.535112ms] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.031 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.84904ms] [gotSchemaVersion=260] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:59.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=260] [2025/04/05 23:11:59.052 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=9.293738ms] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.060 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.066 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 289, Old Table Name: _t)"] [2025/04/05 23:11:59.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.127381ms] [gotSchemaVersion=261] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:59.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=261] [2025/04/05 23:11:59.084 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=8.044821ms] [job="ID:291, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.094 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=291] [tableIDs="[289]"] [comment="drop table: table ID"] [2025/04/05 23:11:59.101 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=291] [jobType="drop table"] [2025/04/05 23:11:59.102 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:58.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.121 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=291] [2025/04/05 23:11:59.131 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:11:59.131 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:59.138 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=1.88546ms] [gotSchemaVersion=262] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:59.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=262] [2025/04/05 23:11:59.158 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=8.871045ms] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.168 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.183 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.953155ms] [gotSchemaVersion=263] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:59.187 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=263] [2025/04/05 23:11:59.188 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=263] ["take time"=8.886452ms] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.203 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 285, Old Table Name: t)"] [2025/04/05 23:11:59.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.058521ms] [gotSchemaVersion=264] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:11:59.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=264] [2025/04/05 23:11:59.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=264] ["take time"=8.115357ms] [job="ID:292, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.231 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=292] [tableIDs="[285]"] [comment="drop table: table ID"] [2025/04/05 23:11:59.235 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=292] [jobType="drop table"] [2025/04/05 23:11:59.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.256 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/05 23:11:59.256 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=264] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894719256706340 [2025/04/05 23:11:59.276 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:11:59.279 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=264] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:11:59.292 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:59.292 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:11:59.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.303 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 293, Table Name: t)"] [2025/04/05 23:11:59.317 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.563325ms] [gotSchemaVersion=265] [phyTblIDs="[293]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:59.321 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=265] [2025/04/05 23:11:59.323 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=8.711687ms] [job="ID:294, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.334 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.346 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/05 23:11:59.346 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=265] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:11:59.359 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:11:59.359 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:11:59.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.370 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 295, Table Name: _t)"] [2025/04/05 23:11:59.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=1.570675ms] [gotSchemaVersion=266] [phyTblIDs="[295]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:11:59.388 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=266] [2025/04/05 23:11:59.390 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=8.788503ms] [job="ID:296, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:11:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 23:11:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:11:59.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/05 23:11:59.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=266] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:11:59.416 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537317412880] [2025/04/05 23:11:59.420 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537317412884] [2025/04/05 23:11:59.423 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537317412887] [2025/04/05 23:11:59.427 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537317412890] [2025/04/05 23:11:59.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537317412893] [2025/04/05 23:11:59.435 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520067] [2025/04/05 23:11:59.439 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520070] [2025/04/05 23:11:59.443 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520074] [2025/04/05 23:11:59.447 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520077] [2025/04/05 23:11:59.451 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520080] [2025/04/05 23:11:59.455 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520083] [2025/04/05 23:11:59.459 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520086] [2025/04/05 23:11:59.463 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520089] [2025/04/05 23:11:59.467 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520092] [2025/04/05 23:11:59.471 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520095] [2025/04/05 23:11:59.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520098] [2025/04/05 23:11:59.478 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520101] [2025/04/05 23:11:59.482 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537330520104] [2025/04/05 23:11:59.486 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889411] [2025/04/05 23:11:59.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889415] [2025/04/05 23:11:59.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889418] [2025/04/05 23:11:59.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889421] [2025/04/05 23:11:59.501 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889424] [2025/04/05 23:11:59.505 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889427] [2025/04/05 23:11:59.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889430] [2025/04/05 23:11:59.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889433] [2025/04/05 23:11:59.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889436] [2025/04/05 23:11:59.521 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889439] [2025/04/05 23:11:59.524 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889442] [2025/04/05 23:11:59.528 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889445] [2025/04/05 23:11:59.533 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537343889449] [2025/04/05 23:11:59.537 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734467] [2025/04/05 23:11:59.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734471] [2025/04/05 23:11:59.545 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734474] [2025/04/05 23:11:59.549 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734477] [2025/04/05 23:11:59.553 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734480] [2025/04/05 23:11:59.556 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734483] [2025/04/05 23:11:59.561 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734486] [2025/04/05 23:11:59.564 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734489] [2025/04/05 23:11:59.569 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734492] [2025/04/05 23:11:59.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734495] [2025/04/05 23:11:59.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734498] [2025/04/05 23:11:59.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537356734501] [2025/04/05 23:11:59.584 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841667] [2025/04/05 23:11:59.588 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841670] [2025/04/05 23:11:59.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841674] [2025/04/05 23:11:59.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841677] [2025/04/05 23:11:59.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841680] [2025/04/05 23:11:59.604 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841683] [2025/04/05 23:11:59.608 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841686] [2025/04/05 23:11:59.612 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841689] [2025/04/05 23:11:59.615 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841692] [2025/04/05 23:11:59.619 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841695] [2025/04/05 23:11:59.623 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841698] [2025/04/05 23:11:59.627 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841701] [2025/04/05 23:11:59.630 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537369841704] [2025/04/05 23:11:59.634 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211010] [2025/04/05 23:11:59.638 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211015] [2025/04/05 23:11:59.642 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211020] [2025/04/05 23:11:59.646 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211023] [2025/04/05 23:11:59.650 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211026] [2025/04/05 23:11:59.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211029] [2025/04/05 23:11:59.658 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211032] [2025/04/05 23:11:59.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211035] [2025/04/05 23:11:59.668 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211038] [2025/04/05 23:11:59.672 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211041] [2025/04/05 23:11:59.676 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211044] [2025/04/05 23:11:59.680 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537383211047] [2025/04/05 23:11:59.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056066] [2025/04/05 23:11:59.687 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056069] [2025/04/05 23:11:59.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056073] [2025/04/05 23:11:59.696 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056076] [2025/04/05 23:11:59.700 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056079] [2025/04/05 23:11:59.704 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056082] [2025/04/05 23:11:59.708 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056085] [2025/04/05 23:11:59.712 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056088] [2025/04/05 23:11:59.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056091] [2025/04/05 23:11:59.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056094] [2025/04/05 23:11:59.724 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056097] [2025/04/05 23:11:59.728 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056100] [2025/04/05 23:11:59.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537396056103] [2025/04/05 23:11:59.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163267] [2025/04/05 23:11:59.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163270] [2025/04/05 23:11:59.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163274] [2025/04/05 23:11:59.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163277] [2025/04/05 23:11:59.751 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163280] [2025/04/05 23:11:59.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163283] [2025/04/05 23:11:59.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163286] [2025/04/05 23:11:59.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163289] [2025/04/05 23:11:59.766 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163292] [2025/04/05 23:11:59.770 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163295] [2025/04/05 23:11:59.774 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163298] [2025/04/05 23:11:59.777 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163301] [2025/04/05 23:11:59.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537409163304] [2025/04/05 23:11:59.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537422270466] [2025/04/05 23:11:59.789 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537422270469] [2025/04/05 23:11:59.793 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537422270473] [2025/04/05 23:11:59.797 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537422270476] [2025/04/05 23:11:59.801 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537422270479] [2025/04/05 23:11:59.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151537422270482] [2025/04/05 23:11:59.814 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151537422270486] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.18892ms] [2025/04/05 23:11:59.814 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151537422270486] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=38.346µs] [2025/04/05 23:11:59.814 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.366771ms] [total_duration=2.096251ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457151537422270486] [2025/04/05 23:11:59.815 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151537422270486] [commitTS=457151537422270487] [2025/04/05 23:11:59.816 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151537422270486] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] [concurrency=8] [2025/04/05 23:11:59.821 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151537422270486] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] ["cost time"=4.956241ms] ["completed regions"=1] [2025/04/05 23:11:59.821 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151537422270486] [commitTS=457151537422270487] [session=11] [2025/04/05 23:11:59.830 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151537422270488] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=2.435503ms] [2025/04/05 23:11:59.830 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151537422270488] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=36.755µs] [2025/04/05 23:11:59.830 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=2.514931ms] [total_duration=12.929475ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457151537422270488] [2025/04/05 23:11:59.831 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151537422270488] [commitTS=457151537422270489] [2025/04/05 23:11:59.832 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151537422270488] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] [concurrency=8] [2025/04/05 23:11:59.835 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151537422270488] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] ["cost time"=3.486685ms] ["completed regions"=1] [2025/04/05 23:11:59.835 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151537422270488] [commitTS=457151537422270489] [session=11] [2025/04/05 23:11:59.840 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [] [2025/04/05 23:11:59.840 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.840 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:11:59.842 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:11:59.842 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:59.842 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:11:59.842 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=59.972µs] [2025/04/05 23:11:59.842 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=55.925µs] [2025/04/05 23:11:59.842 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=65.922µs] [2025/04/05 23:11:59.842 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=72.005µs] [2025/04/05 23:11:59.842 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.842 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.844 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:11:59.844 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:11:59.846 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=39e0f29d-eeed-49ac-ad81-648977905803] ["take time"=6.743334ms] [2025/04/05 23:11:59.846 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.846 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:11:59.847 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/7b46d0f3-9ef5-4afe-90a6-87f5344a74bf] [2025/04/05 23:11:59.847 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [ttl-worker=task-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [originalCount=4] [newCount=0] [2025/04/05 23:11:59.847 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:59.847 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:59.847 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:59.847 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:11:59.847 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [ttl-worker=task-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [originalCount=4] [newCount=0] [2025/04/05 23:11:59.850 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:59.850 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:59.850 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:59.850 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:11:59.853 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.853 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=921] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:59.855 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.855 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:11:59.854 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:11:59.854 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:11:59.854 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:11:59.854 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [] [2025/04/05 23:11:59.854 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:11:59.855 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [2025/04/05 23:11:59.855 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:11:59.855 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:11:59.855 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [2025/04/05 23:11:59.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:11:59.855 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [2025/04/05 23:11:59.856 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:11:59.856 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:11:59.856 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:11:59.856 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:11:59.856 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:11:59.856 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:11:59.856 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=fdcd7667-7d32-4dcb-b8c1-007f1872c995] [daemon-id=LogBackup::Advancer] [2025/04/05 23:11:59.856 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:11:59.856 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:11:59.856 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:11:59.856 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:11:59.858 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [error="context canceled"] [2025/04/05 23:11:59.858 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [2025/04/05 23:11:59.858 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [error="context canceled"] [2025/04/05 23:11:59.858 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=39e0f29d-eeed-49ac-ad81-648977905803] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:11:59.875 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:11:59.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:11:59.918 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:11:59.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:11:59.928 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.647563ms] [2025/04/05 23:12:00.717 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:04.822 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151537422270486 commit_ts:457151537422270487 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:04.822 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151537422270486 commit_ts:457151537422270487 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:04.822 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151537422270486 commit_ts:457151537422270487 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:04.836 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151537422270488 commit_ts:457151537422270489 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:04.836 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151537422270488 commit_ts:457151537422270489 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:04.836 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151537422270488 commit_ts:457151537422270489 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:04.837 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:04.837 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:04.837 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:04.837 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:04.837 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:04.837 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:04.837 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:04.837 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:04.837 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:04.837 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:04.837 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:04.837 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:04.838 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.14s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/05 23:12:04.846 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:04.847 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:04.848 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:04.848 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:04.848 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:04.848 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:04.848 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:04.848 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:04.849 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:04.849 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:04.849 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:04.853 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:04.858 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:04.859 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:04.859 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:04.868 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:04.878 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:04.921 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1191] ["lease id"=6f18960835b0d01d] [2025/04/05 23:12:04.923 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:05.026 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=266] ["elapsed time"=99.654273ms] [2025/04/05 23:12:05.026 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:05.029 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:05.035 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c87d8f80-d941-4195-ad3f-130c326a0e60] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:05.035 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:05.038 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.039 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:05.039 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702975488/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:05.039 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:05.039 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:05.039 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [2025/04/05 23:12:05.041 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d022] [ownerID=c87d8f80-d941-4195-ad3f-130c326a0e60] [op=none] [2025/04/05 23:12:05.041 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.041 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0d022] [currRev=1338] [2025/04/05 23:12:05.042 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:05.042 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:05.043 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c2c0] [ownerID=e91a8a73-e737-4789-b6e2-610830b6078a] [op=none] [2025/04/05 23:12:05.043 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [2025/04/05 23:12:05.043 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:05.043 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c2c0] [currRev=1339] [2025/04/05 23:12:05.043 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d022] [ownerID=c87d8f80-d941-4195-ad3f-130c326a0e60] [op=none] [2025/04/05 23:12:05.043 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [op=none] [2025/04/05 23:12:05.043 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:05.053 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:05.054 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:05.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:05.071 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:05.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:05.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:05.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:05.075 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:05.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:05.075 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:05.075 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:05.075 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:05.075 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:05.076 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:05.076 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.077 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:05.077 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:05.077 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:05.077 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:05.077 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:05.077 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:05.077 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:05.077 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:05.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:05.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:05.078 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:05.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:05.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:05.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:05.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:05.080 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:05.080 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0d02a] [ownerID=c87d8f80-d941-4195-ad3f-130c326a0e60] [op=none] [2025/04/05 23:12:05.080 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.080 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [ownerKey=/tidb/stats/owner/6f18960835b0d02a] [currRev=1341] [2025/04/05 23:12:05.082 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/7019661e-9617-4bd8-9fde-9be07949b7fd] [2025/04/05 23:12:05.083 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:05.083 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [ttl-worker=task-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [originalCount=0] [newCount=4] [2025/04/05 23:12:05.083 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [ttl-worker=task-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [originalCount=0] [newCount=4] [2025/04/05 23:12:05.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:05.083 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.083 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:05.083 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894725083856722 [2025/04/05 23:12:05.088 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:05.095 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.185421ms] [2025/04/05 23:12:05.095 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:05.095 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:05.098 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:05.100 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:12:05.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:12:05.114 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:05.114 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:05.120 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.137 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.9378ms] [gotSchemaVersion=267] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:05.140 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=267] [2025/04/05 23:12:05.142 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=9.590945ms] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.152 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.167 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=1.901728ms] [gotSchemaVersion=268] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:05.171 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=268] [2025/04/05 23:12:05.172 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=9.013483ms] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.180 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.186 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 295, Old Table Name: _t)"] [2025/04/05 23:12:05.199 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=953.227µs] [gotSchemaVersion=269] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:05.202 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=269] [2025/04/05 23:12:05.204 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=7.551237ms] [job="ID:297, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.212 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=297] [tableIDs="[295]"] [comment="drop table: table ID"] [2025/04/05 23:12:05.218 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=297] [jobType="drop table"] [2025/04/05 23:12:05.219 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.237 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=297] [2025/04/05 23:12:05.248 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:05.248 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:05.254 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=1.775783ms] [gotSchemaVersion=270] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:05.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=270] [2025/04/05 23:12:05.274 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=270] ["take time"=8.728344ms] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.300 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=1.808077ms] [gotSchemaVersion=271] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:05.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=271] [2025/04/05 23:12:05.305 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=9.347536ms] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.318 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 293, Old Table Name: t)"] [2025/04/05 23:12:05.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.15586ms] [gotSchemaVersion=272] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:05.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=272] [2025/04/05 23:12:05.336 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=272] ["take time"=8.080746ms] [job="ID:298, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.345 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=298] [tableIDs="[293]"] [comment="drop table: table ID"] [2025/04/05 23:12:05.349 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="drop table"] [2025/04/05 23:12:05.350 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.367 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/05 23:12:05.368 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=272] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894725368402221 [2025/04/05 23:12:05.372 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=272] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:12:05.384 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:12:05.384 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:05.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.395 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 299, Table Name: t)"] [2025/04/05 23:12:05.410 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.453941ms] [gotSchemaVersion=273] [phyTblIDs="[299]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:05.413 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=273] [2025/04/05 23:12:05.415 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=8.326068ms] [job="ID:300, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.426 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.437 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/05 23:12:05.437 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=273] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:12:05.450 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:12:05.450 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:05.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.460 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: _t)"] [2025/04/05 23:12:05.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.467233ms] [gotSchemaVersion=274] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:05.477 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=274] [2025/04/05 23:12:05.479 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=274] ["take time"=8.625731ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:05.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.491 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:05.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:05.502 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/05 23:12:05.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=274] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:12:05.505 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491273] [2025/04/05 23:12:05.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491277] [2025/04/05 23:12:05.512 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491280] [2025/04/05 23:12:05.516 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491283] [2025/04/05 23:12:05.519 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491286] [2025/04/05 23:12:05.523 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491289] [2025/04/05 23:12:05.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491292] [2025/04/05 23:12:05.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538916491295] [2025/04/05 23:12:05.534 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860610] [2025/04/05 23:12:05.538 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860613] [2025/04/05 23:12:05.542 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860617] [2025/04/05 23:12:05.547 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860623] [2025/04/05 23:12:05.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860626] [2025/04/05 23:12:05.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860629] [2025/04/05 23:12:05.559 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860632] [2025/04/05 23:12:05.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860635] [2025/04/05 23:12:05.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860638] [2025/04/05 23:12:05.571 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860641] [2025/04/05 23:12:05.575 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860644] [2025/04/05 23:12:05.579 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860647] [2025/04/05 23:12:05.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538929860650] [2025/04/05 23:12:05.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705667] [2025/04/05 23:12:05.591 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705670] [2025/04/05 23:12:05.595 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705673] [2025/04/05 23:12:05.599 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705677] [2025/04/05 23:12:05.602 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705680] [2025/04/05 23:12:05.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705683] [2025/04/05 23:12:05.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705686] [2025/04/05 23:12:05.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705689] [2025/04/05 23:12:05.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705692] [2025/04/05 23:12:05.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705695] [2025/04/05 23:12:05.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705698] [2025/04/05 23:12:05.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705701] [2025/04/05 23:12:05.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538942705704] [2025/04/05 23:12:05.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812867] [2025/04/05 23:12:05.640 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812870] [2025/04/05 23:12:05.643 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812873] [2025/04/05 23:12:05.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812877] [2025/04/05 23:12:05.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812880] [2025/04/05 23:12:05.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812883] [2025/04/05 23:12:05.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812886] [2025/04/05 23:12:05.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812889] [2025/04/05 23:12:05.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812892] [2025/04/05 23:12:05.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812895] [2025/04/05 23:12:05.673 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812898] [2025/04/05 23:12:05.677 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812901] [2025/04/05 23:12:05.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538955812904] [2025/04/05 23:12:05.684 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182210] [2025/04/05 23:12:05.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182214] [2025/04/05 23:12:05.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182217] [2025/04/05 23:12:05.696 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182220] [2025/04/05 23:12:05.699 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182224] [2025/04/05 23:12:05.703 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182227] [2025/04/05 23:12:05.707 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182230] [2025/04/05 23:12:05.711 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182233] [2025/04/05 23:12:05.715 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182236] [2025/04/05 23:12:05.719 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182239] [2025/04/05 23:12:05.722 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182242] [2025/04/05 23:12:05.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182245] [2025/04/05 23:12:05.730 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538969182248] [2025/04/05 23:12:05.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027266] [2025/04/05 23:12:05.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027269] [2025/04/05 23:12:05.741 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027272] [2025/04/05 23:12:05.745 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027275] [2025/04/05 23:12:05.749 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027279] [2025/04/05 23:12:05.753 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027282] [2025/04/05 23:12:05.756 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027285] [2025/04/05 23:12:05.760 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027288] [2025/04/05 23:12:05.764 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027291] [2025/04/05 23:12:05.767 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027294] [2025/04/05 23:12:05.771 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027297] [2025/04/05 23:12:05.775 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027300] [2025/04/05 23:12:05.778 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027303] [2025/04/05 23:12:05.782 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538982027306] [2025/04/05 23:12:05.786 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396611] [2025/04/05 23:12:05.790 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396614] [2025/04/05 23:12:05.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396620] [2025/04/05 23:12:05.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396624] [2025/04/05 23:12:05.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396627] [2025/04/05 23:12:05.806 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396630] [2025/04/05 23:12:05.810 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396633] [2025/04/05 23:12:05.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396636] [2025/04/05 23:12:05.818 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396639] [2025/04/05 23:12:05.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396642] [2025/04/05 23:12:05.825 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396645] [2025/04/05 23:12:05.829 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396648] [2025/04/05 23:12:05.833 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151538995396651] [2025/04/05 23:12:05.837 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241667] [2025/04/05 23:12:05.840 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241670] [2025/04/05 23:12:05.844 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241673] [2025/04/05 23:12:05.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241677] [2025/04/05 23:12:05.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241680] [2025/04/05 23:12:05.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241683] [2025/04/05 23:12:05.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241686] [2025/04/05 23:12:05.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241689] [2025/04/05 23:12:05.868 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241692] [2025/04/05 23:12:05.872 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241695] [2025/04/05 23:12:05.876 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241698] [2025/04/05 23:12:05.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539008241701] [2025/04/05 23:12:05.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539021348866] [2025/04/05 23:12:05.892 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151539021348869] [2025/04/05 23:12:05.912 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:05.912 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [] [2025/04/05 23:12:05.912 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:05.912 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.912 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:05.912 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:05.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=59.917µs] [2025/04/05 23:12:05.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=37.502µs] [2025/04/05 23:12:05.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=30.072µs] [2025/04/05 23:12:05.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=42.135µs] [2025/04/05 23:12:05.913 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.913 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.914 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:05.914 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:05.915 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c87d8f80-d941-4195-ad3f-130c326a0e60] ["take time"=3.321173ms] [2025/04/05 23:12:05.916 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.916 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:05.916 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/7019661e-9617-4bd8-9fde-9be07949b7fd] [2025/04/05 23:12:05.916 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [ttl-worker=task-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [originalCount=4] [newCount=0] [2025/04/05 23:12:05.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:05.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:05.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:05.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:05.916 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [ttl-worker=task-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [originalCount=4] [newCount=0] [2025/04/05 23:12:05.918 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:05.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:05.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:05.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:05.921 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.921 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:05.921 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1191] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:05.922 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:05.923 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:05.923 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:05.922 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [] [2025/04/05 23:12:05.923 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:05.923 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:05.923 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:05.923 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:05.923 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:05.924 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:05.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:05.924 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:05.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:05.924 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e91a8a73-e737-4789-b6e2-610830b6078a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:05.924 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:05.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:05.924 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [error="context canceled"] [2025/04/05 23:12:05.924 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:05.924 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:05.924 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:05.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:05.925 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [error="context canceled"] [2025/04/05 23:12:05.925 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [2025/04/05 23:12:05.925 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [error="context canceled"] [2025/04/05 23:12:05.926 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c87d8f80-d941-4195-ad3f-130c326a0e60] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:05.944 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:05.944 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:05.986 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:05.986 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:05.996 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.264642ms] [2025/04/05 23:12:05.999 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:05.999 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:05.999 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:05.999 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:05.999 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:05.999 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:05.999 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:05.999 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:05.999 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:05.999 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:05.999 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:05.999 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:06.001 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.16s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/05 23:12:06.006 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:06.007 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:06.008 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:06.008 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:06.008 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:06.008 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:06.008 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:06.009 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:06.009 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:06.009 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:06.009 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:06.013 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:06.018 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:06.019 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:06.019 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:06.029 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:06.039 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:06.076 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=728] ["lease id"=2231960835b0c9d9] [2025/04/05 23:12:06.077 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:06.169 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=274] ["elapsed time"=88.895585ms] [2025/04/05 23:12:06.169 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:06.171 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:06.177 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:06.177 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:06.179 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:06.180 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:06.180 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133702987776/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:06.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:06.180 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:06.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:06.181 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:06.181 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [2025/04/05 23:12:06.182 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0c9e0] [ownerID=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [op=none] [2025/04/05 23:12:06.182 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:06.183 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [ownerKey=/tidb/ddl/fg/owner/2231960835b0c9e0] [currRev=1377] [2025/04/05 23:12:06.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:06.183 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:06.184 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:06.184 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0d046] [ownerID=ac4ce230-82b9-40ea-b384-b5a2601c3412] [op=none] [2025/04/05 23:12:06.184 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [2025/04/05 23:12:06.184 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [ownerKey=/tidb/br-stream/owner/6f18960835b0d046] [currRev=1378] [2025/04/05 23:12:06.185 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0c9e0] [ownerID=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [op=none] [2025/04/05 23:12:06.185 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [op=none] [2025/04/05 23:12:06.185 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:06.194 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:06.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:06.195 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:06.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:06.212 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:06.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:06.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:06.217 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:06.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:06.217 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:06.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:06.217 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:06.217 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:06.217 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:06.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:06.218 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:06.219 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:06.219 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:06.219 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:06.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:06.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:06.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:06.221 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b0c9e8] [ownerID=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [op=none] [2025/04/05 23:12:06.221 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:06.221 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [ownerKey=/tidb/stats/owner/2231960835b0c9e8] [currRev=1380] [2025/04/05 23:12:06.221 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:06.224 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f5262470-f44d-4213-b8e9-f351b9a21056] [2025/04/05 23:12:06.224 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [ttl-worker=task-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [originalCount=0] [newCount=4] [2025/04/05 23:12:06.224 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [ttl-worker=task-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [originalCount=0] [newCount=4] [2025/04/05 23:12:06.224 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:06.224 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:06.224 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:06.225 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:06.225 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894726225214680 [2025/04/05 23:12:06.230 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:06.236 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.287978ms] [2025/04/05 23:12:06.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:06.236 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:06.238 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:12:06.252 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:06.255 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:12:06.256 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:12:06.268 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:06.274 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=1.881462ms] [gotSchemaVersion=275] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:06.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=275] [2025/04/05 23:12:06.295 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=9.191039ms] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.825491ms] [gotSchemaVersion=276] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:06.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=276] [2025/04/05 23:12:06.326 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=9.246269ms] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.341 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 301, Old Table Name: _t)"] [2025/04/05 23:12:06.353 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.045446ms] [gotSchemaVersion=277] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:06.357 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=277] [2025/04/05 23:12:06.359 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=7.915791ms] [job="ID:303, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.368 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[301]"] [comment="drop table: table ID"] [2025/04/05 23:12:06.375 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop table"] [2025/04/05 23:12:06.376 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.394 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/05 23:12:06.404 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.404 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:06.410 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.828274ms] [gotSchemaVersion=278] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:06.429 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=278] [2025/04/05 23:12:06.431 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=9.241131ms] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.442 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=1.828216ms] [gotSchemaVersion=279] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:06.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=279] [2025/04/05 23:12:06.462 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=8.584812ms] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.470 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.476 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 299, Old Table Name: t)"] [2025/04/05 23:12:06.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=998.248µs] [gotSchemaVersion=280] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:06.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=280] [2025/04/05 23:12:06.494 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=280] ["take time"=7.810065ms] [job="ID:304, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.503 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=304] [tableIDs="[299]"] [comment="drop table: table ID"] [2025/04/05 23:12:06.507 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="drop table"] [2025/04/05 23:12:06.508 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.524 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=304] [2025/04/05 23:12:06.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=280] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894726525394175 [2025/04/05 23:12:06.529 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=280] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:06.542 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.542 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 23:12:06.548 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.552 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 305, Table Name: t1)"] [2025/04/05 23:12:06.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=1.611655ms] [gotSchemaVersion=281] [phyTblIDs="[305]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:06.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=306] [version=281] [2025/04/05 23:12:06.571 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=8.286921ms] [job="ID:306, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.582 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.593 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=306] [2025/04/05 23:12:06.593 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=281] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 23:12:06.701 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.701 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/05 23:12:06.707 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.711 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 307, Table Name: _t1)"] [2025/04/05 23:12:06.727 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=1.482605ms] [gotSchemaVersion=282] [phyTblIDs="[307]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:06.733 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=308] [version=282] [2025/04/05 23:12:06.736 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=12.854666ms] [job="ID:308, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.751 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.763 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=308] [2025/04/05 23:12:06.764 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=282] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/05 23:12:06.788 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:06.788 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.796 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.804 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 309, Table Name: _t1, Old Table ID: 307, Old Table Name: _t1)"] [2025/04/05 23:12:06.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.450539ms] [gotSchemaVersion=283] [phyTblIDs="[307,309]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:06.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=283] [2025/04/05 23:12:06.824 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=8.395512ms] [job="ID:310, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.834 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=310] [tableIDs="[307]"] [comment="truncate table: table ID"] [2025/04/05 23:12:06.839 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="truncate table"] [2025/04/05 23:12:06.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.857 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=310] [2025/04/05 23:12:06.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=283] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:06.865 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539270647820] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=969.649µs] [2025/04/05 23:12:06.865 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.071053ms] [total_duration=5.767677ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539270647820] [2025/04/05 23:12:06.866 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539270647820] [commitTS=457151539270647823] [2025/04/05 23:12:06.866 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539270647820] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] [concurrency=8] [2025/04/05 23:12:06.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539270647820] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] ["cost time"=4.175816ms] ["completed regions"=1] [2025/04/05 23:12:06.871 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539270647820] [commitTS=457151539270647823] [session=15] [2025/04/05 23:12:06.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:06.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.894 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 311, Table Name: _t1, Old Table ID: 309, Old Table Name: _t1)"] [2025/04/05 23:12:06.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.498736ms] [gotSchemaVersion=284] [phyTblIDs="[309,311]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:06.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=312] [version=284] [2025/04/05 23:12:06.913 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=7.950432ms] [job="ID:312, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.923 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=312] [tableIDs="[309]"] [comment="truncate table: table ID"] [2025/04/05 23:12:06.927 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="truncate table"] [2025/04/05 23:12:06.928 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:06.945 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=312] [2025/04/05 23:12:06.946 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=284] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:06.953 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539296862219] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=937.867µs] [2025/04/05 23:12:06.953 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.047742ms] [total_duration=5.531732ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457151539296862219] [2025/04/05 23:12:06.954 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539296862219] [commitTS=457151539296862222] [2025/04/05 23:12:06.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539296862219] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] [concurrency=8] [2025/04/05 23:12:06.956 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539296862219] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] ["cost time"=2.339006ms] ["completed regions"=1] [2025/04/05 23:12:06.957 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539296862219] [commitTS=457151539296862222] [session=15] [2025/04/05 23:12:06.963 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539296862223] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=873.046µs] [2025/04/05 23:12:06.963 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=951.174µs] [total_duration=2.471307ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457151539296862223] [2025/04/05 23:12:06.964 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539296862223] [commitTS=457151539296862224] [2025/04/05 23:12:06.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539296862223] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] [concurrency=8] [2025/04/05 23:12:06.966 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539296862223] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] ["cost time"=2.329546ms] ["completed regions"=1] [2025/04/05 23:12:06.966 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539296862223] [commitTS=457151539296862224] [session=15] [2025/04/05 23:12:06.971 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539296862225] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=986.097µs] [2025/04/05 23:12:06.971 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.078118ms] [total_duration=2.675726ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539296862225] [2025/04/05 23:12:06.972 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539296862225] [commitTS=457151539296862226] [2025/04/05 23:12:06.972 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539296862225] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] [concurrency=8] [2025/04/05 23:12:06.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539296862225] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] ["cost time"=1.943913ms] ["completed regions"=1] [2025/04/05 23:12:06.974 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539296862225] [commitTS=457151539296862226] [session=15] [2025/04/05 23:12:06.978 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539296862227] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=914.231µs] [2025/04/05 23:12:06.978 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.003745ms] [total_duration=2.523747ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539296862227] [2025/04/05 23:12:06.980 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539296862227] [commitTS=457151539296862228] [2025/04/05 23:12:06.980 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539296862227] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] [concurrency=8] [2025/04/05 23:12:06.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539296862227] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] ["cost time"=1.757604ms] ["completed regions"=1] [2025/04/05 23:12:06.982 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539296862227] [commitTS=457151539296862228] [session=15] [2025/04/05 23:12:06.993 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:06.993 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:06.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=1.86012ms] [gotSchemaVersion=285] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.018 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=285] [2025/04/05 23:12:07.020 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=285] ["take time"=8.963406ms] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=1.874615ms] [gotSchemaVersion=286] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=286] [2025/04/05 23:12:07.049 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=286] ["take time"=8.406832ms] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.057 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.063 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 305, Old Table Name: t1)"] [2025/04/05 23:12:07.075 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=1.117339ms] [gotSchemaVersion=287] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.079 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=287] [2025/04/05 23:12:07.080 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=287] ["take time"=7.886966ms] [job="ID:313, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.090 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=313] [tableIDs="[305]"] [comment="drop table: table ID"] [2025/04/05 23:12:07.094 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="drop table"] [2025/04/05 23:12:07.095 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:06.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.112 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/05 23:12:07.123 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.123 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:07.129 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=1.866639ms] [gotSchemaVersion=288] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=288] [2025/04/05 23:12:07.149 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=288] ["take time"=8.567912ms] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.158 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.173 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=1.864839ms] [gotSchemaVersion=289] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=289] [2025/04/05 23:12:07.178 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=289] ["take time"=8.541474ms] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.187 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.188 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:12:07.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:12:07.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:12:07.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:07.192 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 311, Old Table Name: _t1)"] [2025/04/05 23:12:07.205 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=1.05365ms] [gotSchemaVersion=290] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.208 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=290] [2025/04/05 23:12:07.210 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=290] ["take time"=7.594258ms] [job="ID:314, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.219 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=314] [tableIDs="[311]"] [comment="drop table: table ID"] [2025/04/05 23:12:07.223 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=314] [jobType="drop table"] [2025/04/05 23:12:07.224 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:12:07.224 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.224 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:12:07.224 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f5262470-f44d-4213-b8e9-f351b9a21056] [watcherID=3be33bd2-fc5f-426d-a83c-ab43cb274d3c] [2025/04/05 23:12:07.225 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:12:07.230 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:12:07.230 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:12:07.230 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:12:07.230 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:12:07.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=314] [2025/04/05 23:12:07.243 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=290] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:07.255 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.255 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/05 23:12:07.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.265 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 315, Table Name: _t1)"] [2025/04/05 23:12:07.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.537074ms] [gotSchemaVersion=291] [phyTblIDs="[315]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:07.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=291] [2025/04/05 23:12:07.285 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=291] ["take time"=8.509237ms] [job="ID:316, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.296 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/05 23:12:07.308 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=291] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/05 23:12:07.328 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.328 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:07.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.341 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 317, Table Name: _t1, Old Table ID: 315, Old Table Name: _t1)"] [2025/04/05 23:12:07.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.508455ms] [gotSchemaVersion=292] [phyTblIDs="[315,317]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:07.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=292] [2025/04/05 23:12:07.360 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=292] ["take time"=8.328147ms] [job="ID:318, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.371 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=318] [tableIDs="[315]"] [comment="truncate table: table ID"] [2025/04/05 23:12:07.375 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="truncate table"] [2025/04/05 23:12:07.376 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/05 23:12:07.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=292] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:07.398 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539414827014] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.005477ms] [2025/04/05 23:12:07.398 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.11268ms] [total_duration=4.585606ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539414827014] [2025/04/05 23:12:07.400 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539414827014] [commitTS=457151539414827017] [2025/04/05 23:12:07.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539414827014] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] [concurrency=8] [2025/04/05 23:12:07.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539414827014] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] ["cost time"=2.328683ms] ["completed regions"=1] [2025/04/05 23:12:07.402 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539414827014] [commitTS=457151539414827017] [session=15] [2025/04/05 23:12:07.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:07.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.425 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 319, Table Name: _t1, Old Table ID: 317, Old Table Name: _t1)"] [2025/04/05 23:12:07.441 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=1.543071ms] [gotSchemaVersion=293] [phyTblIDs="[317,319]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:07.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=293] [2025/04/05 23:12:07.446 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=293] ["take time"=10.034695ms] [job="ID:320, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.456 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=320] [tableIDs="[317]"] [comment="truncate table: table ID"] [2025/04/05 23:12:07.460 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=320] [jobType="truncate table"] [2025/04/05 23:12:07.461 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.477 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/05 23:12:07.478 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=293] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:07.483 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539427934228] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=927.747µs] [2025/04/05 23:12:07.483 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.024653ms] [total_duration=4.307737ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457151539427934228] [2025/04/05 23:12:07.484 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539427934228] [commitTS=457151539440779265] [2025/04/05 23:12:07.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539427934228] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] [concurrency=8] [2025/04/05 23:12:07.487 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539427934228] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] ["cost time"=1.972065ms] ["completed regions"=1] [2025/04/05 23:12:07.487 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539427934228] [commitTS=457151539440779265] [session=15] [2025/04/05 23:12:07.490 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539440779267] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=990.028µs] [2025/04/05 23:12:07.490 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.077552ms] [total_duration=1.632637ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457151539440779267] [2025/04/05 23:12:07.491 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539440779267] [commitTS=457151539440779268] [2025/04/05 23:12:07.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539440779267] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] [concurrency=8] [2025/04/05 23:12:07.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539440779267] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] ["cost time"=1.873027ms] ["completed regions"=1] [2025/04/05 23:12:07.494 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539440779267] [commitTS=457151539440779268] [session=15] [2025/04/05 23:12:07.495 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539440779269] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=950.074µs] [2025/04/05 23:12:07.495 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.034287ms] [total_duration=1.587214ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539440779269] [2025/04/05 23:12:07.497 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539440779269] [commitTS=457151539440779270] [2025/04/05 23:12:07.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539440779269] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] [concurrency=8] [2025/04/05 23:12:07.499 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539440779269] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] ["cost time"=1.780304ms] ["completed regions"=1] [2025/04/05 23:12:07.499 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539440779269] [commitTS=457151539440779270] [session=15] [2025/04/05 23:12:07.501 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539440779271] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=882.901µs] [2025/04/05 23:12:07.501 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=982.195µs] [total_duration=1.64993ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539440779271] [2025/04/05 23:12:07.502 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539440779271] [commitTS=457151539440779272] [2025/04/05 23:12:07.502 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539440779271] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] [concurrency=8] [2025/04/05 23:12:07.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539440779271] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] ["cost time"=1.846224ms] ["completed regions"=1] [2025/04/05 23:12:07.504 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539440779271] [commitTS=457151539440779272] [session=15] [2025/04/05 23:12:07.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:07.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=1.847696ms] [gotSchemaVersion=294] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=294] [2025/04/05 23:12:07.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=294] ["take time"=8.602596ms] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.549 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=2.644347ms] [gotSchemaVersion=295] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=295] [2025/04/05 23:12:07.570 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=295] ["take time"=10.119102ms] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.579 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.585 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 319, Old Table Name: _t1)"] [2025/04/05 23:12:07.598 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=1.065091ms] [gotSchemaVersion=296] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:07.601 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=296] [2025/04/05 23:12:07.603 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=296] ["take time"=8.038573ms] [job="ID:321, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.612 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[319]"] [comment="drop table: table ID"] [2025/04/05 23:12:07.616 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop table"] [2025/04/05 23:12:07.617 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.634 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/05 23:12:07.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=296] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:07.646 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.646 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 23:12:07.652 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.656 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 322, Table Name: t1)"] [2025/04/05 23:12:07.670 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=1.507435ms] [gotSchemaVersion=297] [phyTblIDs="[322]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:07.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=297] [2025/04/05 23:12:07.676 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=297] ["take time"=8.563642ms] [job="ID:323, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.687 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.698 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/05 23:12:07.698 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=297] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 23:12:07.704 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539493470217] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=916.759µs] [2025/04/05 23:12:07.704 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.01451ms] [total_duration=4.4327ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539493470217] [2025/04/05 23:12:07.705 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539493470217] [commitTS=457151539493470221] [2025/04/05 23:12:07.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539493470217] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] [concurrency=8] [2025/04/05 23:12:07.707 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539493470217] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] ["cost time"=2.043382ms] ["completed regions"=1] [2025/04/05 23:12:07.707 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539493470217] [commitTS=457151539493470221] [session=15] [2025/04/05 23:12:07.717 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.717 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/05 23:12:07.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.727 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: _t1)"] [2025/04/05 23:12:07.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=1.515802ms] [gotSchemaVersion=298] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:07.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=298] [2025/04/05 23:12:07.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=298] ["take time"=8.191195ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.758 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.769 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/05 23:12:07.769 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=298] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/05 23:12:07.790 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:07.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.802 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 326, Table Name: _t1, Old Table ID: 324, Old Table Name: _t1)"] [2025/04/05 23:12:07.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=1.536733ms] [gotSchemaVersion=299] [phyTblIDs="[324,326]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:07.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=299] [2025/04/05 23:12:07.821 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=299] ["take time"=8.362275ms] [job="ID:327, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.832 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=327] [tableIDs="[324]"] [comment="truncate table: table ID"] [2025/04/05 23:12:07.836 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="truncate table"] [2025/04/05 23:12:07.837 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.856 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/05 23:12:07.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=299] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:07.861 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539532529674] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.178463ms] [2025/04/05 23:12:07.861 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.298583ms] [total_duration=2.946268ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457151539532529674] [2025/04/05 23:12:07.862 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539532529674] [commitTS=457151539532529675] [2025/04/05 23:12:07.862 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539532529674] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] [concurrency=8] [2025/04/05 23:12:07.865 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539532529674] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] ["cost time"=2.318769ms] ["completed regions"=1] [2025/04/05 23:12:07.865 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539532529674] [commitTS=457151539532529675] [session=15] [2025/04/05 23:12:07.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:07.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:07.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.892 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 328, Table Name: _t1, Old Table ID: 326, Old Table Name: _t1)"] [2025/04/05 23:12:07.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.673718ms] [gotSchemaVersion=300] [phyTblIDs="[326,328]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:07.913 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=300] [2025/04/05 23:12:07.914 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=300] ["take time"=9.789405ms] [job="ID:329, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.927 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=329] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/05 23:12:07.931 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=329] [jobType="truncate table"] [2025/04/05 23:12:07.932 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:07.951 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/05 23:12:07.951 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=300] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:07.957 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539558744075] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.264994ms] [2025/04/05 23:12:07.957 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.412512ms] [total_duration=4.442195ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457151539558744075] [2025/04/05 23:12:07.959 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539558744075] [commitTS=457151539558744076] [2025/04/05 23:12:07.959 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539558744075] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/05 23:12:07.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539558744075] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.120078ms] ["completed regions"=1] [2025/04/05 23:12:07.961 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539558744075] [commitTS=457151539558744076] [session=15] [2025/04/05 23:12:07.977 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539558744078] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.111563ms] [2025/04/05 23:12:07.977 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.217824ms] [total_duration=4.252048ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457151539558744078] [2025/04/05 23:12:07.978 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539558744078] [commitTS=457151539558744079] [2025/04/05 23:12:07.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539558744078] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] [concurrency=8] [2025/04/05 23:12:07.981 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539558744078] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] ["cost time"=2.194761ms] ["completed regions"=1] [2025/04/05 23:12:07.981 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539558744078] [commitTS=457151539558744079] [session=15] [2025/04/05 23:12:07.988 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539571851265] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.004817ms] [2025/04/05 23:12:07.988 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.111506ms] [total_duration=4.087024ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457151539571851265] [2025/04/05 23:12:07.989 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539571851265] [commitTS=457151539571851267] [2025/04/05 23:12:07.989 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539571851265] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/05 23:12:07.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539571851265] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.00829ms] ["completed regions"=1] [2025/04/05 23:12:07.992 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539571851265] [commitTS=457151539571851267] [session=15] [2025/04/05 23:12:08.005 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.005 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:08.011 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.013 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:08.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=2.006086ms] [gotSchemaVersion=301] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.031 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=301] [2025/04/05 23:12:08.032 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=301] ["take time"=9.429842ms] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.043 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.057 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=1.859301ms] [gotSchemaVersion=302] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=302] [2025/04/05 23:12:08.062 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=302] ["take time"=8.766235ms] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.076 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 322, Old Table Name: t1)"] [2025/04/05 23:12:08.088 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=1.049485ms] [gotSchemaVersion=303] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.092 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=303] [2025/04/05 23:12:08.094 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=303] ["take time"=7.966121ms] [job="ID:330, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.103 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=330] [tableIDs="[322]"] [comment="drop table: table ID"] [2025/04/05 23:12:08.107 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=330] [jobType="drop table"] [2025/04/05 23:12:08.108 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.125 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=330] [2025/04/05 23:12:08.136 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:08.136 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=1.942789ms] [gotSchemaVersion=304] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=304] [2025/04/05 23:12:08.161 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=304] ["take time"=9.040843ms] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.180 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:12:08.184 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=1.988002ms] [gotSchemaVersion=305] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.188 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=305] [2025/04/05 23:12:08.190 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=7.773812ms] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.199 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.205 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 328, Old Table Name: _t1)"] [2025/04/05 23:12:08.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=958.042µs] [gotSchemaVersion=306] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=306] [2025/04/05 23:12:08.223 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=7.607653ms] [job="ID:331, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.233 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[328]"] [comment="drop table: table ID"] [2025/04/05 23:12:08.238 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="drop table"] [2025/04/05 23:12:08.239 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.256 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/05 23:12:08.257 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=306] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:08.270 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.270 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/05 23:12:08.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.280 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: _t1)"] [2025/04/05 23:12:08.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.484859ms] [gotSchemaVersion=307] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:08.298 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=307] [2025/04/05 23:12:08.300 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=307] ["take time"=8.472849ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.311 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/05 23:12:08.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=307] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/05 23:12:08.339 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.339 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:08.344 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.352 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 334, Table Name: _t1, Old Table ID: 332, Old Table Name: _t1)"] [2025/04/05 23:12:08.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=1.443177ms] [gotSchemaVersion=308] [phyTblIDs="[332,334]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:08.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=308] [2025/04/05 23:12:08.371 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=308] ["take time"=8.667151ms] [job="ID:335, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.382 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=335] [tableIDs="[332]"] [comment="truncate table: table ID"] [2025/04/05 23:12:08.386 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=335] [jobType="truncate table"] [2025/04/05 23:12:08.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.404 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/05 23:12:08.404 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=308] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:08.407 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539676708874] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=904.746µs] [2025/04/05 23:12:08.407 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.007072ms] [total_duration=1.541234ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457151539676708874] [2025/04/05 23:12:08.408 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539676708874] [commitTS=457151539676708875] [2025/04/05 23:12:08.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539676708874] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539676708874] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] ["cost time"=1.978367ms] ["completed regions"=1] [2025/04/05 23:12:08.410 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539676708874] [commitTS=457151539676708875] [session=15] [2025/04/05 23:12:08.420 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.420 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:08.426 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.433 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 336, Table Name: _t1, Old Table ID: 334, Old Table Name: _t1)"] [2025/04/05 23:12:08.447 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=1.576612ms] [gotSchemaVersion=309] [phyTblIDs="[334,336]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:08.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=309] [2025/04/05 23:12:08.452 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=309] ["take time"=8.255968ms] [job="ID:337, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.463 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=337] [tableIDs="[334]"] [comment="truncate table: table ID"] [2025/04/05 23:12:08.467 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=337] [jobType="truncate table"] [2025/04/05 23:12:08.468 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.485 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=337] [2025/04/05 23:12:08.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=309] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:08.489 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539703185410] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=964.584µs] [2025/04/05 23:12:08.489 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.079114ms] [total_duration=2.803277ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457151539703185410] [2025/04/05 23:12:08.490 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539703185410] [commitTS=457151539703185411] [2025/04/05 23:12:08.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539703185410] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539703185410] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=1.999087ms] ["completed regions"=1] [2025/04/05 23:12:08.493 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539703185410] [commitTS=457151539703185411] [session=15] [2025/04/05 23:12:08.501 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539703185413] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.031609ms] [2025/04/05 23:12:08.501 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.113348ms] [total_duration=3.262925ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457151539703185413] [2025/04/05 23:12:08.502 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539703185413] [commitTS=457151539703185414] [2025/04/05 23:12:08.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539703185413] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] [concurrency=8] [2025/04/05 23:12:08.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539703185413] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] ["cost time"=2.040247ms] ["completed regions"=1] [2025/04/05 23:12:08.505 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539703185413] [commitTS=457151539703185414] [session=15] [2025/04/05 23:12:08.508 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539703185415] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=916.297µs] [2025/04/05 23:12:08.508 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.000903ms] [total_duration=2.753016ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457151539703185415] [2025/04/05 23:12:08.510 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539703185415] [commitTS=457151539703185416] [2025/04/05 23:12:08.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539703185415] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.512 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539703185415] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=1.854158ms] ["completed regions"=1] [2025/04/05 23:12:08.512 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539703185415] [commitTS=457151539703185416] [session=15] [2025/04/05 23:12:08.522 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:08.522 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.528 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=1.830388ms] [gotSchemaVersion=310] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=310] [2025/04/05 23:12:08.548 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=310] ["take time"=8.405748ms] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.572 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.686067ms] [gotSchemaVersion=311] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=311] [2025/04/05 23:12:08.577 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=311] ["take time"=8.348369ms] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.585 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.591 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 336, Old Table Name: _t1)"] [2025/04/05 23:12:08.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=1.111881ms] [gotSchemaVersion=312] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:08.608 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=312] [2025/04/05 23:12:08.610 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=312] ["take time"=8.565868ms] [job="ID:338, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.619 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=338] [tableIDs="[336]"] [comment="drop table: table ID"] [2025/04/05 23:12:08.623 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=338] [jobType="drop table"] [2025/04/05 23:12:08.624 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/05 23:12:08.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=312] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:08.653 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.653 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 23:12:08.659 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.663 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t1)"] [2025/04/05 23:12:08.678 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=1.494556ms] [gotSchemaVersion=313] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:08.682 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=313] [2025/04/05 23:12:08.683 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=313] ["take time"=8.78691ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.695 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.706 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/05 23:12:08.706 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=313] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 23:12:08.711 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539755352076] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=895.815µs] [2025/04/05 23:12:08.711 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=989.843µs] [total_duration=4.306085ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151539755352076] [2025/04/05 23:12:08.712 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539755352076] [commitTS=457151539755352080] [2025/04/05 23:12:08.713 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539755352076] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.715 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539755352076] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] ["cost time"=2.003414ms] ["completed regions"=1] [2025/04/05 23:12:08.715 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539755352076] [commitTS=457151539755352080] [session=15] [2025/04/05 23:12:08.726 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.726 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/05 23:12:08.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.736 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: _t1)"] [2025/04/05 23:12:08.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=1.668954ms] [gotSchemaVersion=314] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:08.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=314] [2025/04/05 23:12:08.756 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=314] ["take time"=8.487681ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.780 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/05 23:12:08.780 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=314] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/05 23:12:08.805 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:08.810 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.817 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: _t1, Old Table ID: 341, Old Table Name: _t1)"] [2025/04/05 23:12:08.832 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=1.508913ms] [gotSchemaVersion=315] [phyTblIDs="[341,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:08.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=315] [2025/04/05 23:12:08.837 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=315] ["take time"=8.468165ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.847 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[341]"] [comment="truncate table: table ID"] [2025/04/05 23:12:08.851 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/05 23:12:08.852 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.869 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/05 23:12:08.869 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=315] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:08.876 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539794673680] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=933.993µs] [2025/04/05 23:12:08.876 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.033545ms] [total_duration=5.576924ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457151539794673680] [2025/04/05 23:12:08.877 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539794673680] [commitTS=457151539794673683] [2025/04/05 23:12:08.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539794673680] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539794673680] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] ["cost time"=2.121615ms] ["completed regions"=1] [2025/04/05 23:12:08.880 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539794673680] [commitTS=457151539794673683] [session=15] [2025/04/05 23:12:08.891 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:08.891 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:08.898 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.906 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 345, Table Name: _t1, Old Table ID: 343, Old Table Name: _t1)"] [2025/04/05 23:12:08.921 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=1.67988ms] [gotSchemaVersion=316] [phyTblIDs="[343,345]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:08.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=316] [2025/04/05 23:12:08.926 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=8.643858ms] [job="ID:346, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.937 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=346] [tableIDs="[343]"] [comment="truncate table: table ID"] [2025/04/05 23:12:08.942 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="truncate table"] [2025/04/05 23:12:08.943 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:08.960 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/05 23:12:08.960 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=316] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:08.968 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539821150223] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.080019ms] [2025/04/05 23:12:08.968 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.169356ms] [total_duration=6.615443ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457151539821150223] [2025/04/05 23:12:08.969 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539821150223] [commitTS=457151539821150226] [2025/04/05 23:12:08.969 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539821150223] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539821150223] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.09368ms] ["completed regions"=1] [2025/04/05 23:12:08.972 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539821150223] [commitTS=457151539821150226] [session=15] [2025/04/05 23:12:08.990 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539833995265] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=894.822µs] [2025/04/05 23:12:08.990 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=981.142µs] [total_duration=5.194348ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457151539833995265] [2025/04/05 23:12:08.991 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539833995265] [commitTS=457151539833995267] [2025/04/05 23:12:08.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539833995265] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/05 23:12:08.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539833995265] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=1.984126ms] ["completed regions"=1] [2025/04/05 23:12:08.993 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539833995265] [commitTS=457151539833995267] [session=15] [2025/04/05 23:12:09.002 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539833995268] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.167607ms] [2025/04/05 23:12:09.002 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.258545ms] [total_duration=5.421296ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457151539833995268] [2025/04/05 23:12:09.003 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539833995268] [commitTS=457151539833995269] [2025/04/05 23:12:09.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539833995268] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] [concurrency=8] [2025/04/05 23:12:09.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539833995268] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] ["cost time"=2.160254ms] ["completed regions"=1] [2025/04/05 23:12:09.006 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539833995268] [commitTS=457151539833995269] [session=15] [2025/04/05 23:12:09.017 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.017 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:09.023 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.853908ms] [gotSchemaVersion=317] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=317] [2025/04/05 23:12:09.043 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=317] ["take time"=8.510335ms] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=1.889568ms] [gotSchemaVersion=318] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=318] [2025/04/05 23:12:09.072 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=318] ["take time"=8.701165ms] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.080 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.086 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 339, Old Table Name: t1)"] [2025/04/05 23:12:09.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=1.019838ms] [gotSchemaVersion=319] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=319] [2025/04/05 23:12:09.104 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=8.028331ms] [job="ID:347, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.113 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=347] [tableIDs="[339]"] [comment="drop table: table ID"] [2025/04/05 23:12:09.117 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=347] [jobType="drop table"] [2025/04/05 23:12:09.118 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:08.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.135 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/05 23:12:09.146 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.146 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:09.151 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.167 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=1.993888ms] [gotSchemaVersion=320] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.170 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=320] [2025/04/05 23:12:09.172 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=320] ["take time"=8.734898ms] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.181 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=2.192262ms] [gotSchemaVersion=321] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=321] [2025/04/05 23:12:09.207 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=321] ["take time"=14.056129ms] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.215 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.221 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 345, Old Table Name: _t1)"] [2025/04/05 23:12:09.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=1.010566ms] [gotSchemaVersion=322] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.240 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=322] [2025/04/05 23:12:09.242 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=8.790404ms] [job="ID:348, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.251 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=348] [tableIDs="[345]"] [comment="drop table: table ID"] [2025/04/05 23:12:09.255 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=348] [jobType="drop table"] [2025/04/05 23:12:09.256 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.274 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/05 23:12:09.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=322] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:09.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/05 23:12:09.287 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.291 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.296 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 349, Table Name: _t1)"] [2025/04/05 23:12:09.311 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=1.495352ms] [gotSchemaVersion=323] [phyTblIDs="[349]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:09.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=323] [2025/04/05 23:12:09.316 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=323] ["take time"=8.656342ms] [job="ID:350, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.327 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.339 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/05 23:12:09.339 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=323] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/05 23:12:09.361 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.361 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:09.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.374 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 351, Table Name: _t1, Old Table ID: 349, Old Table Name: _t1)"] [2025/04/05 23:12:09.389 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=1.666744ms] [gotSchemaVersion=324] [phyTblIDs="[349,351]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:09.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=324] [2025/04/05 23:12:09.394 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=324] ["take time"=8.54728ms] [job="ID:352, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.405 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=352] [tableIDs="[349]"] [comment="truncate table: table ID"] [2025/04/05 23:12:09.409 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="truncate table"] [2025/04/05 23:12:09.410 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.428 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/05 23:12:09.428 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=324] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:09.434 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539938852882] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.070582ms] [2025/04/05 23:12:09.434 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.193664ms] [total_duration=4.938037ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457151539938852882] [2025/04/05 23:12:09.435 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539938852882] [commitTS=457151539951960067] [2025/04/05 23:12:09.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539938852882] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] [concurrency=8] [2025/04/05 23:12:09.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539938852882] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] ["cost time"=2.26065ms] ["completed regions"=1] [2025/04/05 23:12:09.438 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539938852882] [commitTS=457151539951960067] [session=15] [2025/04/05 23:12:09.447 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.447 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:09.452 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.459 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 353, Table Name: _t1, Old Table ID: 351, Old Table Name: _t1)"] [2025/04/05 23:12:09.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.424529ms] [gotSchemaVersion=325] [phyTblIDs="[351,353]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:09.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=325] [2025/04/05 23:12:09.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=325] ["take time"=8.162729ms] [job="ID:354, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [Pipeline] } [2025/04/05 23:12:09.488 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=354] [tableIDs="[351]"] [comment="truncate table: table ID"] [2025/04/05 23:12:09.491 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=354] [jobType="truncate table"] [2025/04/05 23:12:09.492 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/05 23:12:09.509 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=325] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:09.515 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539965067277] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.010085ms] [2025/04/05 23:12:09.515 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.100286ms] [total_duration=5.268088ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457151539965067277] [2025/04/05 23:12:09.516 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539965067277] [commitTS=457151539965067280] [2025/04/05 23:12:09.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539965067277] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/05 23:12:09.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539965067277] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.260032ms] ["completed regions"=1] [2025/04/05 23:12:09.519 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539965067277] [commitTS=457151539965067280] [session=15] [2025/04/05 23:12:09.529 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539965067282] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=981.632µs] [2025/04/05 23:12:09.529 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.070217ms] [total_duration=4.111459ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457151539965067282] [2025/04/05 23:12:09.530 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539965067282] [commitTS=457151539965067284] [2025/04/05 23:12:09.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539965067282] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/05 23:12:09.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539965067282] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.031279ms] ["completed regions"=1] [2025/04/05 23:12:09.532 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539965067282] [commitTS=457151539965067284] [session=15] [2025/04/05 23:12:09.537 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151539978174465] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.23299ms] [2025/04/05 23:12:09.538 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.325927ms] [total_duration=4.491888ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457151539978174465] [2025/04/05 23:12:09.539 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151539978174465] [commitTS=457151539978174467] [2025/04/05 23:12:09.539 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151539978174465] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] [concurrency=8] [2025/04/05 23:12:09.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151539978174465] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] ["cost time"=2.063649ms] ["completed regions"=1] [2025/04/05 23:12:09.541 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151539978174465] [commitTS=457151539978174467] [session=15] [2025/04/05 23:12:09.551 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.551 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:09.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.572 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=1.933059ms] [gotSchemaVersion=326] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=326] [2025/04/05 23:12:09.577 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=326] ["take time"=8.757666ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.606 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=2.073731ms] [gotSchemaVersion=327] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.610 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=327] [2025/04/05 23:12:09.612 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=327] ["take time"=9.506973ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.620 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.626 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 353, Old Table Name: _t1)"] [2025/04/05 23:12:09.639 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=1.169548ms] [gotSchemaVersion=328] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:09.644 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=328] [2025/04/05 23:12:09.646 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=9.707292ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.657 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop table: table ID"] [2025/04/05 23:12:09.662 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/05 23:12:09.663 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.682 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/05 23:12:09.683 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=328] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:09.696 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.696 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 23:12:09.702 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.706 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 356, Table Name: t1)"] [2025/04/05 23:12:09.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=1.511728ms] [gotSchemaVersion=329] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:09.725 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=329] [2025/04/05 23:12:09.726 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=329] ["take time"=8.657195ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.737 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.749 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/05 23:12:09.749 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=329] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 23:12:09.755 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540030603271] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=858.917µs] [2025/04/05 23:12:09.755 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=982.925µs] [total_duration=4.403422ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457151540030603271] [2025/04/05 23:12:09.756 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540030603271] [commitTS=457151540030603275] [2025/04/05 23:12:09.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540030603271] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] [concurrency=8] [2025/04/05 23:12:09.758 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540030603271] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] ["cost time"=2.177035ms] ["completed regions"=1] [2025/04/05 23:12:09.758 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540030603271] [commitTS=457151540030603275] [session=15] [2025/04/05 23:12:09.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/05 23:12:09.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.779 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: _t1)"] [2025/04/05 23:12:09.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=1.438312ms] [gotSchemaVersion=330] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:09.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=330] [2025/04/05 23:12:09.799 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=330] ["take time"=8.250763ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.810 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.821 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/05 23:12:09.821 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=330] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/05 23:12:09.844 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.844 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:09.849 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.857 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: _t1, Old Table ID: 358, Old Table Name: _t1)"] [2025/04/05 23:12:09.872 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=1.745328ms] [gotSchemaVersion=331] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:09.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=331] [2025/04/05 23:12:09.879 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=331] ["take time"=9.658481ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.889 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/05 23:12:09.893 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/05 23:12:09.894 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.912 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/05 23:12:09.912 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=331] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:09.917 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540070187021] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.177111ms] [2025/04/05 23:12:09.917 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.314435ms] [total_duration=3.008473ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457151540070187021] [2025/04/05 23:12:09.918 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540070187021] [commitTS=457151540070187022] [2025/04/05 23:12:09.918 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540070187021] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] [concurrency=8] [2025/04/05 23:12:09.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540070187021] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] ["cost time"=2.400407ms] ["completed regions"=1] [2025/04/05 23:12:09.921 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540070187021] [commitTS=457151540070187022] [session=15] [2025/04/05 23:12:09.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:09.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:09.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:09.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.944 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 362, Table Name: _t1, Old Table ID: 360, Old Table Name: _t1)"] [2025/04/05 23:12:09.959 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=1.51997ms] [gotSchemaVersion=332] [phyTblIDs="[360,362]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:09.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=332] [2025/04/05 23:12:09.964 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=332] ["take time"=8.054955ms] [job="ID:363, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.974 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=363] [tableIDs="[360]"] [comment="truncate table: table ID"] [2025/04/05 23:12:09.978 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=363] [jobType="truncate table"] [2025/04/05 23:12:09.979 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:09.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:09.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/05 23:12:09.997 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=332] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:10.002 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540096139272] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.109487ms] [2025/04/05 23:12:10.003 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.197493ms] [total_duration=4.282548ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457151540096139272] [2025/04/05 23:12:10.004 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540096139272] [commitTS=457151540096139273] [2025/04/05 23:12:10.004 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540096139272] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] [concurrency=8] [2025/04/05 23:12:10.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540096139272] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] ["cost time"=2.453088ms] ["completed regions"=1] [2025/04/05 23:12:10.007 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540096139272] [commitTS=457151540096139273] [session=15] [2025/04/05 23:12:10.023 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540096139276] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.059718ms] [2025/04/05 23:12:10.023 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.149781ms] [total_duration=5.113191ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457151540096139276] [2025/04/05 23:12:10.024 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540096139276] [commitTS=457151540096139277] [2025/04/05 23:12:10.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540096139276] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/05 23:12:10.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540096139276] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.416366ms] ["completed regions"=1] [2025/04/05 23:12:10.027 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540096139276] [commitTS=457151540096139277] [session=15] [2025/04/05 23:12:10.035 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540096139278] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.005673ms] [2025/04/05 23:12:10.035 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.089972ms] [total_duration=5.17494ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457151540096139278] [2025/04/05 23:12:10.036 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540096139278] [commitTS=457151540109508610] [2025/04/05 23:12:10.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540096139278] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/05 23:12:10.039 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540096139278] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.570947ms] ["completed regions"=1] [2025/04/05 23:12:10.039 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540096139278] [commitTS=457151540109508610] [session=15] [2025/04/05 23:12:10.051 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:10.051 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:10.057 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.072 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=1.943273ms] [gotSchemaVersion=333] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:10.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=333] [2025/04/05 23:12:10.078 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=333] ["take time"=9.396676ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=1.911633ms] [gotSchemaVersion=334] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:10.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=334] [2025/04/05 23:12:10.108 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=334] ["take time"=9.003375ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.117 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.123 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 356, Old Table Name: t1)"] [2025/04/05 23:12:10.136 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=1.04966ms] [gotSchemaVersion=335] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:10.140 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=335] [2025/04/05 23:12:10.141 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=335] ["take time"=8.330068ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.150 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=364] [tableIDs="[356]"] [comment="drop table: table ID"] [2025/04/05 23:12:10.155 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/05 23:12:10.156 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.172 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/05 23:12:10.183 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:10.183 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 23:12:10.189 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.204 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=2.079859ms] [gotSchemaVersion=336] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:10.208 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=336] [2025/04/05 23:12:10.210 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=336] ["take time"=9.020517ms] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.219 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=2.060429ms] [gotSchemaVersion=337] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:10.240 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=337] [2025/04/05 23:12:10.241 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=337] ["take time"=9.671273ms] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.250 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.256 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 362, Old Table Name: _t1)"] [2025/04/05 23:12:10.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=1.066222ms] [gotSchemaVersion=338] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:10.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=338] [2025/04/05 23:12:10.275 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=338] ["take time"=8.357468ms] [job="ID:365, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.284 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=365] [tableIDs="[362]"] [comment="drop table: table ID"] [2025/04/05 23:12:10.291 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=365] [jobType="drop table"] [2025/04/05 23:12:10.293 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/05 23:12:10.312 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=338] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:10.325 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:10.325 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/05 23:12:10.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.335 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: _t1)"] [2025/04/05 23:12:10.350 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=1.597309ms] [gotSchemaVersion=339] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:10.354 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=339] [2025/04/05 23:12:10.356 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=339] ["take time"=8.650939ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.367 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.378 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/05 23:12:10.378 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=339] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/05 23:12:10.396 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:10.396 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:10.401 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.408 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 368, Table Name: _t1, Old Table ID: 366, Old Table Name: _t1)"] [2025/04/05 23:12:10.423 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=1.59709ms] [gotSchemaVersion=340] [phyTblIDs="[366,368]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:10.427 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=340] [2025/04/05 23:12:10.429 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=8.659873ms] [job="ID:369, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.439 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=369] [tableIDs="[366]"] [comment="truncate table: table ID"] [2025/04/05 23:12:10.443 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=369] [jobType="truncate table"] [2025/04/05 23:12:10.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.462 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/05 23:12:10.462 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=340] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:10.465 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540214366223] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.06053ms] [2025/04/05 23:12:10.465 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.158294ms] [total_duration=1.993903ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457151540214366223] [2025/04/05 23:12:10.466 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540214366223] [commitTS=457151540214366224] [2025/04/05 23:12:10.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540214366223] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] [concurrency=8] [2025/04/05 23:12:10.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540214366223] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] ["cost time"=2.166484ms] ["completed regions"=1] [2025/04/05 23:12:10.469 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540214366223] [commitTS=457151540214366224] [session=15] [2025/04/05 23:12:10.479 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:10.479 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:10.484 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:10.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.491 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 370, Table Name: _t1, Old Table ID: 368, Old Table Name: _t1)"] [2025/04/05 23:12:10.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=1.533662ms] [gotSchemaVersion=341] [phyTblIDs="[368,370]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:10.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=371] [version=341] [2025/04/05 23:12:10.511 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=341] ["take time"=8.570867ms] [job="ID:371, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.521 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=371] [tableIDs="[368]"] [comment="truncate table: table ID"] [2025/04/05 23:12:10.525 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=371] [jobType="truncate table"] [2025/04/05 23:12:10.525 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:10.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:10.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=371] [2025/04/05 23:12:10.543 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=341] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:10.547 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540240318471] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.006595ms] [2025/04/05 23:12:10.547 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.088183ms] [total_duration=2.962559ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457151540240318471] [2025/04/05 23:12:10.548 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540240318471] [commitTS=457151540240318472] [2025/04/05 23:12:10.548 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540240318471] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] [concurrency=8] [2025/04/05 23:12:10.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540240318471] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] ["cost time"=2.154084ms] ["completed regions"=1] [2025/04/05 23:12:10.550 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540240318471] [commitTS=457151540240318472] [session=15] [2025/04/05 23:12:10.560 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540240318474] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.188256ms] [2025/04/05 23:12:10.560 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.281776ms] [total_duration=4.523186ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457151540240318474] [2025/04/05 23:12:10.561 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540240318474] [commitTS=457151540240318475] [2025/04/05 23:12:10.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540240318474] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/05 23:12:10.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540240318474] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.072516ms] ["completed regions"=1] [2025/04/05 23:12:10.564 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540240318474] [commitTS=457151540240318475] [session=15] [2025/04/05 23:12:10.569 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151540240318476] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.044711ms] [2025/04/05 23:12:10.569 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.139079ms] [total_duration=4.588559ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457151540240318476] [2025/04/05 23:12:10.570 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151540240318476] [commitTS=457151540240318477] [2025/04/05 23:12:10.571 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151540240318476] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/05 23:12:10.572 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:10.573 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:10.573 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.573 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:10.573 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=64.853µs] [2025/04/05 23:12:10.573 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151540240318476] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.039649ms] ["completed regions"=1] [2025/04/05 23:12:10.573 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151540240318476] [commitTS=457151540240318477] [session=15] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=59.252µs] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=46.864µs] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=39.494µs] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=39.311µs] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=43.331µs] [2025/04/05 23:12:10.573 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=34.778µs] [2025/04/05 23:12:10.574 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=36.438µs] [2025/04/05 23:12:10.574 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=39.149µs] [2025/04/05 23:12:10.574 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=37.329µs] [2025/04/05 23:12:10.574 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.574 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.575 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:10.575 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:10.595 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d824c60c-dda0-41c1-8de6-a441e0dce1a7] ["take time"=22.338081ms] [2025/04/05 23:12:10.595 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.595 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:10.595 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f5262470-f44d-4213-b8e9-f351b9a21056] [watcherID=3be33bd2-fc5f-426d-a83c-ab43cb274d3c] [2025/04/05 23:12:10.595 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:12:10.595 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f5262470-f44d-4213-b8e9-f351b9a21056] [2025/04/05 23:12:10.595 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [ttl-worker=task-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [originalCount=4] [newCount=0] [2025/04/05 23:12:10.595 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:10.595 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:10.595 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:10.595 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:10.596 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [ttl-worker=task-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [originalCount=4] [newCount=0] [2025/04/05 23:12:10.598 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:10.598 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:10.598 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:10.598 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:10.600 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=728] [2025/04/05 23:12:10.601 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:10.601 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:10.601 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:10.601 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:10.602 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:10.602 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:10.602 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:10.601 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:10.602 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:10.602 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:10.602 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:10.602 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.603 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.603 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.603 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:10.603 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.603 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:10.603 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:10.603 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:10.603 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:10.604 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:10.604 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ac4ce230-82b9-40ea-b384-b5a2601c3412] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:10.604 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:10.604 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:10.604 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:10.604 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:10.604 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:10.604 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:10.604 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [error="context canceled"] [2025/04/05 23:12:10.604 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:10.604 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:10.604 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:10.605 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [error="context canceled"] [2025/04/05 23:12:10.605 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [2025/04/05 23:12:10.605 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [error="context canceled"] [2025/04/05 23:12:10.605 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d824c60c-dda0-41c1-8de6-a441e0dce1a7] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:10.626 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:10.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:10.668 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:10.668 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:10.680 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=107.217143ms] [2025/04/05 23:12:11.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539270647820 commit_ts:457151539270647823 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:11.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539270647820 commit_ts:457151539270647823 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:11.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539270647820 commit_ts:457151539270647823 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:11.958 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539296862219 commit_ts:457151539296862222 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:11.958 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539296862219 commit_ts:457151539296862222 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:11.958 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539296862219 commit_ts:457151539296862222 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:11.967 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539296862223 commit_ts:457151539296862224 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:11.967 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539296862223 commit_ts:457151539296862224 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:11.967 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539296862223 commit_ts:457151539296862224 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:11.975 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539296862225 commit_ts:457151539296862226 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:11.975 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539296862225 commit_ts:457151539296862226 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:11.975 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539296862225 commit_ts:457151539296862226 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:11.982 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539296862227 commit_ts:457151539296862228 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:11.982 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539296862227 commit_ts:457151539296862228 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:11.982 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539296862227 commit_ts:457151539296862228 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.403 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539414827014 commit_ts:457151539414827017 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.403 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539414827014 commit_ts:457151539414827017 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.403 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539414827014 commit_ts:457151539414827017 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.488 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539427934228 commit_ts:457151539440779265 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.488 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539427934228 commit_ts:457151539440779265 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.488 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539427934228 commit_ts:457151539440779265 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.495 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539440779267 commit_ts:457151539440779268 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.495 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539440779267 commit_ts:457151539440779268 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.495 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539440779267 commit_ts:457151539440779268 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.500 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539440779269 commit_ts:457151539440779270 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.500 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539440779269 commit_ts:457151539440779270 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.500 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539440779269 commit_ts:457151539440779270 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.505 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539440779271 commit_ts:457151539440779272 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.505 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539440779271 commit_ts:457151539440779272 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.505 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539440779271 commit_ts:457151539440779272 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.708 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539493470217 commit_ts:457151539493470221 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.708 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539493470217 commit_ts:457151539493470221 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.708 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539493470217 commit_ts:457151539493470221 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.866 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539532529674 commit_ts:457151539532529675 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.866 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539532529674 commit_ts:457151539532529675 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.866 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539532529674 commit_ts:457151539532529675 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.961 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539558744075 commit_ts:457151539558744076 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.961 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539558744075 commit_ts:457151539558744076 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.961 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539558744075 commit_ts:457151539558744076 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.981 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539558744078 commit_ts:457151539558744079 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:12.981 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539558744078 commit_ts:457151539558744079 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.981 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539558744078 commit_ts:457151539558744079 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.993 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539571851265 commit_ts:457151539571851267 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:12.993 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539571851265 commit_ts:457151539571851267 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:12.993 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539571851265 commit_ts:457151539571851267 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.411 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539676708874 commit_ts:457151539676708875 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.411 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539676708874 commit_ts:457151539676708875 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.411 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539676708874 commit_ts:457151539676708875 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.494 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539703185410 commit_ts:457151539703185411 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.494 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539703185410 commit_ts:457151539703185411 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.494 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539703185410 commit_ts:457151539703185411 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.506 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539703185413 commit_ts:457151539703185414 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.506 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539703185413 commit_ts:457151539703185414 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.506 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539703185413 commit_ts:457151539703185414 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.512 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539703185415 commit_ts:457151539703185416 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.512 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539703185415 commit_ts:457151539703185416 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.512 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539703185415 commit_ts:457151539703185416 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.716 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539755352076 commit_ts:457151539755352080 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.716 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539755352076 commit_ts:457151539755352080 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.716 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539755352076 commit_ts:457151539755352080 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.880 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539794673680 commit_ts:457151539794673683 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.880 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539794673680 commit_ts:457151539794673683 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.881 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539794673680 commit_ts:457151539794673683 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.973 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539821150223 commit_ts:457151539821150226 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.973 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539821150223 commit_ts:457151539821150226 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:13.973 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539821150223 commit_ts:457151539821150226 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.994 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539833995265 commit_ts:457151539833995267 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:13.994 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539833995265 commit_ts:457151539833995267 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:13.994 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539833995265 commit_ts:457151539833995267 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.006 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539833995268 commit_ts:457151539833995269 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.006 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539833995268 commit_ts:457151539833995269 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.006 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539833995268 commit_ts:457151539833995269 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.438 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539938852882 commit_ts:457151539951960067 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.438 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539938852882 commit_ts:457151539951960067 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.438 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539938852882 commit_ts:457151539951960067 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.520 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539965067277 commit_ts:457151539965067280 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.520 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539965067277 commit_ts:457151539965067280 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.520 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539965067277 commit_ts:457151539965067280 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.534 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539965067282 commit_ts:457151539965067284 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.534 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539965067282 commit_ts:457151539965067284 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.534 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539965067282 commit_ts:457151539965067284 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151539978174465 commit_ts:457151539978174467 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151539978174465 commit_ts:457151539978174467 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151539978174465 commit_ts:457151539978174467 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.759 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540030603271 commit_ts:457151540030603275 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:14.759 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540030603271 commit_ts:457151540030603275 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.759 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540030603271 commit_ts:457151540030603275 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.922 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540070187021 commit_ts:457151540070187022 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:14.922 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540070187021 commit_ts:457151540070187022 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:14.922 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540070187021 commit_ts:457151540070187022 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.007 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540096139272 commit_ts:457151540096139273 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.007 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540096139272 commit_ts:457151540096139273 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.007 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540096139272 commit_ts:457151540096139273 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.028 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540096139276 commit_ts:457151540096139277 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.028 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540096139276 commit_ts:457151540096139277 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.028 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540096139276 commit_ts:457151540096139277 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.040 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540096139278 commit_ts:457151540109508610 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.040 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540096139278 commit_ts:457151540109508610 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.040 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540096139278 commit_ts:457151540109508610 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.470 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540214366223 commit_ts:457151540214366224 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.470 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540214366223 commit_ts:457151540214366224 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.470 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540214366223 commit_ts:457151540214366224 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.551 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540240318471 commit_ts:457151540240318472 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.551 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540240318471 commit_ts:457151540240318472 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.551 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540240318471 commit_ts:457151540240318472 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.565 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540240318474 commit_ts:457151540240318475 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.565 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540240318474 commit_ts:457151540240318475 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.565 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540240318474 commit_ts:457151540240318475 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.574 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151540240318476 commit_ts:457151540240318477 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:15.574 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151540240318476 commit_ts:457151540240318477 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:15.574 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151540240318476 commit_ts:457151540240318477 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:15.574 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:15.574 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:15.574 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:15.574 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:15.574 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:15.574 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:15.574 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:15.574 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:15.574 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:15.574 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:15.574 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:15.574 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:15.576 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.58s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/05 23:12:15.585 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:15.585 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:15.586 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:15.586 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:15.586 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:15.587 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:15.587 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:15.587 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:15.587 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:15.587 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:15.587 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:15.591 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:15.597 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:15.598 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:15.598 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:15.608 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:15.618 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:15.653 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=101] ["lease id"=2231960835b0ca6f] [2025/04/05 23:12:15.654 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:15.743 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=341] ["elapsed time"=86.455889ms] [2025/04/05 23:12:15.744 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:15.746 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:15.752 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f0c3286f-4c19-4e2e-acec-dcac295372e6] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:15.752 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:15.754 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:15.755 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:15.755 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709365248/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:15.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:15.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:15.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:15.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:15.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:15.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:15.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:15.756 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:15.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:15.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:15.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:15.756 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:15.756 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [2025/04/05 23:12:15.757 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c371] [ownerID=f0c3286f-4c19-4e2e-acec-dcac295372e6] [op=none] [2025/04/05 23:12:15.758 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:15.758 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c371] [currRev=1575] [2025/04/05 23:12:15.758 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:15.759 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:15.759 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:15.759 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0d0eb] [ownerID=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [op=none] [2025/04/05 23:12:15.759 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [2025/04/05 23:12:15.759 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [ownerKey=/tidb/br-stream/owner/6f18960835b0d0eb] [currRev=1576] [2025/04/05 23:12:15.760 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c371] [ownerID=f0c3286f-4c19-4e2e-acec-dcac295372e6] [op=none] [2025/04/05 23:12:15.760 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [op=none] [2025/04/05 23:12:15.760 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:15.765 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:15.766 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] No test report files were found. Configuration error? [2025/04/05 23:12:15.767 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:15.768 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:15.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:15.769 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:15.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:15.785 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:15.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:15.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:15.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:15.790 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:15.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:15.790 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:15.790 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:15.790 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:15.790 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:15.792 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:15.792 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:15.793 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:15.793 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:15.793 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:15.793 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:15.794 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:15.795 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b0ca79] [ownerID=f0c3286f-4c19-4e2e-acec-dcac295372e6] [op=none] [2025/04/05 23:12:15.795 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:15.795 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [ownerKey=/tidb/stats/owner/2231960835b0ca79] [currRev=1578] [2025/04/05 23:12:15.796 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:15.798 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4bb6c0de-e44d-4b1a-8500-ce895b9656a8] [2025/04/05 23:12:15.798 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:15.798 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [ttl-worker=task-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [originalCount=0] [newCount=4] [2025/04/05 23:12:15.799 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [ttl-worker=task-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [originalCount=0] [newCount=4] [2025/04/05 23:12:15.799 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:15.799 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:15.799 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:15.799 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894735799925922 [2025/04/05 23:12:15.806 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:15.814 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.813732ms] [2025/04/05 23:12:15.814 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:15.814 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:15.817 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:15.820 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=341] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 23:12:15.833 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:15.833 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/05 23:12:15.838 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.855 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=2.114171ms] [gotSchemaVersion=342] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:15.859 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=342] [2025/04/05 23:12:15.860 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=342] ["take time"=9.696026ms] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=1.999312ms] [gotSchemaVersion=343] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:15.889 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=343] [2025/04/05 23:12:15.891 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=343] ["take time"=8.931691ms] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.905 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 370, Old Table Name: _t1)"] [2025/04/05 23:12:15.918 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=1.048972ms] [gotSchemaVersion=344] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:15.922 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=344] [2025/04/05 23:12:15.924 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=8.208967ms] [job="ID:372, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.933 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=372] [tableIDs="[370]"] [comment="drop table: table ID"] [2025/04/05 23:12:15.940 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=372] [jobType="drop table"] [2025/04/05 23:12:15.941 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.960 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/05 23:12:15.960 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=344] [cur_db=test] [sql="drop table `_t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894735961072948 [2025/04/05 23:12:15.965 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=344] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 23:12:15.978 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:15.978 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [2025/04/05 23:12:15.984 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:15.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:15.988 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t1)"] [2025/04/05 23:12:16.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=1.725512ms] [gotSchemaVersion=345] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:16.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=345] [2025/04/05 23:12:16.010 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=345] ["take time"=9.109593ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:15.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:16.021 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:15.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:16.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/05 23:12:16.033 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=345] [cur_db=test] [sql="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [user=] [2025/04/05 23:12:16.283 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:12:16.602 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151541773860866] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=29.287308ms] [2025/04/05 23:12:16.602 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151541773860866] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=26.58µs] [2025/04/05 23:12:16.602 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=29.459751ms] [total_duration=190.660821ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457151541773860866] [2025/04/05 23:12:16.603 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151541773860866] [commitTS=457151541826551809] [2025/04/05 23:12:16.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151541773860866] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] [concurrency=8] [2025/04/05 23:12:16.608 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457151541773860866\n# Conn_ID: 17\n# Query_time: 0.313058643\n# Parse_time: 0.044899701\n# Compile_time: 0.075316716\n# Rewrite_time: 0.010394442\n# Optimize_time: 0.000941786\n# Wait_TS: 0.000393555\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20161, time_detail: {total_process_time: 58.9µs, total_suspend_time: 283.5µs, tikv_grpc_process_time: 14.2µs, tikv_grpc_wait_time: 17.2µs, tikv_wall_time: 381.7µs}, scan_detail: {get_snapshot_time: 10µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 16.7µs, propose_send_wait: 0s, persist_log: {total: 57.9µs, write_leader_wait: 34ns, sync_log: 29.9µs, write_memtable: 537ns}, commit_log: 172.6µs, apply_batch_wait: 12.1µs, apply: {total:54.3µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 9.17µs, write_memtable: 21.7µs}, scheduler: {process: 306.8µs, latch_wait: 1.07µs}}}\n# DB: test\n# Is_internal: false\n# Digest: 43c79ebc76dd6ba27c6f2ec2f68e70a9960fcb9aa251ddbe3451266c65b25af9\n# Mem_max: 1054096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"Duplicate entry '250' for key 't1.idx'\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('wwnwdTAJMjdfMQkwCTAJTi9BCTAJdGltZToxNjAuOW1zLCBvcGVuOjcuOTTCtXMsIGNsb3NlOjE4LjnCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDE4LjhtcywgY2hlY2tfaW5zZXJ0OiB7dG90YWxfdGltZTogMTQyLjEBWwxtZW1fCSIRGgQyNAEYIHByZWZldGNoOgFOADEBEghma18FUQw6IDEwARBgcnBjOntCdWZmZXJCYXRjaEdldDp7bnVtXwEZDDEsIHQZbxw1LjAxbXN9LH4oAAA3AWoIfSwgAf4YX2RldGFpbBW4GHByb2Nlc3MNpgg2bnMRYixrdl9yZWFkX3dhbGwNHgw5LjI3AaMgdGlrdl9ncnBjOj4AEDI3Mi4yJT0ZIgh3YWkxAwQyMRkcHVYMNS43OQHGECBzY2FuPp8AWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvGVMALglVSHJvY2tzZGI6IHtibG9jazoge30BARQsIGNvbW0BghB4bjogexUPGHByaW1hcnklVAQgeyVTbDogMC4wMDFzLCByZWdpb25faWQ6IDE0LCBzdG8l/jAyNy4wLjAuMToyMDE2IYkEaW16TgEENThNTAVhHF9zdXNwZW5kLU0QMjgzLjU5EUpPAQQxNG5OAQQxNy4eAD1QGDM4MS43wrUh8TZSAUpAAQQxMAWCUj4BFCwgd3JpdB3jJQkEX2JBlSXXDDogMTYFaigsIHByb3Bvc2VfcwHgIfMIOiAwARckZXJzaXN0X2xvZzlnBDU3LRYJXxRsZWFkZXINNQQzNEGBDHN5bmMJNAQyOTIsADRtZW10YWJsZTogNTM3bgHiLd8FYRAxNzIuNgXQEGFwcGx5NqoAADJNKQUbFY0MNTQuMwUyFG11dGV4X0k7AbpKnAAZFxx3YWw6IDkuMSFmMSYZmwAyPX8kaGVkdWxlcjoge21oGDogMzA2LjgFdABsLkoBBC4wAU5BtDQJNTI1LjQgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('zwnwZQrKCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTYwLjltcywgb3Blbjo3Ljk0wrVzLCBjbG9zZToxOC45wrVzLCBsb29wczoxYrwDcHJlcGFyZTogMTguOG1zLCBjaGVja19pbgFfIDoge3RvdGFsXwVbOCAxNDIuMW1zLCBtZW1faQmBDRoEMjQBGCxwcmVmZXRjaDogMTgJKgxma19jAVEMOiAxMAEiYHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQgxLCAdbxw1LjAxbXN9LH4oAAA3AWoIfSwgAYoYX2RldGFpbBW4GHByb2Nlc3MNpgg2bnMRYihrdl9yZWFkX3dhbBHeDDkuMjcBoyB0aWt2X2dycGM6PgAQMjcyLjIlTRkiDHdhaXQNXQQyMRkcHVYMNS43OQHGECBzY2FuPp8AWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvGVMALglVSHJvY2tzZGI6IHtibG9jazoge30BARhisgVjb21tAYMYeG46IHssIA0PGHByaW1hcnklVS3DSDogMC4wMDFzLCByZWdpb25faWQh0RQsIHN0b3Ih/zAyNy4wLjAuMToyMDE2IYoEaW16TwEANVFOKbUYc3VzcGVuZDEPDDgzLjU5EkpQAQQxNG5PAQQxNy4eAD1RGDM4MS43wrUh8jZTAUpBAQQxMAWCUj8BFCwgd3JpdB3jJQkEX2JBliXYDDogMTYFaigsIHByb3Bvc2VfcwHgIfQIOiAwARckZXJzaXN0X2xvZzlnDDU3LjkFdglfFGxlYWRlcg01BDM0QYIMc3luYwk0BDI5MiwANG1lbXRhYmxlOiA1MzduAeIt0AVhEDE3Mi42BVoQYXBwbHk2qgAAMk0qBRsVjQw1NC4zBTIUbXV0ZXhfSTwBukqcABkXHHdhbDogOS4xIWYxJhmbADI9fyRoZWR1bGVyOiB7bWkYOiAzMDYuOAV0AGwuSgEELjABTkG1QHCQ6yB4////////////ARgB')\n# Resource_group: default\nuse test;\ninsert ignore into t1 values (0, 0, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (1, 1, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (2, 2, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (3, 3, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (4, 4, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (5, 5, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (6, 6, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (7, 7, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (8, 8, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (9, 9, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (10, 10, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (11, 11, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (12, 12, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (13, 13, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (14, 14, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (15, 15, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (16, 16, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (17, 17, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (18, 18, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (19, 19, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (20, 20, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (21, 21, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (22, 22, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (23, 23, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (24, 24, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (25, 25, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (26, 26, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (27, 27, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (28, 28, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (29, 29, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (30, 30, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (31, 31, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (32, 32, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (33, 33, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (34, 34, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (35, 35, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (36, 36, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (37, 37, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (38, 38, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (39, 39, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (40, 40, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (41, 41, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (42, 42, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (43, 43, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (44, 44, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (45, 45, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (46, 46, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (47, 47, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (48, 48, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (49, 49, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (50, 50, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (51, 51, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (52, 52, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (53, 53, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (54, 54, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (55, 55, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (56, 56, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (57, 57, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (58, 58, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (59, 59, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (60, 60, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (len:139806);"] [2025/04/05 23:12:16.624 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:16.624 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:16.624 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [] [2025/04/05 23:12:16.625 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.625 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:16.625 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:16.625 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=86.304µs] [2025/04/05 23:12:16.625 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=81.776µs] [2025/04/05 23:12:16.625 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.625 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.626 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:16.626 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:16.627 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f0c3286f-4c19-4e2e-acec-dcac295372e6] ["take time"=3.05126ms] [2025/04/05 23:12:16.627 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.627 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:16.628 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4bb6c0de-e44d-4b1a-8500-ce895b9656a8] [2025/04/05 23:12:16.628 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [ttl-worker=task-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [originalCount=4] [newCount=0] [2025/04/05 23:12:16.628 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:16.628 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:16.628 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:16.628 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:16.628 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [ttl-worker=task-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [originalCount=4] [newCount=0] [2025/04/05 23:12:16.630 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:16.631 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:16.631 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:16.631 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:16.633 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.633 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=101] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:16.635 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:16.635 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:16.635 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:16.635 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:16.635 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:16.634 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [] [2025/04/05 23:12:16.634 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:16.635 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [2025/04/05 23:12:16.635 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:16.635 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [2025/04/05 23:12:16.634 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:16.635 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [2025/04/05 23:12:16.634 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:16.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:16.634 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:16.635 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [] [2025/04/05 23:12:16.636 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.636 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.636 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.637 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:16.637 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=70f3d84f-d1b7-4725-bd84-a8e056e994c2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:16.637 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:16.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:16.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:16.637 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:16.637 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:16.637 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:16.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:16.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:16.637 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:16.638 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [error="context canceled"] [2025/04/05 23:12:16.638 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [2025/04/05 23:12:16.638 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [error="context canceled"] [2025/04/05 23:12:16.638 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f0c3286f-4c19-4e2e-acec-dcac295372e6] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:16.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151541773860866] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] ["cost time"=36.206105ms] ["completed regions"=1] [2025/04/05 23:12:16.640 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151541773860866] [commitTS=457151541826551809] [session=17] [2025/04/05 23:12:16.655 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:16.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:16.698 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:16.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:16.709 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.275674ms] [2025/04/05 23:12:17.592 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:21.641 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151541773860866 commit_ts:457151541826551809 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:21.641 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151541773860866 commit_ts:457151541826551809 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:21.641 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151541773860866 commit_ts:457151541826551809 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:21.642 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:21.642 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:21.642 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:21.642 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:21.642 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:21.642 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:21.642 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:21.642 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:21.642 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:21.642 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:21.642 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:21.642 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:21.643 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.07s) === NAME === RUN TestPipelinedDMLDelete [2025/04/05 23:12:21.652 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:21.652 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:21.653 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:21.654 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:21.654 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:21.654 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:21.654 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:21.654 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:21.654 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:21.654 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:21.655 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:21.658 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:21.664 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:21.664 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:21.665 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:21.675 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:21.684 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:21.718 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=423] ["lease id"=3eaa960835b0c395] [2025/04/05 23:12:21.720 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:21.805 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=345] ["elapsed time"=82.981823ms] [2025/04/05 23:12:21.805 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:21.807 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:21.813 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6025f67d-abcc-43e1-a884-679503755be7] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:21.813 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:21.815 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:21.816 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:21.818 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709381632/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:21.818 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d11a] [ownerID=6025f67d-abcc-43e1-a884-679503755be7] [op=none] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:21.818 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0d11a] [currRev=1606] [2025/04/05 23:12:21.818 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:21.818 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:21.818 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [2025/04/05 23:12:21.819 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:21.820 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d11a] [ownerID=6025f67d-abcc-43e1-a884-679503755be7] [op=none] [2025/04/05 23:12:21.820 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [op=none] [2025/04/05 23:12:21.820 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:21.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:21.821 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:21.821 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0d11d] [ownerID=43c0a34a-dcfd-4548-876d-1796b8a42687] [op=none] [2025/04/05 23:12:21.821 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [2025/04/05 23:12:21.821 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [ownerKey=/tidb/br-stream/owner/6f18960835b0d11d] [currRev=1607] [2025/04/05 23:12:21.826 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:21.827 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:21.828 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:21.828 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:21.829 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:21.829 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:21.838 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:21.845 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:21.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:21.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:21.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:21.850 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:21.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:21.850 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:21.850 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:21.850 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:21.850 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:21.851 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:21.851 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:21.852 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:21.852 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:21.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:21.853 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:21.853 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:21.853 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:21.853 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:21.853 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:21.854 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:21.854 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835b0c39e] [ownerID=6025f67d-abcc-43e1-a884-679503755be7] [op=none] [2025/04/05 23:12:21.855 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:21.855 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [ownerKey=/tidb/stats/owner/3eaa960835b0c39e] [currRev=1609] [2025/04/05 23:12:21.856 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/97701a0b-2156-472c-ad33-4d02eef5dc2e] [2025/04/05 23:12:21.857 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [ttl-worker=task-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [originalCount=0] [newCount=4] [2025/04/05 23:12:21.857 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [ttl-worker=task-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [originalCount=0] [newCount=4] [2025/04/05 23:12:21.857 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:21.858 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:21.858 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:21.858 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:21.858 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894741858658035 [2025/04/05 23:12:21.864 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:21.871 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.57307ms] [2025/04/05 23:12:21.871 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:21.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:21.872 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:21.875 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=345] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:12:21.892 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:21.892 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:12:21.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:21.918 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=2.647226ms] [gotSchemaVersion=346] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:21.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=346] [2025/04/05 23:12:21.925 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=346] ["take time"=11.862479ms] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:21.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:21.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=2.485564ms] [gotSchemaVersion=347] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:21.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=347] [2025/04/05 23:12:21.959 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=347] ["take time"=10.167286ms] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:21.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:21.975 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 373, Old Table Name: t1)"] [2025/04/05 23:12:21.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=1.061233ms] [gotSchemaVersion=348] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:21.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=348] [2025/04/05 23:12:21.995 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=348] ["take time"=8.653749ms] [job="ID:375, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.005 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=375] [tableIDs="[373]"] [comment="drop table: table ID"] [2025/04/05 23:12:22.013 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=375] [jobType="drop table"] [2025/04/05 23:12:22.014 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:21.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/05 23:12:22.034 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=348] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894742035215145 [2025/04/05 23:12:22.039 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=348] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:12:22.052 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:22.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:22.052 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:22.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:12:22.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:22.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.062 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 376, Table Name: t)"] [2025/04/05 23:12:22.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.584415ms] [gotSchemaVersion=349] [phyTblIDs="[376]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:22.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=377] [version=349] [2025/04/05 23:12:22.085 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=349] ["take time"=11.047014ms] [job="ID:377, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:22.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.096 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:22.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=377] [2025/04/05 23:12:22.108 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=349] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:12:22.121 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:22.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:12:22.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.132 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 378, Table Name: _t)"] [2025/04/05 23:12:22.146 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=1.443102ms] [gotSchemaVersion=350] [phyTblIDs="[378]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:22.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=350] [2025/04/05 23:12:22.152 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=350] ["take time"=8.838803ms] [job="ID:379, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.163 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:22.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/05 23:12:22.176 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=350] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:12:22.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543281188879] [2025/04/05 23:12:22.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543281188883] [2025/04/05 23:12:22.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296067] [2025/04/05 23:12:22.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296070] [2025/04/05 23:12:22.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296073] [2025/04/05 23:12:22.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296076] [2025/04/05 23:12:22.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296079] [2025/04/05 23:12:22.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296082] [2025/04/05 23:12:22.209 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296085] [2025/04/05 23:12:22.213 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296088] [2025/04/05 23:12:22.217 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296091] [2025/04/05 23:12:22.222 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296094] [2025/04/05 23:12:22.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296098] [2025/04/05 23:12:22.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543294296101] [2025/04/05 23:12:22.233 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403265] [2025/04/05 23:12:22.237 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403268] [2025/04/05 23:12:22.240 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403271] [2025/04/05 23:12:22.244 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403274] [2025/04/05 23:12:22.247 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403277] [2025/04/05 23:12:22.251 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403280] [2025/04/05 23:12:22.254 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403283] [2025/04/05 23:12:22.258 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403286] [2025/04/05 23:12:22.262 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403289] [2025/04/05 23:12:22.266 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403292] [2025/04/05 23:12:22.270 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403295] [2025/04/05 23:12:22.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403299] [2025/04/05 23:12:22.277 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403302] [2025/04/05 23:12:22.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543307403305] [2025/04/05 23:12:22.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510467] [2025/04/05 23:12:22.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510470] [2025/04/05 23:12:22.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510473] [2025/04/05 23:12:22.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510476] [2025/04/05 23:12:22.299 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510479] [2025/04/05 23:12:22.303 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510482] [2025/04/05 23:12:22.306 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510485] [2025/04/05 23:12:22.310 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510488] [2025/04/05 23:12:22.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510491] [2025/04/05 23:12:22.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510494] [2025/04/05 23:12:22.321 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510498] [2025/04/05 23:12:22.325 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510504] [2025/04/05 23:12:22.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510507] [2025/04/05 23:12:22.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543320510510] [2025/04/05 23:12:22.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879811] [2025/04/05 23:12:22.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879814] [2025/04/05 23:12:22.343 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879817] [2025/04/05 23:12:22.347 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879820] [2025/04/05 23:12:22.350 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879823] [2025/04/05 23:12:22.354 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879826] [2025/04/05 23:12:22.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879829] [2025/04/05 23:12:22.361 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879832] [2025/04/05 23:12:22.364 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879835] [2025/04/05 23:12:22.368 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879838] [2025/04/05 23:12:22.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879841] [2025/04/05 23:12:22.375 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879845] [2025/04/05 23:12:22.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879848] [2025/04/05 23:12:22.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543333879851] [2025/04/05 23:12:22.386 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987011] [2025/04/05 23:12:22.390 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987014] [2025/04/05 23:12:22.393 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987017] [2025/04/05 23:12:22.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987020] [2025/04/05 23:12:22.401 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987023] [2025/04/05 23:12:22.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987026] [2025/04/05 23:12:22.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987029] [2025/04/05 23:12:22.411 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987032] [2025/04/05 23:12:22.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987035] [2025/04/05 23:12:22.418 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987038] [2025/04/05 23:12:22.422 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987041] [2025/04/05 23:12:22.426 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987045] [2025/04/05 23:12:22.430 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543346987048] [2025/04/05 23:12:22.434 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832066] [2025/04/05 23:12:22.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832069] [2025/04/05 23:12:22.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832072] [2025/04/05 23:12:22.445 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832075] [2025/04/05 23:12:22.448 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832078] [2025/04/05 23:12:22.452 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832081] [2025/04/05 23:12:22.456 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832084] [2025/04/05 23:12:22.460 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832087] [2025/04/05 23:12:22.464 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832091] [2025/04/05 23:12:22.467 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832094] [2025/04/05 23:12:22.471 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832097] [2025/04/05 23:12:22.475 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832101] [2025/04/05 23:12:22.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832104] [2025/04/05 23:12:22.482 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543359832107] [2025/04/05 23:12:22.486 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939267] [2025/04/05 23:12:22.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939270] [2025/04/05 23:12:22.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939273] [2025/04/05 23:12:22.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939276] [2025/04/05 23:12:22.501 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939279] [2025/04/05 23:12:22.504 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939282] [2025/04/05 23:12:22.508 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939285] [2025/04/05 23:12:22.511 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939288] [2025/04/05 23:12:22.515 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939291] [2025/04/05 23:12:22.518 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939294] [2025/04/05 23:12:22.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939297] [2025/04/05 23:12:22.526 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939301] [2025/04/05 23:12:22.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543372939304] [2025/04/05 23:12:22.533 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543386046466] [2025/04/05 23:12:22.537 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543386046469] [2025/04/05 23:12:22.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543386046472] [2025/04/05 23:12:22.544 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151543386046475] [2025/04/05 23:12:22.555 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151543386046479] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.654392ms] [2025/04/05 23:12:22.555 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.76696ms] [total_duration=4.126967ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457151543386046479] [2025/04/05 23:12:22.556 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151543386046479] [commitTS=457151543386046480] [2025/04/05 23:12:22.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151543386046479] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] [concurrency=8] [2025/04/05 23:12:22.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151543386046479] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] ["cost time"=5.101513ms] ["completed regions"=1] [2025/04/05 23:12:22.562 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151543386046479] [commitTS=457151543386046480] [session=19] [2025/04/05 23:12:22.571 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151543386046482] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.28224ms] [2025/04/05 23:12:22.571 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.367568ms] [total_duration=7.808357ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457151543386046482] [2025/04/05 23:12:22.572 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151543386046482] [commitTS=457151543386046486] [2025/04/05 23:12:22.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151543386046482] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/05 23:12:22.574 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001785f7280000000000003e8] [2025/04/05 23:12:22.576 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000001785f7280000000000003e8] ["first new region left"="{Id:172 StartKey:7480000000000001ff215f728000000000ff0023280000000000fa EndKey:7480000000000001ff785f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:173 store_id:1 id:174 store_id:3 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 23:12:22.576 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=172] [2025/04/05 23:12:22.593 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151543386046482] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] ["cost time"=20.444846ms] ["completed regions"=10] [2025/04/05 23:12:22.593 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457151543386046482] [commitTS=457151543386046486] [session=19] [2025/04/05 23:12:22.678 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f7280000000000003e8] ["new region left"="{Id:172 StartKey:7480000000000001ff215f728000000000ff0023280000000000fa EndKey:7480000000000001ff785f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:173 store_id:1 id:174 store_id:3 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.678 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=176] [2025/04/05 23:12:22.679 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f7280000000000007d0] ["new region left"="{Id:176 StartKey:7480000000000001ff785f728000000000ff0003e80000000000fa EndKey:7480000000000001ff785f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:177 store_id:1 id:178 store_id:3 id:179 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.679 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=180] [2025/04/05 23:12:22.680 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000000bb8] ["new region left"="{Id:180 StartKey:7480000000000001ff785f728000000000ff0007d00000000000fa EndKey:7480000000000001ff785f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:181 store_id:1 id:182 store_id:3 id:183 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.680 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=184] [2025/04/05 23:12:22.681 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000000fa0] ["new region left"="{Id:184 StartKey:7480000000000001ff785f728000000000ff000bb80000000000fa EndKey:7480000000000001ff785f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:185 store_id:1 id:186 store_id:3 id:187 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.681 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=188] [2025/04/05 23:12:22.681 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001388] ["new region left"="{Id:188 StartKey:7480000000000001ff785f728000000000ff000fa00000000000fa EndKey:7480000000000001ff785f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:189 store_id:1 id:190 store_id:3 id:191 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.682 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=192] [2025/04/05 23:12:22.682 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001770] ["new region left"="{Id:192 StartKey:7480000000000001ff785f728000000000ff0013880000000000fa EndKey:7480000000000001ff785f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:193 store_id:1 id:194 store_id:3 id:195 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.683 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=196] [2025/04/05 23:12:22.683 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001b58] ["new region left"="{Id:196 StartKey:7480000000000001ff785f728000000000ff0017700000000000fa EndKey:7480000000000001ff785f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:197 store_id:1 id:198 store_id:3 id:199 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.683 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=200] [2025/04/05 23:12:22.684 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001f40] ["new region left"="{Id:200 StartKey:7480000000000001ff785f728000000000ff001b580000000000fa EndKey:7480000000000001ff785f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:201 store_id:1 id:202 store_id:3 id:203 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.684 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=204] [2025/04/05 23:12:22.685 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000002328] ["new region left"="{Id:204 StartKey:7480000000000001ff785f728000000000ff001f400000000000fa EndKey:7480000000000001ff785f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:205 store_id:1 id:206 store_id:3 id:207 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:22.685 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[172,176,180,184,188,192,196,200,204]"] [2025/04/05 23:12:22.685 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=172] [backoff(ms)=299888] [2025/04/05 23:12:22.685 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=172] [2025/04/05 23:12:22.686 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=176] [backoff(ms)=299887] [2025/04/05 23:12:22.686 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=176] [2025/04/05 23:12:22.686 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=180] [backoff(ms)=299887] [2025/04/05 23:12:22.686 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=180] [2025/04/05 23:12:22.687 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=184] [backoff(ms)=299886] [2025/04/05 23:12:22.687 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=184] [2025/04/05 23:12:22.687 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=188] [backoff(ms)=299886] [2025/04/05 23:12:22.687 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=188] [2025/04/05 23:12:22.687 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=192] [backoff(ms)=299886] [2025/04/05 23:12:22.688 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=192] [2025/04/05 23:12:22.688 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=196] [backoff(ms)=299885] [2025/04/05 23:12:22.688 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=196] [2025/04/05 23:12:22.688 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=200] [backoff(ms)=299885] [2025/04/05 23:12:22.689 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=200] [2025/04/05 23:12:22.689 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=204] [backoff(ms)=299884] [2025/04/05 23:12:22.689 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=204] [2025/04/05 23:12:22.697 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151543425368068] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.948379ms] [2025/04/05 23:12:22.697 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=2.039498ms] [total_duration=6.594816ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457151543425368068] [2025/04/05 23:12:22.699 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151543425368068] [commitTS=457151543425368069] [2025/04/05 23:12:22.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151543425368068] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/05 23:12:22.705 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151543425368068] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] ["cost time"=6.469519ms] ["completed regions"=10] [2025/04/05 23:12:22.705 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:22.706 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457151543425368068] [commitTS=457151543425368069] [session=19] [2025/04/05 23:12:22.706 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:22.706 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [] [2025/04/05 23:12:22.706 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.706 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:22.706 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:22.706 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=62.738µs] [2025/04/05 23:12:22.706 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=33.61µs] [2025/04/05 23:12:22.706 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=33.266µs] [2025/04/05 23:12:22.706 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.706 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.707 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:22.707 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:22.708 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6025f67d-abcc-43e1-a884-679503755be7] ["take time"=2.751417ms] [2025/04/05 23:12:22.708 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.708 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:22.708 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/97701a0b-2156-472c-ad33-4d02eef5dc2e] [2025/04/05 23:12:22.708 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [ttl-worker=task-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [originalCount=4] [newCount=0] [2025/04/05 23:12:22.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:22.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:22.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:22.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:22.709 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [ttl-worker=task-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [originalCount=4] [newCount=0] [2025/04/05 23:12:22.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:22.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:22.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:22.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:22.713 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.713 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=423] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:22.715 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:22.715 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:22.715 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [] [2025/04/05 23:12:22.715 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:22.715 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:22.714 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [2025/04/05 23:12:22.715 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.715 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:22.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:22.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:22.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:22.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:22.714 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:22.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:22.716 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:22.716 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:22.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:22.717 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:22.717 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:22.717 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=43c0a34a-dcfd-4548-876d-1796b8a42687] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:22.717 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:22.717 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:22.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:22.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:22.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:22.717 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [error="context canceled"] [2025/04/05 23:12:22.718 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [2025/04/05 23:12:22.734 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:22.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:22.783 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6025f67d-abcc-43e1-a884-679503755be7] [error="context canceled"] [2025/04/05 23:12:22.783 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:22.783 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:22.794 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.168911ms] [2025/04/05 23:12:23.659 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:27.563 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151543386046479 commit_ts:457151543386046480 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:27.563 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151543386046479 commit_ts:457151543386046480 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:27.563 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151543386046479 commit_ts:457151543386046480 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:27.594 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151543386046482 commit_ts:457151543386046486 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:27.594 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151543386046482 commit_ts:457151543386046486 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:27.594 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151543386046482 commit_ts:457151543386046486 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:27.707 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151543425368068 commit_ts:457151543425368069 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:27.707 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151543425368068 commit_ts:457151543425368069 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:27.707 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151543425368068 commit_ts:457151543425368069 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:27.707 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:27.707 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:27.707 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:27.707 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:27.707 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:27.707 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:27.707 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:27.707 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:27.707 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:27.707 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:27.707 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:27.707 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:27.709 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (6.07s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/05 23:12:27.719 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:27.719 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:27.720 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:27.721 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:27.721 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:27.721 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:27.721 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:27.721 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:27.721 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:27.721 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:27.722 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:27.725 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:27.730 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:27.731 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:27.732 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:27.741 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:27.754 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:27.791 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1533] ["lease id"=6f18960835b0d146] [2025/04/05 23:12:27.793 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:27.884 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=350] ["elapsed time"=88.330453ms] [2025/04/05 23:12:27.884 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:27.886 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:27.892 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:27.892 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:27.894 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:27.895 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:27.896 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709393920/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:27.896 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:27.896 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:27.896 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [2025/04/05 23:12:27.898 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c3bc] [ownerID=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [op=none] [2025/04/05 23:12:27.898 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:27.898 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c3bc] [currRev=1640] [2025/04/05 23:12:27.899 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:27.899 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:27.899 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:27.900 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c3be] [ownerID=eaca23b4-c848-41fc-a656-ae874dd27494] [op=none] [2025/04/05 23:12:27.900 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [2025/04/05 23:12:27.900 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c3be] [currRev=1641] [2025/04/05 23:12:27.900 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c3bc] [ownerID=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [op=none] [2025/04/05 23:12:27.900 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [op=none] [2025/04/05 23:12:27.900 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:27.910 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:27.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:27.911 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:27.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:27.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:27.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:27.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:27.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:27.933 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:27.933 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:27.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:27.933 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:27.933 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:27.933 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:27.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:27.934 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:27.935 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:27.935 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:27.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:27.935 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:27.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:27.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:27.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:27.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:27.937 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0d150] [ownerID=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [op=none] [2025/04/05 23:12:27.938 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:27.938 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [ownerKey=/tidb/stats/owner/6f18960835b0d150] [currRev=1643] [2025/04/05 23:12:27.938 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:27.940 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a1d8c3c8-fbce-40e5-97e4-968610c6fdde] [2025/04/05 23:12:27.940 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [ttl-worker=task-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [originalCount=0] [newCount=4] [2025/04/05 23:12:27.940 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [ttl-worker=task-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [originalCount=0] [newCount=4] [2025/04/05 23:12:27.940 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:27.941 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:27.941 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:27.942 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:27.942 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894747942236232 [2025/04/05 23:12:27.947 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:27.953 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.112644ms] [2025/04/05 23:12:27.953 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:27.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:27.955 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:27.958 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:12:27.959 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:12:27.972 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:27.972 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:27.978 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:27.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=2.073556ms] [gotSchemaVersion=351] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:27.998 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=351] [2025/04/05 23:12:28.000 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=9.74405ms] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.010 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.026 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=1.929463ms] [gotSchemaVersion=352] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:28.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=352] [2025/04/05 23:12:28.031 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=352] ["take time"=9.169595ms] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.040 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.046 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 378, Old Table Name: _t)"] [2025/04/05 23:12:28.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=983.247µs] [gotSchemaVersion=353] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:28.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=353] [2025/04/05 23:12:28.064 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=7.969497ms] [job="ID:380, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.073 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=380] [tableIDs="[378]"] [comment="drop table: table ID"] [2025/04/05 23:12:28.079 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=380] [jobType="drop table"] [2025/04/05 23:12:28.080 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:27.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.099 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/05 23:12:28.109 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:28.109 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:28.114 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.86271ms] [gotSchemaVersion=354] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:28.133 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=354] [2025/04/05 23:12:28.135 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=354] ["take time"=9.229062ms] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.159 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=1.782112ms] [gotSchemaVersion=355] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:28.163 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=355] [2025/04/05 23:12:28.164 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=355] ["take time"=8.88457ms] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.172 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.177 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 376, Old Table Name: t)"] [2025/04/05 23:12:28.189 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=983.167µs] [gotSchemaVersion=356] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:28.193 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=356] [2025/04/05 23:12:28.195 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=356] ["take time"=8.066547ms] [job="ID:381, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.208 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=381] [tableIDs="[376]"] [comment="drop table: table ID"] [2025/04/05 23:12:28.212 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=381] [jobType="drop table"] [2025/04/05 23:12:28.213 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.231 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/05 23:12:28.231 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=356] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894748232070816 [2025/04/05 23:12:28.235 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=356] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:12:28.249 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:28.249 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:12:28.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.260 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 382, Table Name: t)"] [2025/04/05 23:12:28.274 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.449601ms] [gotSchemaVersion=357] [phyTblIDs="[382]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:28.278 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=383] [version=357] [2025/04/05 23:12:28.280 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=357] ["take time"=8.799876ms] [job="ID:383, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.291 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.303 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=383] [2025/04/05 23:12:28.303 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=357] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:12:28.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:28.317 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:12:28.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.327 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 384, Table Name: _t)"] [2025/04/05 23:12:28.341 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=1.431242ms] [gotSchemaVersion=358] [phyTblIDs="[384]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:28.345 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=358] [2025/04/05 23:12:28.346 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=358] ["take time"=8.554531ms] [job="ID:385, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:28.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.357 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:28.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:28.369 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/05 23:12:28.369 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=358] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:12:28.372 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544906481679] [2025/04/05 23:12:28.376 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544906481682] [2025/04/05 23:12:28.380 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544906481685] [2025/04/05 23:12:28.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851010] [2025/04/05 23:12:28.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851013] [2025/04/05 23:12:28.391 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851016] [2025/04/05 23:12:28.395 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851019] [2025/04/05 23:12:28.399 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851023] [2025/04/05 23:12:28.403 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851029] [2025/04/05 23:12:28.407 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851032] [2025/04/05 23:12:28.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851035] [2025/04/05 23:12:28.414 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851038] [2025/04/05 23:12:28.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851041] [2025/04/05 23:12:28.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851044] [2025/04/05 23:12:28.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851047] [2025/04/05 23:12:28.428 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851050] [2025/04/05 23:12:28.432 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544919851053] [2025/04/05 23:12:28.436 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696067] [2025/04/05 23:12:28.440 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696070] [2025/04/05 23:12:28.444 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696073] [2025/04/05 23:12:28.448 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696076] [2025/04/05 23:12:28.451 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696079] [2025/04/05 23:12:28.455 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696083] [2025/04/05 23:12:28.459 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696086] [2025/04/05 23:12:28.463 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696089] [2025/04/05 23:12:28.466 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696092] [2025/04/05 23:12:28.470 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696095] [2025/04/05 23:12:28.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696098] [2025/04/05 23:12:28.477 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696101] [2025/04/05 23:12:28.481 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544932696104] [2025/04/05 23:12:28.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803267] [2025/04/05 23:12:28.489 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803270] [2025/04/05 23:12:28.492 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803274] [2025/04/05 23:12:28.496 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803277] [2025/04/05 23:12:28.500 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803280] [2025/04/05 23:12:28.504 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803284] [2025/04/05 23:12:28.508 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803287] [2025/04/05 23:12:28.512 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803290] [2025/04/05 23:12:28.515 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803293] [2025/04/05 23:12:28.519 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803296] [2025/04/05 23:12:28.523 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803299] [2025/04/05 23:12:28.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803302] [2025/04/05 23:12:28.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544945803305] [2025/04/05 23:12:28.534 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172610] [2025/04/05 23:12:28.538 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172613] [2025/04/05 23:12:28.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172616] [2025/04/05 23:12:28.545 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172620] [2025/04/05 23:12:28.549 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172623] [2025/04/05 23:12:28.552 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172627] [2025/04/05 23:12:28.556 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172630] [2025/04/05 23:12:28.560 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172633] [2025/04/05 23:12:28.564 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172636] [2025/04/05 23:12:28.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172639] [2025/04/05 23:12:28.571 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172642] [2025/04/05 23:12:28.575 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172645] [2025/04/05 23:12:28.579 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172648] [2025/04/05 23:12:28.582 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544959172651] [2025/04/05 23:12:28.586 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017667] [2025/04/05 23:12:28.590 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017670] [2025/04/05 23:12:28.594 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017673] [2025/04/05 23:12:28.597 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017676] [2025/04/05 23:12:28.601 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017679] [2025/04/05 23:12:28.605 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017683] [2025/04/05 23:12:28.609 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017686] [2025/04/05 23:12:28.612 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017689] [2025/04/05 23:12:28.616 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017692] [2025/04/05 23:12:28.620 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017695] [2025/04/05 23:12:28.623 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017698] [2025/04/05 23:12:28.627 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017701] [2025/04/05 23:12:28.630 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544972017704] [2025/04/05 23:12:28.634 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387010] [2025/04/05 23:12:28.638 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387013] [2025/04/05 23:12:28.642 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387016] [2025/04/05 23:12:28.645 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387019] [2025/04/05 23:12:28.649 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387023] [2025/04/05 23:12:28.653 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387029] [2025/04/05 23:12:28.657 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387032] [2025/04/05 23:12:28.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387035] [2025/04/05 23:12:28.665 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387038] [2025/04/05 23:12:28.669 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387041] [2025/04/05 23:12:28.672 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387044] [2025/04/05 23:12:28.676 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387047] [2025/04/05 23:12:28.680 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544985387050] [2025/04/05 23:12:28.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232065] [2025/04/05 23:12:28.687 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232068] [2025/04/05 23:12:28.691 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232071] [2025/04/05 23:12:28.694 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232074] [2025/04/05 23:12:28.698 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232077] [2025/04/05 23:12:28.702 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232080] [2025/04/05 23:12:28.705 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232084] [2025/04/05 23:12:28.709 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232087] [2025/04/05 23:12:28.712 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232090] [2025/04/05 23:12:28.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232093] [2025/04/05 23:12:28.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232096] [2025/04/05 23:12:28.724 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232099] [2025/04/05 23:12:28.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232102] [2025/04/05 23:12:28.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151544998232105] [2025/04/05 23:12:28.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151545011339267] [2025/04/05 23:12:28.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151545011339270] [2025/04/05 23:12:28.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151545011339273] [2025/04/05 23:12:28.756 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339279] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.229345ms] [2025/04/05 23:12:28.758 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339279] [generation=2] [session=21] [keys=27] [size=783B] ["flushed keys"=37] ["flushed size"=1.073kB] ["take time"=1.219144ms] [2025/04/05 23:12:28.759 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339279] [generation=3] [session=21] [keys=27] [size=783B] ["flushed keys"=64] ["flushed size"=1.856kB] ["take time"=1.301994ms] [2025/04/05 23:12:28.760 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339279] [generation=4] [session=21] [keys=29] [size=841B] ["flushed keys"=93] ["flushed size"=2.697kB] ["take time"=1.15573ms] [2025/04/05 23:12:28.761 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339279] [generation=5] [session=21] [keys=7] [size=203B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=824.946µs] [2025/04/05 23:12:28.761 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.5981ms] [total_duration=8.376223ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457151545011339279] [2025/04/05 23:12:28.762 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151545011339279] [commitTS=457151545011339280] [2025/04/05 23:12:28.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151545011339279] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] [concurrency=8] [2025/04/05 23:12:28.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151545011339279] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] ["cost time"=4.883014ms] ["completed regions"=1] [2025/04/05 23:12:28.768 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151545011339279] [commitTS=457151545011339280] [session=21] [2025/04/05 23:12:28.772 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.125043ms] [2025/04/05 23:12:28.773 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=2] [session=21] [keys=28] [size=672B] ["flushed keys"=38] ["flushed size"=912B] ["take time"=1.282905ms] [2025/04/05 23:12:28.775 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=3] [session=21] [keys=32] [size=768B] ["flushed keys"=70] ["flushed size"=1.68kB] ["take time"=1.280766ms] [2025/04/05 23:12:28.776 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=4] [session=21] [keys=34] [size=816B] ["flushed keys"=104] ["flushed size"=2.496kB] ["take time"=1.356485ms] [2025/04/05 23:12:28.778 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=5] [session=21] [keys=34] [size=816B] ["flushed keys"=138] ["flushed size"=3.312kB] ["take time"=1.318286ms] [2025/04/05 23:12:28.780 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=6] [session=21] [keys=34] [size=816B] ["flushed keys"=172] ["flushed size"=4.128kB] ["take time"=1.50833ms] [2025/04/05 23:12:28.781 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545011339282] [generation=7] [session=21] [keys=26] [size=624B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=1.320277ms] [2025/04/05 23:12:28.781 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.812971ms] [total_duration=11.996633ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457151545011339282] [2025/04/05 23:12:28.782 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151545011339282] [commitTS=457151545011339283] [2025/04/05 23:12:28.783 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151545011339282] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/05 23:12:28.783 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000017e5f7280000000000003e8] [2025/04/05 23:12:28.786 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000017e5f7280000000000003e8] ["first new region left"="{Id:208 StartKey:7480000000000001ff785f728000000000ff0023280000000000fa EndKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:209 store_id:1 id:210 store_id:3 id:211 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 23:12:28.786 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=208] [2025/04/05 23:12:28.804 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151545011339282] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=21.506972ms] ["completed regions"=10] [2025/04/05 23:12:28.804 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457151545011339282] [commitTS=457151545011339283] [session=21] [2025/04/05 23:12:28.887 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f7280000000000003e8] ["new region left"="{Id:208 StartKey:7480000000000001ff785f728000000000ff0023280000000000fa EndKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:209 store_id:1 id:210 store_id:3 id:211 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.887 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=212] [2025/04/05 23:12:28.888 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f7280000000000007d0] ["new region left"="{Id:212 StartKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa EndKey:7480000000000001ff7e5f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:213 store_id:1 id:214 store_id:3 id:215 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.889 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=216] [2025/04/05 23:12:28.889 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000000bb8] ["new region left"="{Id:216 StartKey:7480000000000001ff7e5f728000000000ff0007d00000000000fa EndKey:7480000000000001ff7e5f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:217 store_id:1 id:218 store_id:3 id:219 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.890 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=220] [2025/04/05 23:12:28.890 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000000fa0] ["new region left"="{Id:220 StartKey:7480000000000001ff7e5f728000000000ff000bb80000000000fa EndKey:7480000000000001ff7e5f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:221 store_id:1 id:222 store_id:3 id:223 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.891 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=224] [2025/04/05 23:12:28.891 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001388] ["new region left"="{Id:224 StartKey:7480000000000001ff7e5f728000000000ff000fa00000000000fa EndKey:7480000000000001ff7e5f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:225 store_id:1 id:226 store_id:3 id:227 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.891 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=228] [2025/04/05 23:12:28.892 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001770] ["new region left"="{Id:228 StartKey:7480000000000001ff7e5f728000000000ff0013880000000000fa EndKey:7480000000000001ff7e5f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:229 store_id:1 id:230 store_id:3 id:231 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.892 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=232] [2025/04/05 23:12:28.893 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001b58] ["new region left"="{Id:232 StartKey:7480000000000001ff7e5f728000000000ff0017700000000000fa EndKey:7480000000000001ff7e5f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:233 store_id:1 id:234 store_id:3 id:235 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.893 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=236] [2025/04/05 23:12:28.894 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001f40] ["new region left"="{Id:236 StartKey:7480000000000001ff7e5f728000000000ff001b580000000000fa EndKey:7480000000000001ff7e5f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:237 store_id:1 id:238 store_id:3 id:239 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.894 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=240] [2025/04/05 23:12:28.895 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000002328] ["new region left"="{Id:240 StartKey:7480000000000001ff7e5f728000000000ff001f400000000000fa EndKey:7480000000000001ff7e5f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:241 store_id:1 id:242 store_id:3 id:243 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 23:12:28.895 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[208,212,216,220,224,228,232,236,240]"] [2025/04/05 23:12:28.895 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=208] [backoff(ms)=299888] [2025/04/05 23:12:28.896 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=208] [2025/04/05 23:12:28.896 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=212] [backoff(ms)=299887] [2025/04/05 23:12:28.896 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=212] [2025/04/05 23:12:28.896 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=216] [backoff(ms)=299887] [2025/04/05 23:12:28.897 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=216] [2025/04/05 23:12:28.897 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=220] [backoff(ms)=299886] [2025/04/05 23:12:28.897 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=220] [2025/04/05 23:12:28.897 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=224] [backoff(ms)=299886] [2025/04/05 23:12:28.898 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=224] [2025/04/05 23:12:28.898 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=228] [backoff(ms)=299885] [2025/04/05 23:12:28.898 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=228] [2025/04/05 23:12:28.898 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=232] [backoff(ms)=299884] [2025/04/05 23:12:28.899 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=232] [2025/04/05 23:12:28.899 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=236] [backoff(ms)=299884] [2025/04/05 23:12:28.900 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=236] [2025/04/05 23:12:28.900 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=240] [backoff(ms)=299883] [2025/04/05 23:12:28.900 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=240] [2025/04/05 23:12:28.906 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:12:28.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:12:28.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:12:28.906 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:28.908 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545050660876] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.239962ms] [2025/04/05 23:12:28.909 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545050660876] [generation=2] [session=21] [keys=27] [size=783B] ["flushed keys"=37] ["flushed size"=1.073kB] ["take time"=1.368742ms] [2025/04/05 23:12:28.911 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545050660876] [generation=3] [session=21] [keys=26] [size=754B] ["flushed keys"=63] ["flushed size"=1.827kB] ["take time"=1.428067ms] [2025/04/05 23:12:28.913 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545050660876] [generation=4] [session=21] [keys=29] [size=841B] ["flushed keys"=92] ["flushed size"=2.668kB] ["take time"=1.606034ms] [2025/04/05 23:12:28.914 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151545050660876] [generation=5] [session=21] [keys=8] [size=232B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=1.070996ms] [2025/04/05 23:12:28.914 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.272958ms] [total_duration=11.928069ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457151545050660876] [2025/04/05 23:12:28.915 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151545050660876] [commitTS=457151545050660878] [2025/04/05 23:12:28.915 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151545050660876] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/05 23:12:28.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151545050660876] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=5.798101ms] ["completed regions"=10] [2025/04/05 23:12:28.921 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457151545050660876] [commitTS=457151545050660878] [session=21] [2025/04/05 23:12:28.922 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [] [2025/04/05 23:12:28.922 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:28.922 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:28.922 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.922 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:28.922 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:28.922 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=59.036µs] [2025/04/05 23:12:28.922 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=36.187µs] [2025/04/05 23:12:28.922 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=45.025µs] [2025/04/05 23:12:28.922 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=46.447µs] [2025/04/05 23:12:28.922 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.922 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.924 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:28.924 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:28.925 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=110c75ba-5e4c-49ec-912b-bf13aa629ff3] ["take time"=3.793465ms] [2025/04/05 23:12:28.925 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.925 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:28.925 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a1d8c3c8-fbce-40e5-97e4-968610c6fdde] [2025/04/05 23:12:28.926 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [ttl-worker=task-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [originalCount=4] [newCount=0] [2025/04/05 23:12:28.926 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:28.926 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:28.926 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:28.926 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:28.926 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [ttl-worker=task-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [originalCount=4] [newCount=0] [2025/04/05 23:12:28.928 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:28.928 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:28.929 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:28.929 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:28.931 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.931 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1533] [2025/04/05 23:12:28.932 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:28.932 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:28.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:28.933 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:28.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:28.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:28.933 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:28.932 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:28.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:28.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:28.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:28.933 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:28.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:28.934 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:28.934 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:28.934 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:28.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:28.934 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=eaca23b4-c848-41fc-a656-ae874dd27494] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:28.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:28.934 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [error="context canceled"] [2025/04/05 23:12:28.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:28.935 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:28.935 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:28.935 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:28.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:28.935 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [error="context canceled"] [2025/04/05 23:12:28.935 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [2025/04/05 23:12:28.936 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [error="context canceled"] [2025/04/05 23:12:28.936 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=110c75ba-5e4c-49ec-912b-bf13aa629ff3] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:28.952 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:28.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:28.996 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:28.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:29.006 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.692046ms] [2025/04/05 23:12:29.726 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:33.768 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151545011339279 commit_ts:457151545011339280 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:33.769 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151545011339279 commit_ts:457151545011339280 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:33.769 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151545011339279 commit_ts:457151545011339280 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:33.806 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151545011339282 commit_ts:457151545011339283 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:33.806 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151545011339282 commit_ts:457151545011339283 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:33.806 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151545011339282 commit_ts:457151545011339283 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:33.922 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151545050660876 commit_ts:457151545050660878 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:33.922 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151545050660876 commit_ts:457151545050660878 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:33.922 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151545050660876 commit_ts:457151545050660878 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:33.922 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:33.922 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:33.922 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:33.922 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:33.922 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:33.922 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:33.922 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:33.922 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:33.922 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:33.922 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:33.922 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:33.922 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:33.924 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.21s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/05 23:12:33.931 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:33.932 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:33.933 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:33.933 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:33.933 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:33.933 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:33.933 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:33.933 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:33.933 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:33.934 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:33.934 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:33.938 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:33.943 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:33.943 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:33.944 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:33.953 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:33.963 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:33.997 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=151] ["lease id"=2231960835b0caea] [2025/04/05 23:12:33.999 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:34.090 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=358] ["elapsed time"=87.78297ms] [2025/04/05 23:12:34.090 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:34.092 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:34.098 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:34.098 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:34.100 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.101 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:34.101 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709434880/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:34.101 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:34.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:34.101 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [2025/04/05 23:12:34.103 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c3ec] [ownerID=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [op=none] [2025/04/05 23:12:34.103 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.103 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c3ec] [currRev=1681] [2025/04/05 23:12:34.104 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:34.104 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:34.104 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0d184] [ownerID=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [op=none] [2025/04/05 23:12:34.105 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [2025/04/05 23:12:34.105 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:34.105 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [ownerKey=/tidb/br-stream/owner/6f18960835b0d184] [currRev=1682] [2025/04/05 23:12:34.105 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c3ec] [ownerID=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [op=none] [2025/04/05 23:12:34.105 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [op=none] [2025/04/05 23:12:34.105 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:34.115 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.116 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:34.116 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:34.125 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:34.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:34.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:34.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:34.137 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:34.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:34.137 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:34.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:34.137 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:34.137 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:34.137 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:34.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:34.138 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:34.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:34.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:34.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:34.140 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:34.140 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:34.140 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:34.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:34.142 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b0caf4] [ownerID=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [op=none] [2025/04/05 23:12:34.142 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.142 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:34.142 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [ownerKey=/tidb/stats/owner/2231960835b0caf4] [currRev=1684] [2025/04/05 23:12:34.144 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/269787be-b0bc-4fe1-89da-7937e20af662] [2025/04/05 23:12:34.144 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [ttl-worker=task-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [originalCount=0] [newCount=4] [2025/04/05 23:12:34.144 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [ttl-worker=task-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [originalCount=0] [newCount=4] [2025/04/05 23:12:34.145 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.145 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:34.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:34.145 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:34.145 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894754145975896 [2025/04/05 23:12:34.150 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:34.157 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.698495ms] [2025/04/05 23:12:34.157 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:34.157 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:34.159 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:12:34.182 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:34.185 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:12:34.187 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:12:34.201 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:34.201 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:34.207 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=1.766533ms] [gotSchemaVersion=359] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:34.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=359] [2025/04/05 23:12:34.229 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=9.070499ms] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.239 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.254 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=1.730267ms] [gotSchemaVersion=360] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:34.257 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=360] [2025/04/05 23:12:34.259 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=360] ["take time"=8.750318ms] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.267 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.274 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 384, Old Table Name: _t)"] [2025/04/05 23:12:34.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=975.155µs] [gotSchemaVersion=361] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:34.290 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=361] [2025/04/05 23:12:34.291 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=361] ["take time"=7.964392ms] [job="ID:386, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.301 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=386] [tableIDs="[384]"] [comment="drop table: table ID"] [2025/04/05 23:12:34.308 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=386] [jobType="drop table"] [2025/04/05 23:12:34.309 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.328 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/05 23:12:34.339 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:34.339 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:34.345 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.898008ms] [gotSchemaVersion=362] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:34.366 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=362] [2025/04/05 23:12:34.368 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=362] ["take time"=11.243974ms] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=1.909773ms] [gotSchemaVersion=363] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:34.397 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=363] [2025/04/05 23:12:34.399 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=9.11741ms] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.407 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.413 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 382, Old Table Name: t)"] [2025/04/05 23:12:34.427 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=1.076009ms] [gotSchemaVersion=364] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:34.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=364] [2025/04/05 23:12:34.432 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=8.355441ms] [job="ID:387, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.442 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=387] [tableIDs="[382]"] [comment="drop table: table ID"] [2025/04/05 23:12:34.446 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=387] [jobType="drop table"] [2025/04/05 23:12:34.446 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.465 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/05 23:12:34.465 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=364] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894754466176669 testkit.go:123: RefreshSession rand seed: 1743894754468368299 [2025/04/05 23:12:34.472 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=364] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:12:34.484 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:34.484 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:12:34.490 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.495 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 388, Table Name: t)"] [2025/04/05 23:12:34.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=1.500575ms] [gotSchemaVersion=365] [phyTblIDs="[388]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:34.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=365] [2025/04/05 23:12:34.514 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=365] ["take time"=8.863022ms] [job="ID:389, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.526 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.536 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=389] [2025/04/05 23:12:34.537 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=365] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:12:34.549 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:34.549 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:12:34.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.560 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 390, Table Name: _t)"] [2025/04/05 23:12:34.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=1.588807ms] [gotSchemaVersion=366] [phyTblIDs="[390]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:34.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=366] [2025/04/05 23:12:34.580 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=366] ["take time"=9.057498ms] [job="ID:391, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:34.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.591 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:34.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:34.603 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/05 23:12:34.603 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=366] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:12:34.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143818] [2025/04/05 23:12:34.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143824] [2025/04/05 23:12:34.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143827] [2025/04/05 23:12:34.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143830] [2025/04/05 23:12:34.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143833] [2025/04/05 23:12:34.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143836] [2025/04/05 23:12:34.628 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143839] [2025/04/05 23:12:34.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546545143842] [2025/04/05 23:12:34.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988867] [2025/04/05 23:12:34.640 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988870] [2025/04/05 23:12:34.644 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988873] [2025/04/05 23:12:34.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988876] [2025/04/05 23:12:34.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988879] [2025/04/05 23:12:34.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988882] [2025/04/05 23:12:34.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988886] [2025/04/05 23:12:34.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988889] [2025/04/05 23:12:34.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988892] [2025/04/05 23:12:34.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988895] [2025/04/05 23:12:34.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988898] [2025/04/05 23:12:34.678 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988901] [2025/04/05 23:12:34.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546557988904] [2025/04/05 23:12:34.685 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096067] [2025/04/05 23:12:34.689 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096070] [2025/04/05 23:12:34.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096073] [2025/04/05 23:12:34.696 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096076] [2025/04/05 23:12:34.700 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096079] [2025/04/05 23:12:34.703 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096082] [2025/04/05 23:12:34.707 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096085] [2025/04/05 23:12:34.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096089] [2025/04/05 23:12:34.714 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096092] [2025/04/05 23:12:34.718 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096095] [2025/04/05 23:12:34.721 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096098] [2025/04/05 23:12:34.725 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096101] [2025/04/05 23:12:34.728 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096104] [2025/04/05 23:12:34.732 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546571096107] [2025/04/05 23:12:34.736 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465411] [2025/04/05 23:12:34.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465414] [2025/04/05 23:12:34.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465417] [2025/04/05 23:12:34.746 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465420] [2025/04/05 23:12:34.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465424] [2025/04/05 23:12:34.753 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465427] [2025/04/05 23:12:34.757 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465430] [2025/04/05 23:12:34.761 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465434] [2025/04/05 23:12:34.764 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465437] [2025/04/05 23:12:34.768 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465440] [2025/04/05 23:12:34.771 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465443] [2025/04/05 23:12:34.775 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465446] [2025/04/05 23:12:34.778 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465449] [2025/04/05 23:12:34.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546584465452] [2025/04/05 23:12:34.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310467] [2025/04/05 23:12:34.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310470] [2025/04/05 23:12:34.791 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310473] [2025/04/05 23:12:34.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310476] [2025/04/05 23:12:34.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310479] [2025/04/05 23:12:34.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310482] [2025/04/05 23:12:34.805 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310485] [2025/04/05 23:12:34.809 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310489] [2025/04/05 23:12:34.813 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310492] [2025/04/05 23:12:34.816 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310495] [2025/04/05 23:12:34.820 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310498] [2025/04/05 23:12:34.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310501] [2025/04/05 23:12:34.827 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310504] [2025/04/05 23:12:34.831 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546597310507] [2025/04/05 23:12:34.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417666] [2025/04/05 23:12:34.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417669] [2025/04/05 23:12:34.841 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417672] [2025/04/05 23:12:34.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417675] [2025/04/05 23:12:34.848 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417678] [2025/04/05 23:12:34.852 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417681] [2025/04/05 23:12:34.856 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417687] [2025/04/05 23:12:34.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417691] [2025/04/05 23:12:34.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417694] [2025/04/05 23:12:34.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417697] [2025/04/05 23:12:34.871 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417700] [2025/04/05 23:12:34.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417703] [2025/04/05 23:12:34.878 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417706] [2025/04/05 23:12:34.881 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546610417709] [2025/04/05 23:12:34.885 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524867] [2025/04/05 23:12:34.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524870] [2025/04/05 23:12:34.892 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524873] [2025/04/05 23:12:34.896 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524876] [2025/04/05 23:12:34.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524879] [2025/04/05 23:12:34.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524882] [2025/04/05 23:12:34.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524885] [2025/04/05 23:12:34.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524889] [2025/04/05 23:12:34.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524892] [2025/04/05 23:12:34.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524895] [2025/04/05 23:12:34.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524898] [2025/04/05 23:12:34.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524901] [2025/04/05 23:12:34.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524904] [2025/04/05 23:12:34.932 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546623524907] [2025/04/05 23:12:34.936 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632067] [2025/04/05 23:12:34.940 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632070] [2025/04/05 23:12:34.944 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632073] [2025/04/05 23:12:34.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632076] [2025/04/05 23:12:34.951 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632079] [2025/04/05 23:12:34.954 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632082] [2025/04/05 23:12:34.958 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632086] [2025/04/05 23:12:34.962 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632089] [2025/04/05 23:12:34.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151546636632092] [2025/04/05 23:12:34.979 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151546636632097] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.852085ms] [2025/04/05 23:12:34.979 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151546636632097] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=35.891µs] [2025/04/05 23:12:34.979 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.93239ms] [total_duration=7.275493ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151546636632097] [2025/04/05 23:12:34.980 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457151546636632097] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] [concurrency=8] [2025/04/05 23:12:34.980 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:12:34.980 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:34.981 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:12:34.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457151546636632097] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] ["cost time"=5.768003ms] ["completed regions"=1] [2025/04/05 23:12:34.986 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457151546636632097] [commitTS=0] [session=23] [2025/04/05 23:12:34.994 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151546650001410] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.438793ms] [2025/04/05 23:12:34.994 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151546650001410] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=27.472µs] [2025/04/05 23:12:34.994 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.534736ms] [total_duration=7.071053ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151546650001410] [2025/04/05 23:12:34.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457151546650001410] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] [concurrency=8] [2025/04/05 23:12:34.994 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:12:34.995 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:34.995 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:12:34.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457151546650001410] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] ["cost time"=3.29801ms] ["completed regions"=1] [2025/04/05 23:12:34.998 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457151546650001410] [commitTS=0] [session=23] [2025/04/05 23:12:34.999 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:34.999 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:34.999 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [] [2025/04/05 23:12:34.999 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:34.999 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:34.999 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:34.999 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=35.036µs] [2025/04/05 23:12:34.999 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=31.764µs] [2025/04/05 23:12:34.999 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=35.851µs] [2025/04/05 23:12:35.000 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=27.938µs] [2025/04/05 23:12:35.000 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.000 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.001 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:35.001 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:35.002 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4e6b5ac5-64fb-4477-95cb-914ece75cc23] ["take time"=3.08657ms] [2025/04/05 23:12:35.002 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.002 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:35.002 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/269787be-b0bc-4fe1-89da-7937e20af662] [2025/04/05 23:12:35.002 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [ttl-worker=task-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [originalCount=4] [newCount=0] [2025/04/05 23:12:35.002 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:35.002 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:35.002 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:35.002 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:35.002 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [ttl-worker=task-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [originalCount=4] [newCount=0] [2025/04/05 23:12:35.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:35.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:35.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:35.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:35.007 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.007 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=151] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:35.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:35.008 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:35.008 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:35.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:35.008 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:35.009 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [2025/04/05 23:12:35.008 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:35.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:35.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:35.009 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:35.008 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:35.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:35.010 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:35.010 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:35.010 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:35.010 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:35.010 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b8c4da87-2bb0-4816-b352-ba8b2e87e2b5] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:35.010 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:35.010 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:35.010 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:35.010 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:35.011 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:35.011 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:35.012 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [error="context canceled"] [2025/04/05 23:12:35.012 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [2025/04/05 23:12:35.027 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:35.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:35.071 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4e6b5ac5-64fb-4477-95cb-914ece75cc23] [error="context canceled"] [2025/04/05 23:12:35.071 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:35.071 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:35.080 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.571619ms] [2025/04/05 23:12:35.939 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:39.987 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151546636632097 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:39.987 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151546636632097 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:39.987 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151546636632097 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:39.999 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151546650001410 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:39.999 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151546650001410 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:39.999 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151546650001410 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:39.999 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:39.999 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:39.999 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:39.999 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:39.999 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:39.999 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:39.999 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:40.000 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:40.000 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:39.999 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:40.000 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:40.000 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:40.001 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.08s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/05 23:12:40.010 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:40.010 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:40.011 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:40.012 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:40.012 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:40.012 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:40.012 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:40.012 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:40.012 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:40.012 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:40.013 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:40.016 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:40.022 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:40.022 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:40.023 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:40.033 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:40.042 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:40.076 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=432] ["lease id"=3eaa960835b0c412] [2025/04/05 23:12:40.077 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:40.165 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=366] ["elapsed time"=84.622323ms] [2025/04/05 23:12:40.165 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:40.167 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:40.172 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:40.172 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:40.174 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:40.175 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:40.175 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709447168/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:40.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:40.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:40.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:40.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:40.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:40.175 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:40.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:40.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:40.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:40.176 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:40.176 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:40.176 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:40.176 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [2025/04/05 23:12:40.177 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d1c3] [ownerID=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [op=none] [2025/04/05 23:12:40.178 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:40.178 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0d1c3] [currRev=1724] [2025/04/05 23:12:40.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:40.178 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:40.179 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835b0cb1d] [ownerID=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [op=none] [2025/04/05 23:12:40.179 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:40.179 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [2025/04/05 23:12:40.179 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [ownerKey=/tidb/br-stream/owner/2231960835b0cb1d] [currRev=1725] [2025/04/05 23:12:40.180 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d1c3] [ownerID=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [op=none] [2025/04/05 23:12:40.180 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [op=none] [2025/04/05 23:12:40.180 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:40.190 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:40.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:40.191 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:40.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:40.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:40.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:40.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:40.211 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:40.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:40.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:40.211 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:40.211 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:40.211 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:40.211 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:40.212 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:40.212 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:40.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:40.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:40.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:40.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:40.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:40.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:40.213 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:40.213 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:40.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:40.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:40.214 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:40.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:40.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:40.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:40.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:40.216 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835b0c420] [ownerID=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [op=none] [2025/04/05 23:12:40.216 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:40.216 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [ownerKey=/tidb/stats/owner/3eaa960835b0c420] [currRev=1728] [2025/04/05 23:12:40.216 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:40.218 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/22a544d6-f8dc-4936-a61e-d72495ea3a3f] [2025/04/05 23:12:40.218 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:40.218 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [ttl-worker=task-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [originalCount=0] [newCount=4] [2025/04/05 23:12:40.218 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [ttl-worker=task-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [originalCount=0] [newCount=4] [2025/04/05 23:12:40.218 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:40.219 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:40.219 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:40.220 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894760220148879 [2025/04/05 23:12:40.223 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:40.229 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.957832ms] [2025/04/05 23:12:40.229 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:40.229 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:40.233 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:40.236 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:12:40.237 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:12:40.251 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:40.251 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:40.257 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.273 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=1.741654ms] [gotSchemaVersion=367] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:40.276 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=367] [2025/04/05 23:12:40.278 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=367] ["take time"=9.109646ms] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.304 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=1.827073ms] [gotSchemaVersion=368] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:40.307 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=368] [2025/04/05 23:12:40.309 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=368] ["take time"=8.616387ms] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.317 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.323 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 390, Old Table Name: _t)"] [2025/04/05 23:12:40.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=1.069955ms] [gotSchemaVersion=369] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:40.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=369] [2025/04/05 23:12:40.341 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=369] ["take time"=8.667078ms] [job="ID:392, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.351 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=392] [tableIDs="[390]"] [comment="drop table: table ID"] [2025/04/05 23:12:40.358 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=392] [jobType="drop table"] [2025/04/05 23:12:40.359 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.377 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=392] [2025/04/05 23:12:40.392 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:40.392 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:40.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.413 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=1.9826ms] [gotSchemaVersion=370] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:40.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=370] [2025/04/05 23:12:40.418 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=370] ["take time"=9.195282ms] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.428 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=1.810685ms] [gotSchemaVersion=371] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:40.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=371] [2025/04/05 23:12:40.583 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=371] ["take time"=9.974787ms] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.591 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.597 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 388, Old Table Name: t)"] [2025/04/05 23:12:40.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=935.613µs] [gotSchemaVersion=372] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:40.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=372] [2025/04/05 23:12:40.615 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=8.109206ms] [job="ID:393, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.623 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=393] [tableIDs="[388]"] [comment="drop table: table ID"] [2025/04/05 23:12:40.627 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=393] [jobType="drop table"] [2025/04/05 23:12:40.628 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.644 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/05 23:12:40.644 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 25\n# Query_time: 0.406855276\n# Parse_time: 0.000055681\n# Compile_time: 0.000285262\n# Rewrite_time: 0.000005148\n# Optimize_time: 0.000037385\n# Wait_TS: 0.000405298\n# DB: test\n# Is_internal: false\n# Digest: 1d598c400a4fb4369dc077dca9a083040a8c43d93f07445071b1410ea9ffe67a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `_t`,`t`;"] [2025/04/05 23:12:40.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=372] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894760645498473 [2025/04/05 23:12:40.657 +00:00] [INFO] [set.go:172] ["set global var"] [conn=26] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:12:40.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=372] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 23:12:40.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 23:12:40.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:40.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.683 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: t)"] [2025/04/05 23:12:40.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=1.509371ms] [gotSchemaVersion=373] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:40.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=373] [2025/04/05 23:12:40.702 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=373] ["take time"=8.424151ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.712 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/05 23:12:40.723 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=373] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 23:12:40.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:40.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 23:12:40.741 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.745 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 396, Table Name: _t)"] [2025/04/05 23:12:40.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=1.507996ms] [gotSchemaVersion=374] [phyTblIDs="[396]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:40.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=374] [2025/04/05 23:12:40.765 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=374] ["take time"=8.664742ms] [job="ID:397, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:40.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.776 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:40.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:40.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/05 23:12:40.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=374] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 23:12:40.789 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436612] [2025/04/05 23:12:40.793 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436616] [2025/04/05 23:12:40.797 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436619] [2025/04/05 23:12:40.800 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436622] [2025/04/05 23:12:40.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436625] [2025/04/05 23:12:40.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436628] [2025/04/05 23:12:40.811 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436631] [2025/04/05 23:12:40.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436634] [2025/04/05 23:12:40.818 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436637] [2025/04/05 23:12:40.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436640] [2025/04/05 23:12:40.825 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436644] [2025/04/05 23:12:40.829 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548170436647] [2025/04/05 23:12:40.833 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281665] [2025/04/05 23:12:40.837 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281668] [2025/04/05 23:12:40.841 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281671] [2025/04/05 23:12:40.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281674] [2025/04/05 23:12:40.848 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281677] [2025/04/05 23:12:40.852 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281680] [2025/04/05 23:12:40.856 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281683] [2025/04/05 23:12:40.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281686] [2025/04/05 23:12:40.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281689] [2025/04/05 23:12:40.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281692] [2025/04/05 23:12:40.871 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281695] [2025/04/05 23:12:40.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281698] [2025/04/05 23:12:40.878 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281701] [2025/04/05 23:12:40.882 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548183281705] [2025/04/05 23:12:40.886 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651011] [2025/04/05 23:12:40.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651014] [2025/04/05 23:12:40.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651017] [2025/04/05 23:12:40.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651020] [2025/04/05 23:12:40.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651023] [2025/04/05 23:12:40.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651026] [2025/04/05 23:12:40.909 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651029] [2025/04/05 23:12:40.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651032] [2025/04/05 23:12:40.917 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651035] [2025/04/05 23:12:40.920 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651038] [2025/04/05 23:12:40.924 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651041] [2025/04/05 23:12:40.928 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651045] [2025/04/05 23:12:40.932 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548196651051] [2025/04/05 23:12:40.936 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758211] [2025/04/05 23:12:40.939 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758214] [2025/04/05 23:12:40.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758217] [2025/04/05 23:12:40.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758220] [2025/04/05 23:12:40.950 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758223] [2025/04/05 23:12:40.954 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758226] [2025/04/05 23:12:40.958 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758229] [2025/04/05 23:12:40.962 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758232] [2025/04/05 23:12:40.966 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758235] [2025/04/05 23:12:40.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758238] [2025/04/05 23:12:40.973 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758241] [2025/04/05 23:12:40.977 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758244] [2025/04/05 23:12:40.982 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548209758248] [2025/04/05 23:12:40.986 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865411] [2025/04/05 23:12:40.989 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865414] [2025/04/05 23:12:40.993 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865417] [2025/04/05 23:12:40.997 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865420] [2025/04/05 23:12:41.001 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865423] [2025/04/05 23:12:41.005 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865426] [2025/04/05 23:12:41.009 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865429] [2025/04/05 23:12:41.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865432] [2025/04/05 23:12:41.016 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865435] [2025/04/05 23:12:41.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865438] [2025/04/05 23:12:41.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865441] [2025/04/05 23:12:41.026 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865444] [2025/04/05 23:12:41.030 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548222865447] [2025/04/05 23:12:41.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710466] [2025/04/05 23:12:41.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710469] [2025/04/05 23:12:41.041 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710472] [2025/04/05 23:12:41.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710475] [2025/04/05 23:12:41.048 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710478] [2025/04/05 23:12:41.051 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710481] [2025/04/05 23:12:41.055 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710484] [2025/04/05 23:12:41.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710487] [2025/04/05 23:12:41.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710490] [2025/04/05 23:12:41.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710493] [2025/04/05 23:12:41.070 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710496] [2025/04/05 23:12:41.073 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710501] [2025/04/05 23:12:41.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710504] [2025/04/05 23:12:41.080 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548235710507] [2025/04/05 23:12:41.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817666] [2025/04/05 23:12:41.088 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817669] [2025/04/05 23:12:41.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817672] [2025/04/05 23:12:41.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817675] [2025/04/05 23:12:41.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817678] [2025/04/05 23:12:41.102 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817681] [2025/04/05 23:12:41.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817684] [2025/04/05 23:12:41.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817687] [2025/04/05 23:12:41.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817690] [2025/04/05 23:12:41.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817693] [2025/04/05 23:12:41.120 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817696] [2025/04/05 23:12:41.124 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817700] [2025/04/05 23:12:41.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817703] [2025/04/05 23:12:41.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548248817707] [2025/04/05 23:12:41.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187011] [2025/04/05 23:12:41.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187014] [2025/04/05 23:12:41.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187017] [2025/04/05 23:12:41.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187020] [2025/04/05 23:12:41.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187023] [2025/04/05 23:12:41.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187026] [2025/04/05 23:12:41.159 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548262187029] [2025/04/05 23:12:41.174 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151548262187033] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.690816ms] [2025/04/05 23:12:41.174 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151548262187033] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.539µs] [2025/04/05 23:12:41.174 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.727208ms] [total_duration=7.550199ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151548262187033] [Pipeline] // dir [2025/04/05 23:12:41.175 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151548262187033] [commitTS=457151548262187034] [2025/04/05 23:12:41.184 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:12:41.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:12:41.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:12:41.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:41.195 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151548275032068] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.469307ms] [2025/04/05 23:12:41.195 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151548275032068] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=53.635µs] [2025/04/05 23:12:41.195 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.607135ms] [total_duration=7.395071ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151548275032068] [2025/04/05 23:12:41.196 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151548275032068] [commitTS=457151548275032069] [2025/04/05 23:12:41.202 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:41.202 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [] [2025/04/05 23:12:41.202 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:41.202 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.203 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:41.203 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:41.203 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=93.747µs] [2025/04/05 23:12:41.203 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=66.647µs] [2025/04/05 23:12:41.203 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=40.562µs] [2025/04/05 23:12:41.203 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=42.071µs] [2025/04/05 23:12:41.203 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.203 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.204 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:41.204 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:41.206 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] ["take time"=3.983276ms] [2025/04/05 23:12:41.206 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.206 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:41.206 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/22a544d6-f8dc-4936-a61e-d72495ea3a3f] [2025/04/05 23:12:41.207 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [ttl-worker=task-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [originalCount=4] [newCount=0] [2025/04/05 23:12:41.207 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:41.207 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:41.207 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:41.207 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:41.207 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [ttl-worker=task-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [originalCount=4] [newCount=0] [2025/04/05 23:12:41.209 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:41.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:41.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:41.210 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:41.212 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.212 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=432] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:41.213 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:12:41.213 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:41.213 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [2025/04/05 23:12:41.213 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:41.214 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:41.213 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:41.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:41.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:41.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:41.213 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:41.214 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:12:41.214 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [] [2025/04/05 23:12:41.213 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:41.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:41.214 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.214 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:41.214 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:41.214 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.214 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.215 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:41.215 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:41.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:41.215 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5064d8dc-7351-4a5d-8756-1f8d27a3501d] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:41.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:41.215 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:41.215 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:41.215 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [error="context canceled"] [2025/04/05 23:12:41.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:41.215 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:41.215 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:41.215 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:41.216 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [error="context canceled"] [2025/04/05 23:12:41.216 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [2025/04/05 23:12:41.233 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:41.233 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:41.275 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4f3043a4-6950-48ea-b0ee-d61c4fdd604b] [error="context canceled"] [2025/04/05 23:12:41.276 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:41.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:41.286 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.842021ms] [2025/04/05 23:12:41.288 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:41.288 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:41.288 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:41.288 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:41.288 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:41.288 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:41.289 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:41.289 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:41.288 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:41.289 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:41.289 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:41.289 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:41.290 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.29s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/05 23:12:41.298 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:41.299 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:41.300 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:41.300 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:41.300 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:41.300 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:41.300 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:41.300 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:41.301 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:41.301 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:41.301 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:41.305 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:41.310 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:41.311 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:41.311 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:41.321 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:41.331 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:41.365 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=489] ["lease id"=3eaa960835b0c43a] [2025/04/05 23:12:41.366 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:41.453 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=374] ["elapsed time"=84.266994ms] [2025/04/05 23:12:41.453 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:41.455 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:41.461 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:41.461 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:41.462 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:41.464 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:41.464 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709459456/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:41.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:41.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:41.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:41.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:41.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:41.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:41.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:41.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:41.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:41.465 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:41.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:41.465 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:41.465 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [2025/04/05 23:12:41.467 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c43f] [ownerID=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [op=none] [2025/04/05 23:12:41.467 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:41.467 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [ownerKey=/tidb/ddl/fg/owner/3eaa960835b0c43f] [currRev=1765] [2025/04/05 23:12:41.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:41.469 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:41.469 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:41.469 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835b0cb3e] [ownerID=0b500303-884e-4b82-8673-ca6278dc76e9] [op=none] [2025/04/05 23:12:41.469 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [2025/04/05 23:12:41.469 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [ownerKey=/tidb/br-stream/owner/2231960835b0cb3e] [currRev=1766] [2025/04/05 23:12:41.470 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960835b0c43f] [ownerID=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [op=none] [2025/04/05 23:12:41.470 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [op=none] [2025/04/05 23:12:41.470 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:41.479 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:41.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:41.480 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:41.488 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:41.495 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:41.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:41.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:41.499 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:41.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:41.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:41.499 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:41.499 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:41.499 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:41.499 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:41.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:41.500 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:41.501 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:41.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:41.501 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:41.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:41.502 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:41.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:41.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:41.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:41.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:41.504 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835b0c446] [ownerID=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [op=none] [2025/04/05 23:12:41.504 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:41.504 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [ownerKey=/tidb/stats/owner/3eaa960835b0c446] [currRev=1768] [2025/04/05 23:12:41.504 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:41.506 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/bbb14b57-3701-465c-a2bf-70e7525fc17b] [2025/04/05 23:12:41.506 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [ttl-worker=task-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [originalCount=0] [newCount=4] [2025/04/05 23:12:41.506 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [ttl-worker=task-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [originalCount=0] [newCount=4] [2025/04/05 23:12:41.506 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:41.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:41.507 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:41.507 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:41.507 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894761507336950 [2025/04/05 23:12:41.512 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:41.518 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.92522ms] [2025/04/05 23:12:41.518 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:41.518 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:41.520 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:41.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 23:12:41.524 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:12:41.537 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:41.537 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:41.542 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=1.785141ms] [gotSchemaVersion=375] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:41.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=375] [2025/04/05 23:12:41.562 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=8.906123ms] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.571 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.700771ms] [gotSchemaVersion=376] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:41.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=376] [2025/04/05 23:12:41.590 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=8.346781ms] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.598 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.603 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 396, Old Table Name: _t)"] [2025/04/05 23:12:41.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=981.897µs] [gotSchemaVersion=377] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:41.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=377] [2025/04/05 23:12:41.620 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=7.497431ms] [job="ID:398, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.629 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=398] [tableIDs="[396]"] [comment="drop table: table ID"] [2025/04/05 23:12:41.635 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=398] [jobType="drop table"] [2025/04/05 23:12:41.636 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.653 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=398] [2025/04/05 23:12:41.662 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 23:12:41.662 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:41.668 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=1.840592ms] [gotSchemaVersion=378] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:41.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=378] [2025/04/05 23:12:41.687 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=378] ["take time"=8.248547ms] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.696 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=1.749778ms] [gotSchemaVersion=379] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:41.713 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=379] [2025/04/05 23:12:41.714 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=8.300917ms] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.729 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 394, Old Table Name: t)"] [2025/04/05 23:12:41.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=982.999µs] [gotSchemaVersion=380] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:41.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=380] [2025/04/05 23:12:41.746 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=380] ["take time"=7.748474ms] [job="ID:399, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.755 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=399] [tableIDs="[394]"] [comment="drop table: table ID"] [2025/04/05 23:12:41.759 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=399] [jobType="drop table"] [2025/04/05 23:12:41.760 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.777 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=399] [2025/04/05 23:12:41.777 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=380] [cur_db=test] [sql="drop table `_t`,`t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894761777595686 testkit.go:123: RefreshSession rand seed: 1743894761779801957 [2025/04/05 23:12:41.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=380] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 23:12:41.795 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:41.795 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 23:12:41.801 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.805 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 400, Table Name: t1)"] [2025/04/05 23:12:41.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=1.757096ms] [gotSchemaVersion=381] [phyTblIDs="[400]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:41.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=401] [version=381] [2025/04/05 23:12:41.825 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=381] ["take time"=9.023225ms] [job="ID:401, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=401] [2025/04/05 23:12:41.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=381] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/05 23:12:41.859 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/05 23:12:41.859 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:41.865 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.869 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 402, Table Name: t2)"] [2025/04/05 23:12:41.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.414867ms] [gotSchemaVersion=382] [phyTblIDs="[402]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:41.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=403] [version=382] [2025/04/05 23:12:41.889 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=382] ["take time"=8.366932ms] [job="ID:403, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:41.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.899 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:41.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:41.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=403] [2025/04/05 23:12:41.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=382] [cur_db=test] [sql="create table t2(a int, b int)"] [user=] [2025/04/05 23:12:42.418 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151548589604866] [2025/04/05 23:12:42.421 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151548458795023] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=1.054724ms] [2025/04/05 23:12:42.422 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:12:42.422 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151548458795023] [startKey=7480000000000001905f728000000000000001] [endKey=7480000000000001905f728000000000000001] [2025/04/05 23:12:42.422 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151548458795023] [commitTS=0] [session=28] [2025/04/05 23:12:42.423 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457151548458795023\n# Conn_ID: 28\n# Query_time: 0.506943964\n# Parse_time: 0.00030672\n# Compile_time: 0.000888693\n# Rewrite_time: 0.000553953\n# Optimize_time: 0.000113285\n# Wait_TS: 0.000385661\n# Cop_time: 0.000697976 Wait_time: 0.000033114 Request_count: 1 Process_keys: 2 Total_keys: 3 Get_snapshot_time: 0.000 Rocksdb_key_skipped_count: 2\n# DB: test\n# Is_internal: false\n# Digest: 17ec1fbcf3620b11461e2eff18cd122e69a53042f1ba2502f253416afd1b6f79\n# Stats: t2:pseudo[10000;0]\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: 127.0.0.1:20162\n# Cop_wait_avg: 3.3114e-05 Cop_wait_addr: 127.0.0.1:20162\n# Mem_max: 17106\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('8gbYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjUwNC41bXMsIG9wZW46MTUyLjfCtXMsIGNsb3NlOjE1NQUORGxvb3BzOjEsIHByZXBhcmU6IAE4ADMBOGBpbnNlcnQ6MTQyLjHCtXMJNDAyIEJ5dGVzAWZoCjEJMTRfNgkwCTEwMDAwCXRlc3QudDIuYQkyCX8MMS4yNgFGCX4ENDI2fgAcMTUuMsK1cywNgBAyCTMyMA1dDQgcCjIJMzFfMTAVYkxkYXRhOlRhYmxlRnVsbFNjYW5fORFtCDkzNA1gBW8EOTgFsgAsDewENDcuawB4LCBjb3BfdGFzazoge251bTogMSwgbWF4OiA1OTEuNQUrKHByb2Nfa2V5czogCTB0cl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGJ1aWxkBU4IX2R1BRoQbjogMTcNgKhtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sIHJwY19pbmZvOntDb3A6AYsMX3JwYyGMFHRvdGFsXynGMDE1LjbCtXN9fQkyODgtIzBOL0EKMwk0M185CTFfNYKYYWJsZTp0Miwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvJTQEa3YFtAQ6ewVlADA1iQGYAHMhWyBkZXRhaWw6IHsJjBhwcm9jZXNzORRGFwAkX3NpemU6IDgyLA0dKUA4MywgZ2V0X3NuYXBzaG90CdYQIDkuNDglamhyb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQlfAxibG9jIakQfX19LCABrT6aAAh3YWkRVQQzMy13AHQB4ABnIWARuAE6CDogMknKAUkEa3YJIR0/CDExLkmUBT8Md2FsbA03RDEyNy40wrVzfQlOL0EJTi9BCg==')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('yQfACsQHCghJbnNlcnRfMRLJBgoGU29ydF82EuMFCg5UYWJsZVJlYWRlcl8xMBKoAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvargCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLOgzLCBnZXRfc25hcHNob3RfdGltZTogOS40OMK1cywgcm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50OgFoMGJsb2NrOiB7fX19LCABPD6aAAh3YWkRVQwzMy4xBVUAdAHgDGdycGMVuAE6DDogMjJCIQAdPwwxMS4yGT8Md2FsbA03KDEyNy40wrVzfXD/EQEEAXgRCiT/ASFijYgxlacXMpcBNAFAAVIUZGF0YTpUYWJsPcUEWjEFjBA5MzQuNwVuGG9wZW46OTgNmhhjbG9zZTo0CRtAbG9vcHM6MmK2AWNvcF90YXMhCkRudW06IDEsIG1heDogNTkxLjUFRyGiLXOQMiwgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGJ1aWxkXwFOCF9kdQUaEG46IDE3DYFwbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCAhUyRpbmZvOntDb3A6AYsUX3JwYzoxURAF2xA1MTUuNiEvEH1woAJ4PSgcVC2mcdbmWkEuvwIhKCwJdGVzdC50Mi5hWjMFQhgxLjI2bXMsKRsIMTQyLSoAYyUcFDExNS4ywkE8LR8IcMACBUcUA04vQVoyBUEQNTA0LjUZQgA1OkIAADUpMwlALDFiIXByZXBhcmU6IAE4ADMBOARpbmGlBXxBUzxwkgN4////////////ARgB')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/05 23:12:42.424 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=382] [error="[kv:9007]Write conflict, txnStartTS=457151548458795023, conflictStartTS=457151548589604866, conflictCommitTS=457151548589604867, key={tableID=400, tableName=test.t1, handle=1}, originalKey=7480000000000001905f728000000000000001, primary={tableID=400, tableName=test.t1, handle=1}, originalPrimaryKey=7480000000000001905f728000000000000001, reason=Optimistic [try again later]"] [session="{\n \"currDBName\": \"test\",\n \"id\": 28,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:12:42.424 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:42.424 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [] [2025/04/05 23:12:42.424 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.424 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:42.425 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:42.425 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:42.425 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=60.082µs] [2025/04/05 23:12:42.425 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=65.363µs] [2025/04/05 23:12:42.425 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=57.437µs] [2025/04/05 23:12:42.425 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=52.103µs] [2025/04/05 23:12:42.425 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.425 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.426 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:42.426 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:42.428 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=617c1a89-105e-444d-b0b7-1fb07aaf15e7] ["take time"=3.859121ms] [2025/04/05 23:12:42.428 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.428 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:42.428 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/bbb14b57-3701-465c-a2bf-70e7525fc17b] [2025/04/05 23:12:42.428 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [ttl-worker=task-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [originalCount=4] [newCount=0] [2025/04/05 23:12:42.429 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:42.429 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:42.429 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:42.429 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:42.429 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [ttl-worker=task-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [originalCount=4] [newCount=0] [2025/04/05 23:12:42.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:42.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:42.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:42.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:42.436 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.436 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=489] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.438 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:42.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:42.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:42.438 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:42.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:42.438 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [2025/04/05 23:12:42.439 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0b500303-884e-4b82-8673-ca6278dc76e9] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:42.439 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:42.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:42.439 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:42.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:42.440 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:42.440 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:42.440 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:42.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:42.440 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:42.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:42.441 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [error="context canceled"] [2025/04/05 23:12:42.441 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [2025/04/05 23:12:42.441 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [error="context canceled"] [2025/04/05 23:12:42.441 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=617c1a89-105e-444d-b0b7-1fb07aaf15e7] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:42.460 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:42.460 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:42.509 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:42.509 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:42.519 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=94.649023ms] [2025/04/05 23:12:43.306 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:47.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151548458795023 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:47.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151548458795023 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:47.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151548458795023 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:47.423 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:47.423 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:47.423 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:47.423 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:47.423 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:47.423 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:47.423 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:47.423 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:47.423 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:47.423 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:47.423 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:47.423 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:47.424 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.13s) === NAME === RUN TestReplaceRowCheck [2025/04/05 23:12:47.433 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:47.433 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:47.434 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:47.435 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:47.435 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:47.435 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:47.435 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:47.435 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:47.435 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:47.436 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:47.436 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:47.440 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:47.445 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:47.446 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:47.446 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:47.456 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:47.466 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:47.504 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1996] ["lease id"=6f18960835b0d215] [2025/04/05 23:12:47.506 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:47.598 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=382] ["elapsed time"=89.355554ms] [2025/04/05 23:12:47.598 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:47.600 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:47.606 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=320f7bc0-e8de-4d8a-b482-675b49df3643] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:47.606 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:47.608 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.609 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:47.609 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709492224/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:47.609 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:47.609 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:47.610 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [2025/04/05 23:12:47.611 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d21a] [ownerID=320f7bc0-e8de-4d8a-b482-675b49df3643] [op=none] [2025/04/05 23:12:47.612 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.612 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0d21a] [currRev=1807] [2025/04/05 23:12:47.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:47.612 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:47.613 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c468] [ownerID=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [op=none] [2025/04/05 23:12:47.613 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:47.613 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [2025/04/05 23:12:47.613 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c468] [currRev=1808] [2025/04/05 23:12:47.614 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d21a] [ownerID=320f7bc0-e8de-4d8a-b482-675b49df3643] [op=none] [2025/04/05 23:12:47.614 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [op=none] [2025/04/05 23:12:47.614 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:47.618 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:47.619 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:47.620 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:47.620 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:47.621 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:47.623 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960835b0d220] [ownerID=320f7bc0-e8de-4d8a-b482-675b49df3643] [op=none] [2025/04/05 23:12:47.623 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.624 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [ownerKey=/tidb/bindinfo/owner/6f18960835b0d220] [currRev=1809] [2025/04/05 23:12:47.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:47.637 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:47.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:47.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:47.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:47.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:47.642 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:47.642 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:47.642 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:47.642 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:47.642 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:47.643 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:47.643 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] Post stage [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:47.644 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:47.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:47.646 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835b0c46e] [ownerID=320f7bc0-e8de-4d8a-b482-675b49df3643] [op=none] [2025/04/05 23:12:47.646 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.646 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [ownerKey=/tidb/stats/owner/3eaa960835b0c46e] [currRev=1810] [2025/04/05 23:12:47.647 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:47.649 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/de0b1020-41fe-48a0-9571-90b40878815d] [2025/04/05 23:12:47.649 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [ttl-worker=task-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [originalCount=0] [newCount=4] [2025/04/05 23:12:47.649 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [ttl-worker=task-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [originalCount=0] [newCount=4] [2025/04/05 23:12:47.649 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:47.650 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:12:47.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:47.650 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:47.650 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894767650996067 [2025/04/05 23:12:47.656 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:47.663 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.108761ms] [2025/04/05 23:12:47.663 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:47.663 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:47.671 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:47.674 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:12:47.675 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/05 23:12:47.688 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/05 23:12:47.688 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:47.694 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=1.903822ms] [gotSchemaVersion=383] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:47.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=383] [2025/04/05 23:12:47.715 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=383] ["take time"=9.441068ms] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.725 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.740 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.796644ms] [gotSchemaVersion=384] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:47.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=384] [2025/04/05 23:12:47.745 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=8.634418ms] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.760 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 400, Old Table Name: t1)"] [2025/04/05 23:12:47.773 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=1.007019ms] [gotSchemaVersion=385] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:47.776 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=385] [2025/04/05 23:12:47.778 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=8.197386ms] [job="ID:404, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.787 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=404] [tableIDs="[400]"] [comment="drop table: table ID"] [2025/04/05 23:12:47.794 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=404] [jobType="drop table"] [2025/04/05 23:12:47.795 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.813 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=404] [2025/04/05 23:12:47.824 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:47.824 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/05 23:12:47.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.846 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=1.899748ms] [gotSchemaVersion=386] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:47.850 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=386] [2025/04/05 23:12:47.852 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=386] ["take time"=9.898459ms] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.880 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=2.035753ms] [gotSchemaVersion=387] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:47.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=387] [2025/04/05 23:12:47.886 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=387] ["take time"=10.312058ms] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.902 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 402, Old Table Name: t2)"] [2025/04/05 23:12:47.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=1.131854ms] [gotSchemaVersion=388] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:47.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=388] [2025/04/05 23:12:47.921 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=8.796037ms] [job="ID:405, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.930 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=405] [tableIDs="[402]"] [comment="drop table: table ID"] [2025/04/05 23:12:47.934 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=405] [jobType="drop table"] [2025/04/05 23:12:47.935 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.951 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=405] [2025/04/05 23:12:47.952 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=388] [cur_db=test] [sql="drop table `t1`,`t2`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894767952412069 [2025/04/05 23:12:47.956 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=388] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:12:47.970 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/05 23:12:47.970 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:47.976 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:47.981 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 406, Table Name: t1)"] [2025/04/05 23:12:47.996 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.40516ms] [gotSchemaVersion=389] [phyTblIDs="[406]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:48.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=389] [2025/04/05 23:12:48.002 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=389] ["take time"=9.448708ms] [job="ID:407, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:47.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.014 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:47.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.026 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=407] [2025/04/05 23:12:48.027 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=389] [cur_db=test] [sql="create table t1(a int, b int)"] [user=] [2025/04/05 23:12:48.040 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:48.040 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/05 23:12:48.046 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:48.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.050 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 408, Table Name: _t1)"] [2025/04/05 23:12:48.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.541409ms] [gotSchemaVersion=390] [phyTblIDs="[408]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:48.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=409] [version=390] [2025/04/05 23:12:48.071 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=390] ["take time"=9.381829ms] [job="ID:409, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.083 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:48.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=409] [2025/04/05 23:12:48.095 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=390] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/05 23:12:48.106 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151550083825674] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=970.035µs] [2025/04/05 23:12:48.107 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.075261ms] [total_duration=4.093232ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457151550083825674] [2025/04/05 23:12:48.108 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151550083825674] [commitTS=457151550083825675] [2025/04/05 23:12:48.108 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151550083825674] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] [concurrency=8] [2025/04/05 23:12:48.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151550083825674] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] ["cost time"=4.662761ms] ["completed regions"=1] [2025/04/05 23:12:48.113 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151550083825674] [commitTS=457151550083825675] [session=31] [2025/04/05 23:12:48.126 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:48.126 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:48.132 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:48.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.140 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 410, Table Name: _t1, Old Table ID: 408, Old Table Name: _t1)"] [2025/04/05 23:12:48.154 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=1.387415ms] [gotSchemaVersion=391] [phyTblIDs="[408,410]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:48.158 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=411] [version=391] [2025/04/05 23:12:48.160 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=391] ["take time"=8.90841ms] [job="ID:411, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.171 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=411] [tableIDs="[408]"] [comment="truncate table: table ID"] [2025/04/05 23:12:48.176 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=411] [jobType="truncate table"] [2025/04/05 23:12:48.177 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.195 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=411] [2025/04/05 23:12:48.195 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=391] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:48.200 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151550110040071] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=933.765µs] [2025/04/05 23:12:48.200 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.024814ms] [total_duration=3.686597ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457151550110040071] [2025/04/05 23:12:48.201 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151550110040071] [commitTS=457151550110040072] [2025/04/05 23:12:48.202 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151550110040071] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] [concurrency=8] [2025/04/05 23:12:48.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151550110040071] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] ["cost time"=2.466405ms] ["completed regions"=1] [2025/04/05 23:12:48.204 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151550110040071] [commitTS=457151550110040072] [session=31] [2025/04/05 23:12:48.217 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:48.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 23:12:48.224 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:48.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.231 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 412, Table Name: _t1, Old Table ID: 410, Old Table Name: _t1)"] [2025/04/05 23:12:48.245 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.450859ms] [gotSchemaVersion=392] [phyTblIDs="[410,412]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:12:48.249 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=392] [2025/04/05 23:12:48.250 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=392] ["take time"=8.814694ms] [job="ID:413, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.261 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=413] [tableIDs="[410]"] [comment="truncate table: table ID"] [2025/04/05 23:12:48.265 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="truncate table"] [2025/04/05 23:12:48.266 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:48.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:48.283 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/05 23:12:48.283 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=392] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 23:12:48.289 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151550136254465] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=972.847µs] [2025/04/05 23:12:48.289 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.064049ms] [total_duration=4.137156ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457151550136254465] [2025/04/05 23:12:48.290 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151550136254465] [commitTS=457151550136254466] [2025/04/05 23:12:48.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151550136254465] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] [concurrency=8] [2025/04/05 23:12:48.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151550136254465] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] ["cost time"=2.524532ms] ["completed regions"=1] [2025/04/05 23:12:48.293 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151550136254465] [commitTS=457151550136254466] [session=31] [2025/04/05 23:12:48.293 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [] [2025/04/05 23:12:48.293 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:48.293 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:12:48.294 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.294 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:48.294 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:48.294 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=59.113µs] [2025/04/05 23:12:48.294 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=47.829µs] [2025/04/05 23:12:48.294 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=49.861µs] [2025/04/05 23:12:48.294 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=41.278µs] [2025/04/05 23:12:48.294 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=54µs] [2025/04/05 23:12:48.294 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=40.357µs] [2025/04/05 23:12:48.294 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.294 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.295 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:48.295 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:48.297 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=320f7bc0-e8de-4d8a-b482-675b49df3643] ["take time"=3.692189ms] [2025/04/05 23:12:48.297 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.297 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:48.297 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/de0b1020-41fe-48a0-9571-90b40878815d] [2025/04/05 23:12:48.297 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [ttl-worker=task-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [originalCount=4] [newCount=0] [2025/04/05 23:12:48.297 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:48.297 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:48.297 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:48.297 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:48.298 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [ttl-worker=task-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [originalCount=4] [newCount=0] [2025/04/05 23:12:48.300 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:48.300 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:48.300 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:48.300 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:48.302 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.302 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1996] [2025/04/05 23:12:48.303 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:48.304 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:48.304 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:48.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:48.304 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:48.303 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:48.304 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:48.303 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:48.304 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [] [2025/04/05 23:12:48.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:48.304 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:48.304 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.304 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.304 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.305 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:48.305 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:48.305 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bb15552b-2d1f-4b03-924d-eb37d53dadc1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:48.305 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:48.305 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:48.305 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:48.305 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:48.305 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:12:48.305 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [] [2025/04/05 23:12:48.305 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [error="context canceled"] [2025/04/05 23:12:48.305 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.305 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:48.305 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:48.305 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.305 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:48.305 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [2025/04/05 23:12:48.306 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [error="context canceled"] [2025/04/05 23:12:48.306 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=320f7bc0-e8de-4d8a-b482-675b49df3643] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:48.323 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:48.323 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:48.369 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:48.369 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:48.379 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.180128ms] [2025/04/05 23:12:49.441 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:12:53.114 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151550083825674 commit_ts:457151550083825675 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:53.114 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151550083825674 commit_ts:457151550083825675 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:53.114 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151550083825674 commit_ts:457151550083825675 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:53.205 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151550110040071 commit_ts:457151550110040072 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:53.205 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151550110040071 commit_ts:457151550110040072 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:53.205 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151550110040071 commit_ts:457151550110040072 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:53.293 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151550136254465 commit_ts:457151550136254466 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:53.293 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151550136254465 commit_ts:457151550136254466 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:12:53.293 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151550136254465 commit_ts:457151550136254466 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:12:53.294 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:12:53.294 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:12:53.294 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:53.294 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:53.294 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:53.294 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:53.294 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:53.294 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:53.294 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:12:53.294 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:53.294 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:53.294 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:53.295 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.87s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/05 23:12:53.302 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:53.303 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:53.303 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:53.304 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:53.304 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:53.304 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:53.304 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:53.304 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:53.304 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:53.305 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:53.305 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:53.308 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:53.313 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:53.314 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:53.314 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:53.324 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:53.334 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:12:53.369 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1165] ["lease id"=2231960835b0cb93] [2025/04/05 23:12:53.371 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:53.457 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=392] ["elapsed time"=83.508981ms] [2025/04/05 23:12:53.457 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:53.459 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:53.465 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=351d2e08-9e5d-422e-96c3-27da18b487cf] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:53.465 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:53.467 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.468 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:53.468 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709508608/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:53.468 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:53.468 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:53.468 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [2025/04/05 23:12:53.470 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0cb98] [ownerID=351d2e08-9e5d-422e-96c3-27da18b487cf] [op=none] [2025/04/05 23:12:53.470 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.470 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [ownerKey=/tidb/ddl/fg/owner/2231960835b0cb98] [currRev=1856] [2025/04/05 23:12:53.470 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:53.471 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:53.471 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835b0d260] [ownerID=91aed369-a081-4a1f-84d6-a6db73fb1652] [op=none] [2025/04/05 23:12:53.471 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [2025/04/05 23:12:53.472 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [ownerKey=/tidb/br-stream/owner/6f18960835b0d260] [currRev=1856] [2025/04/05 23:12:53.472 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:53.472 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0cb98] [ownerID=351d2e08-9e5d-422e-96c3-27da18b487cf] [op=none] [2025/04/05 23:12:53.472 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [op=none] [2025/04/05 23:12:53.472 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:53.477 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:53.478 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:53.479 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:53.479 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:53.480 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:53.489 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:53.496 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:53.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:53.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:53.500 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:53.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:53.500 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:12:53.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:53.500 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:12:53.500 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:53.500 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:53.501 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:53.501 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:53.503 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:53.503 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:53.503 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:53.505 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:53.505 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835b0cba0] [ownerID=351d2e08-9e5d-422e-96c3-27da18b487cf] [op=none] [2025/04/05 23:12:53.505 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.505 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [ownerKey=/tidb/stats/owner/2231960835b0cba0] [currRev=1858] [2025/04/05 23:12:53.508 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b8fc3a65-d73a-438b-ac02-f7d47c709667] [2025/04/05 23:12:53.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:53.508 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:53.508 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:12:53.508 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743894773508404835 [2025/04/05 23:12:53.508 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [ttl-worker=task-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [originalCount=0] [newCount=4] [2025/04/05 23:12:53.508 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [ttl-worker=task-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [originalCount=0] [newCount=4] [2025/04/05 23:12:53.508 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.514 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:12:53.521 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.053161ms] [2025/04/05 23:12:53.521 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] INFO: From Testing //tests/realtikvtest/importintotest3:importintotest3_test: [2025/04/05 23:12:53.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] ==================== Test output for //tests/realtikvtest/importintotest3:importintotest3_test: === RUN TestImportInto [2025/04/05 23:12:53.522 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:53.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 23:09:22.136 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:53.526 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:09:22.137 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:22.138 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:22.139 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:53.539 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 23:09:22.139 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:22.139 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:22.139 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:53.539 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.139 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:22.139 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:22.140 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:53.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.140 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:22.145 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:12:53.560 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.74004ms] [gotSchemaVersion=393] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:22.152 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:53.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=393] [2025/04/05 23:09:22.153 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:22.153 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=5] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:22.177 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:12:53.565 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=393] ["take time"=8.616922ms] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.177 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:22.182 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:12:53.575 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.183 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:22.193 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:12:53.590 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=1.823228ms] [gotSchemaVersion=394] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:22.215 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969667149752382] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:12:53.594 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=394] [2025/04/05 23:09:22.237 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:22.276 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=96] ["lease id"=2231960835ae73ec] [2025/04/05 23:12:53.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=394] ["take time"=9.000345ms] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.609 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 412, Old Table Name: _t1)"] [2025/04/05 23:12:53.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=1.052578ms] [gotSchemaVersion=395] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:53.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=395] [2025/04/05 23:09:22.279 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:53.628 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=395] ["take time"=8.251582ms] [job="ID:414, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.637 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=414] [tableIDs="[412]"] [comment="drop table: table ID"] [2025/04/05 23:12:53.644 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=414] [jobType="drop table"] [2025/04/05 23:12:53.645 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.663 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=414] [2025/04/05 23:12:53.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:53.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 23:12:53.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.285 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest3/importintotest3_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest3/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest3/importintotest3_test.TestImportInto\n\ttests/realtikvtest/importintotest3/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:12:53.692 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=1.796816ms] [gotSchemaVersion=396] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:22.389 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.81851ms] [2025/04/05 23:12:53.696 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=396] [2025/04/05 23:09:22.389 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:22.391 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:09:22.391 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:22.391 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:53.697 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=396] ["take time"=8.558091ms] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.393 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:22.394 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:53.706 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.394 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237099798528/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:53.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=1.700985ms] [gotSchemaVersion=397] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:22.394 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:53.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=397] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:53.726 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=397] ["take time"=8.516487ms] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:53.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:22.395 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:53.739 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 406, Old Table Name: t1)"] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:22.395 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:53.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=856.525µs] [gotSchemaVersion=398] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:22.395 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:53.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=398] [2025/04/05 23:09:22.395 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [2025/04/05 23:09:22.397 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835ae73f1] [ownerID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] [2025/04/05 23:09:22.397 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:12:53.756 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=398] ["take time"=7.317143ms] [job="ID:415, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.397 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ownerKey=/tidb/ddl/fg/owner/2231960835ae73f1] [currRev=94] [2025/04/05 23:12:53.765 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=415] [tableIDs="[406]"] [comment="drop table: table ID"] [2025/04/05 23:09:22.398 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:12:53.769 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=415] [jobType="drop table"] [2025/04/05 23:09:22.398 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:22.399 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:12:53.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/05 23:09:22.399 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835ae7eec] [ownerID=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [op=none] [2025/04/05 23:12:53.786 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=398] [cur_db=test] [sql="drop table `_t1`,`t1`"] [user=] [2025/04/05 23:09:22.399 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] testkit.go:123: RefreshSession rand seed: 1743894773787171562 [2025/04/05 23:09:22.399 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [ownerKey=/tidb/br-stream/owner/6f18960835ae7eec] [currRev=95] [2025/04/05 23:12:53.790 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=398] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 23:09:22.399 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835ae73f1] [ownerID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] [2025/04/05 23:09:22.399 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] [2025/04/05 23:12:53.803 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.399 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:12:53.803 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 23:12:53.808 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.813 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 416, Table Name: t1)"] [2025/04/05 23:09:22.402 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:12:53.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=1.439129ms] [gotSchemaVersion=399] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:53.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=417] [version=399] [2025/04/05 23:09:22.416 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:09:22.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:53.832 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=399] ["take time"=8.468045ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:53.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.416 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:12:53.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:53.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.853 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/05 23:09:22.423 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=399] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/05 23:09:22.563 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.86495ms] [2025/04/05 23:09:22.564 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:53.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151551591153672] [2025/04/05 23:09:22.569 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:12:53.861 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151551591153677] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=680.211µs] [2025/04/05 23:09:22.571 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=135.436331ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.862 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457151551591153677] [startKey=7480000000000001a05f728000000000000001] [endKey=7480000000000001a05f728000000000000001] [2025/04/05 23:09:22.585 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.862 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457151551591153677] [commitTS=0] [session=33] [2025/04/05 23:09:22.599 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:12:53.862 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [] [2025/04/05 23:09:22.599 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:12:53.862 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:22.601 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:12:53.862 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:22.605 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/05 23:12:53.862 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.862 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:12:53.862 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:22.630 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:53.862 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=46.33µs] [2025/04/05 23:12:53.862 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=32.383µs] [2025/04/05 23:12:53.862 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=23.614µs] [2025/04/05 23:12:53.862 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.862 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.863 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:53.863 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:53.864 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=351d2e08-9e5d-422e-96c3-27da18b487cf] ["take time"=2.643749ms] [2025/04/05 23:12:53.864 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.865 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:53.865 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b8fc3a65-d73a-438b-ac02-f7d47c709667] [2025/04/05 23:12:53.865 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [ttl-worker=task-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [originalCount=4] [newCount=0] [2025/04/05 23:12:53.865 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:53.865 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:53.865 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:53.865 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:53.865 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [ttl-worker=task-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [originalCount=4] [newCount=0] [2025/04/05 23:12:53.867 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:53.867 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:53.867 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:53.867 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:53.869 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.869 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1165] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:22.630 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:22.639 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:22.694 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.648472ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:22.697 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:22.697 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:22.699 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=15.150501ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:22.719 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:22.750 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:53.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:53.871 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:53.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:53.870 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [] [2025/04/05 23:12:53.871 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.870 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [] [2025/04/05 23:12:53.871 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:53.870 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [2025/04/05 23:09:22.751 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:12:53.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:53.870 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:22.765 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:12:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:53.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:53.871 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:53.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:22.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [2025/04/05 23:12:53.871 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:53.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:22.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [2025/04/05 23:12:53.871 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:09:22.790 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.113907ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:53.872 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:22.794 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:53.873 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:22.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:12:53.873 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:53.873 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:12:53.873 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:53.873 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=91aed369-a081-4a1f-84d6-a6db73fb1652] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:22.795 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.195945ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.873 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:53.873 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:53.873 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:22.806 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.873 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:22.819 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:12:53.873 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:53.874 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [error="context canceled"] [2025/04/05 23:12:53.874 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [2025/04/05 23:09:22.820 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:12:53.874 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [error="context canceled"] [2025/04/05 23:09:22.833 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:53.874 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=351d2e08-9e5d-422e-96c3-27da18b487cf] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:22.833 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:12:53.890 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:12:53.890 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:53.935 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:22.839 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:53.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:53.945 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.031738ms] [2025/04/05 23:09:22.858 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.099621ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.862 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:55.309 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:22.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:12:58.863 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151551591153677 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:09:22.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=9.089103ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:58.863 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151551591153677 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:12:58.863 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151551591153677 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:09:22.874 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:58.863 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:22.887 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:12:58.863 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:12:58.863 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:12:58.863 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:12:58.863 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:22.887 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:12:58.863 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:12:58.863 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:12:58.863 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:12:58.863 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:22.908 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:58.863 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:58.863 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:12:58.863 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:12:58.864 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.57s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/05 23:12:58.872 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:12:58.872 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:12:58.873 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:12:58.874 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:12:58.874 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:12:58.874 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:12:58.874 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:12:58.874 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:12:58.874 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:12:58.875 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:12:58.875 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:12:58.878 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:22.908 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:12:58.883 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:58.884 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:22.918 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:58.884 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:12:58.895 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:22.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.625775ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:58.904 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:22.957 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:58.939 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=923] ["lease id"=3eaa960835b0c4bd] [2025/04/05 23:09:22.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:09:22.958 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.681194ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.973 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.993 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:12:58.941 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:12:59.025 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=399] ["elapsed time"=82.129083ms] [2025/04/05 23:12:59.025 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:12:59.027 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:12:59.033 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [runWorker=true] [jobVersion=v2] [2025/04/05 23:12:59.033 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:12:59.035 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.036 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:12:59.036 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709533184/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:12:59.036 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:22.994 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:23.009 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:59.037 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:12:59.037 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:12:59.037 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:12:59.037 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [2025/04/05 23:09:23.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:12:59.039 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d291] [ownerID=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [op=none] [2025/04/05 23:12:59.039 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.039 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0d291] [currRev=1894] [2025/04/05 23:12:59.040 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:23.039 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.759062ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.040 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:23.042 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.040 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:23.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:12:59.040 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835b0cbc2] [ownerID=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [op=none] [2025/04/05 23:12:59.040 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [2025/04/05 23:09:23.044 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.610008ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.040 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [ownerKey=/tidb/br-stream/owner/2231960835b0cbc2] [currRev=1895] [2025/04/05 23:12:59.041 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d291] [ownerID=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [op=none] [2025/04/05 23:09:23.056 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.041 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [op=none] [2025/04/05 23:09:23.071 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:12:59.041 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:23.072 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:23.086 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.086 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:23.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.046 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:23.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.652702ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.117 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:09:23.119 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=8.949741ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.130 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.144 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:09:23.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:23.156 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.047 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:23.156 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.161 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.681148ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.181 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.181 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:09:23.183 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.743331ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.193 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.204 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:09:23.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:12:59.048 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:12:59.048 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.217 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.049 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:59.049 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:12:59.058 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:12:59.065 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:23.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:12:59.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:12:59.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:23.222 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:59.069 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:12:59.069 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:23.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.730369ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:23.242 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.069 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:23.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:12:59.069 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:12:59.069 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:12:59.070 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:59.070 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.244 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=8.150522ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:23.253 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:23.266 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:23.266 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:12:59.072 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:59.073 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:12:59.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:23.281 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:59.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:59.073 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:12:59.073 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:59.073 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:12:59.075 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:12:59.075 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960835b0c4c7] [ownerID=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [op=none] [2025/04/05 23:09:23.280 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:12:59.076 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.076 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [ownerKey=/tidb/stats/owner/3eaa960835b0c4c7] [currRev=1897] [2025/04/05 23:09:23.286 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.077 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/44e4956b-afe2-493d-8649-6ad2122340b2] [2025/04/05 23:09:23.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.108076ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.077 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [ttl-worker=task-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [originalCount=0] [newCount=4] [2025/04/05 23:09:23.310 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.078 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:23.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:12:59.078 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [ttl-worker=task-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [originalCount=0] [newCount=4] [2025/04/05 23:12:59.078 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.312 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=8.480533ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:59.078 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:12:59.078 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894779078854079 [2025/04/05 23:09:23.322 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.083 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:23.335 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:12:59.090 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.787209ms] [2025/04/05 23:12:59.090 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:12:59.090 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:12:59.098 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:12:59.109 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:12:59.112 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=399] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:09:23.335 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:12:59.125 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.349 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.125 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:12:59.131 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.349 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:12:59.146 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.877024ms] [gotSchemaVersion=400] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:23.355 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=400] [2025/04/05 23:09:23.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.15147ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.378 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:12:59.152 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=400] ["take time"=9.32186ms] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.379 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=8.666974ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.162 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.390 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.177 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=1.821061ms] [gotSchemaVersion=401] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:59.181 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=401] [2025/04/05 23:12:59.182 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=401] ["take time"=8.661774ms] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.191 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.197 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 416, Old Table Name: t1)"] [2025/04/05 23:12:59.209 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=996.585µs] [gotSchemaVersion=402] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:12:59.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=402] [2025/04/05 23:12:59.214 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=402] ["take time"=7.844155ms] [job="ID:418, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.223 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=418] [tableIDs="[416]"] [comment="drop table: table ID"] [2025/04/05 23:12:59.229 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=418] [jobType="drop table"] [2025/04/05 23:09:23.396 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:23.403 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:12:59.230 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.247 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=418] [2025/04/05 23:12:59.248 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=402] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894779248424899 [2025/04/05 23:09:23.403 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:12:59.252 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=402] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 23:09:23.405 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:12:59.265 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.420 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.265 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [2025/04/05 23:12:59.271 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:59.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.275 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 419, Table Name: t1)"] [2025/04/05 23:12:59.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.664507ms] [gotSchemaVersion=403] [phyTblIDs="[419]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.420 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:12:59.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=420] [version=403] [2025/04/05 23:09:23.426 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.296 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=8.000788ms] [job="ID:420, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:12:59.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.225749ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.455 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.456 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:12:59.307 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 23:12:59.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.319 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=420] [2025/04/05 23:12:59.319 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=403] [cur_db=test] [sql="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [user=] [2025/04/05 23:09:23.457 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=10.205942ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.325 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151553019838480] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.088564ms] [2025/04/05 23:09:23.470 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.325 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.184342ms] [total_duration=4.698883ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457151553019838480] [2025/04/05 23:09:23.487 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:12:59.326 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151553019838480] [commitTS=457151553019838484] [2025/04/05 23:12:59.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151553019838480] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] [concurrency=8] [2025/04/05 23:12:59.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151553019838480] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] ["cost time"=4.12732ms] ["completed regions"=1] [2025/04/05 23:12:59.331 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151553019838480] [commitTS=457151553019838484] [session=35] [2025/04/05 23:09:23.487 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:12:59.334 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151553019838485] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=836.886µs] [2025/04/05 23:09:23.502 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.334 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=936.163µs] [total_duration=6.141701ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457151553019838485] [2025/04/05 23:12:59.335 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151553019838485] [commitTS=457151553032945665] [2025/04/05 23:12:59.335 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151553019838485] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] [concurrency=8] [2025/04/05 23:09:23.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:12:59.338 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151553019838485] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] ["cost time"=2.139913ms] ["completed regions"=1] [2025/04/05 23:12:59.338 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151553019838485] [commitTS=457151553032945665] [session=35] [2025/04/05 23:09:23.510 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.338 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:12:59.338 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [] [2025/04/05 23:09:23.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.744236ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.339 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.537 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.338 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:23.537 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:12:59.339 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [Pipeline] dir [2025/04/05 23:12:59.339 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:23.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.804382ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.339 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=44.296µs] [2025/04/05 23:12:59.339 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=36.107µs] [2025/04/05 23:12:59.339 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.551 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.339 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.566 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:12:59.340 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:12:59.340 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:12:59.341 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9eba9025-43e4-4223-93de-5d2dd2a6b65a] ["take time"=2.313367ms] [2025/04/05 23:12:59.341 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.341 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:12:59.341 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/44e4956b-afe2-493d-8649-6ad2122340b2] [2025/04/05 23:09:23.566 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [2025/04/05 23:12:59.341 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [ttl-worker=task-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [originalCount=4] [newCount=0] [2025/04/05 23:12:59.341 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:59.341 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:23.584 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.341 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:59.341 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:12:59.341 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [ttl-worker=task-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [originalCount=4] [newCount=0] [2025/04/05 23:12:59.343 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:59.343 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:59.344 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:59.344 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:12:59.346 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.346 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:23.584 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=923] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:23.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [2025/04/05 23:09:23.610 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.008429ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:23.613 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:23.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [2025/04/05 23:09:23.615 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=8.701976ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:23.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:23.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:23.638 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:23.652 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:23.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:23.659 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:23.678 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.158699ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.348 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:23.681 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:23.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [2025/04/05 23:09:23.683 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=9.026952ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:23.693 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:23.707 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:12:59.348 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:23.707 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:12:59.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:23.720 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:12:59.348 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:12:59.347 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:12:59.347 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:23.720 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.348 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:12:59.348 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:23.726 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:12:59.348 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:09:23.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.081488ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:12:59.349 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:23.748 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:12:59.349 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0420d6f7-02bb-4da8-ac5e-3a56e5ecb05b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:23.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:12:59.349 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:12:59.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:12:59.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:12:59.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:23.749 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.569486ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.349 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:12:59.349 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [error="context canceled"] [2025/04/05 23:09:23.760 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:12:59.349 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:23.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:12:59.349 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:12:59.349 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:12:59.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:23.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:12:59.350 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [error="context canceled"] [2025/04/05 23:12:59.350 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [2025/04/05 23:12:59.366 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:23.787 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:12:59.366 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:12:59.410 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9eba9025-43e4-4223-93de-5d2dd2a6b65a] [error="context canceled"] [2025/04/05 23:12:59.410 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:12:59.410 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:12:59.420 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.555824ms] [2025/04/05 23:13:00.879 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:23.787 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.332 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151553019838480 commit_ts:457151553019838484 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:09:23.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.332 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151553019838480 commit_ts:457151553019838484 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:09:23.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.234452ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:04.332 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151553019838480 commit_ts:457151553019838484 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:09:23.816 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:13:04.339 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151553019838485 commit_ts:457151553032945665 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:13:04.339 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151553019838485 commit_ts:457151553032945665 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:09:23.817 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.940998ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.339 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151553019838485 commit_ts:457151553032945665 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:13:04.339 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:23.828 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.339 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:23.841 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:13:04.339 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:13:04.339 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:13:04.339 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:13:04.339 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:13:04.339 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:13:04.339 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:13:04.339 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:23.841 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:13:04.339 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:13:04.339 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:23.856 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.339 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:13:04.340 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.48s) === NAME === RUN TestConflictError [2025/04/05 23:13:04.348 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:13:04.348 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:13:04.349 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:13:04.350 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:23.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:13:04.350 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:13:04.350 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:13:04.350 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:13:04.350 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:23.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.350 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:13:04.350 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:13:04.350 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:23.880 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.325307ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:04.354 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:23.884 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:13:04.359 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:13:04.360 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:13:04.360 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:23.885 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=9.115626ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.369 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:13:04.379 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:13:04.430 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=860] ["lease id"=6f18960835b0d2bd] [2025/04/05 23:09:23.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.910 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:09:23.910 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:13:04.432 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:23.926 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.522 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=403] ["elapsed time"=86.292324ms] [2025/04/05 23:13:04.522 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:13:04.524 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:13:04.530 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=29d58345-9d52-43aa-b363-0d11bae5180b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:13:04.530 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:13:04.532 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.534 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:13:04.534 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709545472/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:23.926 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:23.933 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:23.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.062941ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.961 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:23.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:23.963 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.465768ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:13:04.534 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:13:04.534 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:23.975 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.534 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:23.992 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:13:04.534 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [2025/04/05 23:13:04.536 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d2c2] [ownerID=29d58345-9d52-43aa-b363-0d11bae5180b] [op=none] [2025/04/05 23:13:04.536 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.536 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:13:04.537 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [ownerKey=/tidb/ddl/fg/owner/6f18960835b0d2c2] [currRev=1927] [2025/04/05 23:13:04.537 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:23.992 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:13:04.537 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c4e7] [ownerID=540a88d9-9910-437e-a7f5-81590d0b3a48] [op=none] [2025/04/05 23:13:04.537 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [2025/04/05 23:09:24.012 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.537 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c4e7] [currRev=1927] [2025/04/05 23:13:04.538 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:13:04.538 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835b0d2c2] [ownerID=29d58345-9d52-43aa-b363-0d11bae5180b] [op=none] [2025/04/05 23:13:04.538 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [op=none] [2025/04/05 23:09:24.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.538 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:24.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.036 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.096864ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.039 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:09:24.041 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.546963ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.052 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:09:24.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:13:04.545 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:24.078 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.078 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.083 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.74426ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.103 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:09:24.105 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.379114ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.115 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.126 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:13:04.546 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:24.127 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:09:24.139 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.139 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:09:24.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.145 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:24.160 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.483121ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.163 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.163 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:13:04.547 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:24.165 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=7.861015ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.547 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:13:04.548 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:24.174 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:24.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:13:04.566 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:13:04.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [Pipeline] { [2025/04/05 23:09:24.185 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:13:04.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:13:04.570 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:13:04.571 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:13:04.571 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:24.200 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.571 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:13:04.571 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:13:04.571 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:13:04.571 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:13:04.572 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:13:04.572 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:24.200 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:24.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:24.228 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.681039ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:24.232 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.573 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:24.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:13:04.573 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:13:04.573 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:24.233 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=9.421604ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:24.245 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:24.260 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:13:04.575 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:13:04.575 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0d2ca] [ownerID=29d58345-9d52-43aa-b363-0d11bae5180b] [op=none] [2025/04/05 23:13:04.575 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.575 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [ownerKey=/tidb/stats/owner/6f18960835b0d2ca] [currRev=1929] [2025/04/05 23:09:24.260 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:13:04.577 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/56e15526-4566-4ab2-b628-bb445601db22] [2025/04/05 23:09:24.274 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.578 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [ttl-worker=task-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [originalCount=0] [newCount=4] [2025/04/05 23:13:04.578 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [ttl-worker=task-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [originalCount=0] [newCount=4] [2025/04/05 23:13:04.578 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:09:24.274 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.578 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:13:04.579 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:13:04.579 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894784579207734 [2025/04/05 23:09:24.279 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.579 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:13:04.584 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:13:04.592 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.651071ms] [2025/04/05 23:09:24.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.030719ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:04.592 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:24.301 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:24.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:13:04.594 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:13:04.597 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=403] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:09:24.303 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.840788ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.610 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.314 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.327 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:13:04.610 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:09:24.327 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:13:04.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.633 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=2.206733ms] [gotSchemaVersion=404] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:24.344 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.637 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=404] [2025/04/05 23:13:04.639 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=404] ["take time"=10.041781ms] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.344 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:13:04.649 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.350 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.664 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=2.100269ms] [gotSchemaVersion=405] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:24.370 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.135519ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:04.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=405] [2025/04/05 23:09:24.374 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.374 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:13:04.669 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=405] ["take time"=8.934172ms] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.375 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.076965ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.386 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.682 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 419, Old Table Name: t1)"] [2025/04/05 23:09:24.394 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:24.395 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 23:13:04.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=1.019061ms] [gotSchemaVersion=406] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:24.400 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:13:04.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=406] [2025/04/05 23:09:24.400 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:13:04.701 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=406] ["take time"=7.859018ms] [job="ID:421, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.710 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=421] [tableIDs="[419]"] [comment="drop table: table ID"] [2025/04/05 23:09:24.413 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.716 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=421] [jobType="drop table"] [2025/04/05 23:13:04.717 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=421] [2025/04/05 23:13:04.736 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=406] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894784736338804 [2025/04/05 23:09:24.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=406] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 23:09:24.419 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.437 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.842298ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.440 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.440 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:13:04.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 23:13:04.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.442 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.76664ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.762 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 422, Table Name: t1)"] [2025/04/05 23:09:24.452 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=1.522446ms] [gotSchemaVersion=407] [phyTblIDs="[422]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.464 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:13:04.781 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=423] [version=407] [2025/04/05 23:09:24.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:13:04.783 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=9.121706ms] [job="ID:423, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.477 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.794 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.805 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=423] [2025/04/05 23:13:04.805 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=407] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/05 23:09:24.477 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.818 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.483 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/05 23:09:24.501 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.958406ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.504 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.824 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.504 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:13:04.828 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 424, Table Name: _t1)"] [2025/04/05 23:13:04.842 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.48872ms] [gotSchemaVersion=408] [phyTblIDs="[424]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.506 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.52138ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=425] [version=408] [2025/04/05 23:09:24.516 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:13:04.848 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=408] ["take time"=8.635803ms] [job="ID:425, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:04.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.529 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:13:04.859 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:04.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=425] [2025/04/05 23:13:04.870 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=408] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/05 23:13:04.888 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151554487844865] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.336031ms] [2025/04/05 23:09:24.541 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.889 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151554487844865] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=40.756µs] [2025/04/05 23:09:24.541 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.889 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.335043ms] [total_duration=6.984419ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457151554487844865] [2025/04/05 23:13:04.890 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151554487844865] [commitTS=457151554487844866] [2025/04/05 23:09:24.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.890 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151554487844865] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] [concurrency=8] [2025/04/05 23:09:24.565 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.874149ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.568 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151554487844865] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] ["cost time"=6.216261ms] ["completed regions"=1] [2025/04/05 23:09:24.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:13:04.896 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151554487844865] [commitTS=457151554487844866] [session=37] [2025/04/05 23:13:04.899 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151554487844868] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=802.061µs] [2025/04/05 23:09:24.569 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.268197ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.900 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:13:04.900 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457151554487844868] [startKey=7480000000000001a85f728000000000000002] [endKey=7480000000000001a85f728000000000000061] [concurrency=8] [2025/04/05 23:09:24.580 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.900 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:24.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:13:04.900 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [] [2025/04/05 23:13:04.900 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:13:04.900 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.900 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:24.592 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:13:04.900 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:24.594 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:13:04.900 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=67.833µs] [2025/04/05 23:13:04.900 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=39.819µs] [2025/04/05 23:09:24.606 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.901 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=34.901µs] [2025/04/05 23:13:04.901 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.901 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.902 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:13:04.902 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:13:04.902 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457151554487844868] [startKey=7480000000000001a85f728000000000000002] [endKey=7480000000000001a85f728000000000000061] ["cost time"=2.0349ms] ["completed regions"=1] [2025/04/05 23:09:24.606 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.902 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457151554487844868] [commitTS=0] [session=37] [2025/04/05 23:13:04.903 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=29d58345-9d52-43aa-b363-0d11bae5180b] ["take time"=2.987057ms] [2025/04/05 23:09:24.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.903 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.903 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:13:04.903 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/56e15526-4566-4ab2-b628-bb445601db22] [2025/04/05 23:09:24.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.424802ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.635 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:13:04.903 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [ttl-worker=task-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [originalCount=4] [newCount=0] [2025/04/05 23:13:04.903 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:13:04.903 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:13:04.903 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:13:04.903 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:24.637 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=9.281435ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.903 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [ttl-worker=task-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [originalCount=4] [newCount=0] [2025/04/05 23:13:04.906 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:13:04.906 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:24.648 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.906 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:24.662 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:13:04.906 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:13:04.909 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.909 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=860] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:24.662 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:24.678 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:24.678 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:24.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:24.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.411609ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:24.708 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:24.708 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:24.710 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.181962ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:24.721 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:24.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:24.736 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:24.751 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:13:04.911 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [2025/04/05 23:09:24.751 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:24.756 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:13:04.910 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:24.780 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.682417ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.784 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:24.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:13:04.911 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:13:04.910 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:13:04.911 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:24.786 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=10.433472ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.910 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:13:04.911 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:24.799 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.910 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [] [2025/04/05 23:09:24.814 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:13:04.911 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:13:04.911 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.911 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.911 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.912 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=540a88d9-9910-437e-a7f5-81590d0b3a48] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:24.814 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:13:04.912 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:13:04.912 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:13:04.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:24.833 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:04.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:13:04.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:13:04.912 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:13:04.912 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:13:04.912 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [error="context canceled"] [2025/04/05 23:13:04.912 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:13:04.912 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:13:04.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:13:04.913 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [error="context canceled"] [2025/04/05 23:13:04.913 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [2025/04/05 23:13:04.929 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:13:04.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:24.833 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:13:04.974 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=29d58345-9d52-43aa-b363-0d11bae5180b] [error="context canceled"] [2025/04/05 23:13:04.974 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:24.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:04.974 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:13:04.985 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.029498ms] [2025/04/05 23:09:24.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.546851ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.874 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:06.355 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:24.874 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:13:09.898 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151554487844865 commit_ts:457151554487844866 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:09:24.876 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=11.011403ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:09.898 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151554487844865 commit_ts:457151554487844866 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:09:24.889 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:09.898 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151554487844865 commit_ts:457151554487844866 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:09:24.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:13:09.903 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151554487844868 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:13:09.903 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151554487844868 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:13:09.903 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151554487844868 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:13:09.903 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:13:09.903 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:13:09.903 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:13:09.903 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:13:09.903 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:24.908 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:13:09.903 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:13:09.903 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:13:09.903 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:13:09.903 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:24.921 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:09.903 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:13:09.903 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:24.921 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:13:09.903 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:13:09.904 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.56s) === NAME === RUN TestRejectUnsupportedTables [2025/04/05 23:09:24.927 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:09.912 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:13:09.913 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 23:13:09.914 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969674571050868] [2025/04/05 23:09:24.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.733649ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:09.914 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:24.947 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:09.914 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 23:09:24.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:13:09.915 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:13:09.915 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:13:09.915 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:13:09.915 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:13:09.915 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:24.948 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.710528ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:09.915 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:13:09.922 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:13:09.927 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:24.958 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:09.928 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:24.969 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:13:09.928 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:24.969 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:13:09.937 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969674571050868] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:13:09.947 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:13:09.983 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=487] ["lease id"=6f18960835b0d2f1] [2025/04/05 23:13:09.985 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:24.986 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:13:10.071 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=408] ["elapsed time"=83.820859ms] [2025/04/05 23:13:10.071 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:13:10.074 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:24.986 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.079 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [runWorker=true] [jobVersion=v2] [2025/04/05 23:13:10.079 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:24.992 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.081 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.082 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:25.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.288122ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:25.017 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.082 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 133709557760/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:25.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:13:10.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:13:10.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:13:10.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:25.019 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.903729ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:13:10.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:13:10.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:25.030 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:25.044 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:13:10.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:13:10.083 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:13:10.083 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:25.058 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.083 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:13:10.083 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:13:10.083 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [2025/04/05 23:13:10.084 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0cc12] [ownerID=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [op=none] [2025/04/05 23:13:10.085 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:09:25.058 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:13:10.085 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [ownerKey=/tidb/ddl/fg/owner/2231960835b0cc12] [currRev=1960] [2025/04/05 23:13:10.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:25.064 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.085 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [daemon-id=LogBackup::Advancer] [2025/04/05 23:13:10.086 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835b0c50c] [ownerID=6b828aea-0cd1-4148-8660-15c5a044e1b4] [op=none] [2025/04/05 23:09:25.084 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.14872ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.087 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.086 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [2025/04/05 23:09:25.087 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:13:10.086 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [ownerKey=/tidb/br-stream/owner/3eaa960835b0c50c] [currRev=1960] [2025/04/05 23:13:10.086 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:25.089 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=8.824115ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.087 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835b0cc12] [ownerID=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [op=none] [2025/04/05 23:13:10.087 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [op=none] [2025/04/05 23:09:25.100 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.087 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:25.114 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:09:25.114 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:09:25.128 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.128 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:25.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.985016ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.162 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.094 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:25.162 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:09:25.164 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=15.335137ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.175 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.188 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:09:25.188 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:09:25.201 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.201 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:13:10.094 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:25.205 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.930723ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.227 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:09:25.229 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.621971ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.239 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.251 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:09:25.252 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:13:10.095 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:25.269 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.096 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:13:10.097 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:13:10.105 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:13:10.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:13:10.116 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:13:10.116 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:13:10.116 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:13:10.116 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:13:10.116 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:13:10.116 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:13:10.116 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:25.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:10.116 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:13:10.116 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:13:10.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:25.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.118 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:25.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.503076ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:25.308 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:25.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:13:10.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:13:10.119 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:25.310 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.331116ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:13:10.119 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:25.323 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.119 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:09:25.340 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:13:10.119 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:13:10.121 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:13:10.121 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835b0d305] [ownerID=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [op=none] [2025/04/05 23:13:10.121 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.121 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [ownerKey=/tidb/stats/owner/6f18960835b0d305] [currRev=1962] [2025/04/05 23:09:25.341 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:13:10.123 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6df94b2f-d2a4-4953-92e4-b495cde73e04] [2025/04/05 23:13:10.123 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [ttl-worker=task-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [originalCount=0] [newCount=4] [2025/04/05 23:09:25.357 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.123 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [ttl-worker=task-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [originalCount=0] [newCount=4] [2025/04/05 23:13:10.123 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:13:10.124 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:13:10.124 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894790124483057 [2025/04/05 23:13:10.124 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:13:10.129 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:25.357 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:13:10.137 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.31564ms] [2025/04/05 23:13:10.137 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:13:10.137 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:25.363 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.138 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:13:10.140 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 23:09:25.389 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.239611ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.142 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:09:25.393 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.393 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:13:10.155 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.394 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=10.050659ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.155 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 23:09:25.407 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.160 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.423 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:13:10.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=1.929214ms] [gotSchemaVersion=409] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:13:10.179 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=409] [2025/04/05 23:13:10.181 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=409] ["take time"=9.549614ms] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:13:10.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.441 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=1.866498ms] [gotSchemaVersion=410] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:13:10.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=410] [2025/04/05 23:13:10.212 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=9.434759ms] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.221 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.227 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 424, Old Table Name: _t1)"] [2025/04/05 23:09:25.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:10.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=1.060869ms] [gotSchemaVersion=411] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:13:10.244 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=411] [2025/04/05 23:09:25.448 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.637076ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.246 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=411] ["take time"=8.416845ms] [job="ID:426, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.480 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.255 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=426] [tableIDs="[424]"] [comment="drop table: table ID"] [2025/04/05 23:09:25.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:13:10.263 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=426] [jobType="drop table"] [2025/04/05 23:13:10.264 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.481 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.424641ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.282 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=426] [2025/04/05 23:09:25.494 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.512 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:13:10.294 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.294 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 23:13:10.300 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.512 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:13:10.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=1.922357ms] [gotSchemaVersion=412] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:13:10.319 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=412] [2025/04/05 23:09:25.529 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.321 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=412] ["take time"=9.605188ms] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.348 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=1.909493ms] [gotSchemaVersion=413] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:13:10.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=413] [2025/04/05 23:09:25.529 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:13:10.354 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=413] ["take time"=9.550886ms] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.536 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.779082ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.572 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.368 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 422, Old Table Name: t1)"] [2025/04/05 23:09:25.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:13:10.381 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.049287ms] [gotSchemaVersion=414] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:13:10.385 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=414] [2025/04/05 23:09:25.573 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.715305ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.387 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=414] ["take time"=8.511689ms] [job="ID:427, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.586 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.396 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=427] [tableIDs="[422]"] [comment="drop table: table ID"] [2025/04/05 23:09:25.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:13:10.401 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=427] [jobType="drop table"] [2025/04/05 23:13:10.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=427] [2025/04/05 23:13:10.420 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=414] [cur_db=test] [sql="drop table `_t1`,`t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743894790420350968 [2025/04/05 23:13:10.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=414] [cur_db=test] [sql="drop table if exists parent, child"] [user=] [2025/04/05 23:09:25.607 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:13:10.439 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/05 23:09:25.625 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.439 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.444 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.449 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 428, Table Name: parent)"] [2025/04/05 23:09:25.625 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:13:10.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=1.406868ms] [gotSchemaVersion=415] [phyTblIDs="[428]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=429] [version=415] [2025/04/05 23:09:25.631 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.468 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=8.70142ms] [job="ID:429, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.811199ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.666 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:13:10.479 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=429] [2025/04/05 23:13:10.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=415] [cur_db=test] [sql="create table parent(a int primary key)"] [user=] [2025/04/05 23:09:25.667 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.697733ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.504 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.681 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.700 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:13:10.504 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/05 23:13:10.510 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.526 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=1.512508ms] [gotSchemaVersion=416] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.530 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=416] [2025/04/05 23:09:25.700 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:13:10.531 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=416] ["take time"=8.687953ms] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.718 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.541 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.547 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 430, Table Name: child)"] [2025/04/05 23:13:10.561 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=1.52138ms] [gotSchemaVersion=417] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.565 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=417] [2025/04/05 23:09:25.718 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:13:10.567 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=417] ["take time"=8.912017ms] [job="ID:431, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.725 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.577 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.589 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=431] [2025/04/05 23:09:25.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.438709ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.756 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.589 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create table child(a int, foreign key (a) references parent(a))"] [user=] [2025/04/05 23:09:25.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:13:10.591 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151555982065673] [2025/04/05 23:13:10.602 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:25.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=9.930985ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.602 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=417] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent` (`a`))"] [session="{\n \"currDBName\": \"test\",\n \"id\": 39,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:13:10.605 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151555982065680] [2025/04/05 23:09:25.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151555982065683] [2025/04/05 23:09:25.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:13:10.626 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151555982065686] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=865.715µs] [2025/04/05 23:13:10.626 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=945.279µs] [total_duration=1.287458ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457151555982065686] [2025/04/05 23:13:10.627 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151555982065686] [commitTS=457151555982065687] [2025/04/05 23:13:10.627 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457151555982065686] [startKey=7480000000000001ac5f728000000000000004] [endKey=7480000000000001ac5f728000000000000004] [2025/04/05 23:09:25.786 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:13:10.627 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457151555982065686] [commitTS=457151555982065687] [session=39] [2025/04/05 23:09:25.802 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.631 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457151555982065688] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=2.157376ms] [2025/04/05 23:13:10.631 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=2.255632ms] [total_duration=2.667649ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457151555982065688] [2025/04/05 23:13:10.632 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457151555982065688] [commitTS=457151555982065689] [2025/04/05 23:13:10.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457151555982065688] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] [concurrency=8] [2025/04/05 23:13:10.635 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457151555982065688] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] ["cost time"=2.516476ms] ["completed regions"=1] [2025/04/05 23:09:25.802 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:13:10.635 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457151555982065688] [commitTS=457151555982065689] [session=39] [2025/04/05 23:09:25.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.637 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create temporary table temp(a int)"] [user=] [2025/04/05 23:09:25.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.842039ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.837 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.653 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.837 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:13:10.653 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/05 23:09:25.839 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=10.231014ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.659 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.851 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.664 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 433, Table Name: cached)"] [2025/04/05 23:09:25.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:13:10.677 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=1.435939ms] [gotSchemaVersion=418] [phyTblIDs="[433]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=418] [2025/04/05 23:13:10.683 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=418] ["take time"=8.83424ms] [job="ID:434, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.867 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:13:10.694 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.705 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=434] [2025/04/05 23:09:25.883 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.705 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=418] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/05 23:13:10.722 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/05 23:13:10.722 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.883 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:13:10.728 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.620573ms] [gotSchemaVersion=419] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/05 23:13:10.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=419] [2025/04/05 23:09:25.913 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.923146ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.917 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.917 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:13:10.750 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=419] ["take time"=9.718379ms] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.760 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.918 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.536169ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.775 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=1.697811ms] [gotSchemaVersion=420] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/05 23:13:10.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=420] [2025/04/05 23:09:25.930 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.946 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:13:10.781 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=420] ["take time"=9.236853ms] [job="ID:435, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.790 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 23:13:10.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.801 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=435] [2025/04/05 23:09:25.946 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:13:10.801 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=420] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/05 23:13:10.817 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [] [2025/04/05 23:13:10.817 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:25.965 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:13:10.817 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:13:10.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=47.069µs] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=39.102µs] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=29.915µs] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=37.343µs] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=33.569µs] [2025/04/05 23:13:10.817 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=31.588µs] [2025/04/05 23:13:10.817 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:09:25.966 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:13:10.817 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.818 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:13:10.818 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:13:10.820 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] ["take time"=3.639067ms] [2025/04/05 23:09:25.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.820 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.820 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:26.008 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.902981ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.820 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6df94b2f-d2a4-4953-92e4-b495cde73e04] [2025/04/05 23:09:26.011 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:13:10.820 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [ttl-worker=task-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [originalCount=4] [newCount=0] [2025/04/05 23:13:10.821 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:13:10.821 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:13:10.821 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:13:10.821 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:26.013 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=11.087912ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.821 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [ttl-worker=task-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [originalCount=4] [newCount=0] [2025/04/05 23:13:10.823 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:26.027 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.823 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:26.045 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:13:10.823 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:13:10.823 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:13:10.825 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.825 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=487] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:26.046 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:13:10.826 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [2025/04/05 23:09:26.061 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:26.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:26.061 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:26.067 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:26.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.784154ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:26.094 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:26.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:13:10.827 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:26.095 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.436653ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:26.107 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:26.122 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:13:10.826 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [2025/04/05 23:13:10.827 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:13:10.827 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [] [2025/04/05 23:13:10.827 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [2025/04/05 23:13:10.827 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:09:26.122 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:13:10.827 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:26.135 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:10.827 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:26.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:10.826 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:13:10.827 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:26.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.827 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:13:10.827 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:26.158 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.961727ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:26.161 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:26.162 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:13:10.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:13:10.827 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:10.827 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:26.163 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.318104ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:26.173 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:26.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:13:10.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:13:10.826 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:13:10.828 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6b828aea-0cd1-4148-8660-15c5a044e1b4] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.185 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:13:10.828 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:13:10.828 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:13:10.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:26.198 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:26.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:10.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:13:10.828 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:13:10.828 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:13:10.828 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [error="context canceled"] [2025/04/05 23:13:10.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:13:10.828 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:26.198 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:13:10.828 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:13:10.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:13:10.829 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [error="context canceled"] [2025/04/05 23:09:26.203 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.829 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [2025/04/05 23:09:26.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.201076ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.226 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:10.829 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [error="context canceled"] [2025/04/05 23:09:26.226 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:09:26.227 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.58978ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.829 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=aee84a7b-a724-4d01-aa0d-e4ee9dc5e722] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:26.238 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:10.846 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:26.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:13:10.846 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:13:10.888 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:13:10.888 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:13:10.899 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.478083ms] [2025/04/05 23:09:26.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:09:26.252 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:13:11.922 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:13:15.628 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151555982065686 commit_ts:457151555982065687 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:09:26.264 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:13:15.628 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151555982065686 commit_ts:457151555982065687 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:13:15.628 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151555982065686 commit_ts:457151555982065687 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:09:26.264 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:13:15.636 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457151555982065688 commit_ts:457151555982065689 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 23:13:15.636 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20162] [status="start_ts:457151555982065688 commit_ts:457151555982065689 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 23:09:26.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:15.636 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20160] [status="start_ts:457151555982065688 commit_ts:457151555982065689 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 23:09:26.288 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.163763ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:13:15.636 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:26.292 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:13:15.636 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:26.292 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:13:15.636 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:13:15.636 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:13:15.636 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:13:15.636 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:13:15.636 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:26.293 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.645455ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:13:15.636 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:13:15.636 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:13:15.636 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:26.304 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.317 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:13:15.636 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:13:15.636 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:13:15.638 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.73s) === NAME PASS ================================================================================ [2025/04/05 23:09:26.317 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:09:26.328 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:09:26.328 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.346 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=638.243µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:26.349 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.349 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:09:26.351 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.272303ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.361 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:09:26.370 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:09:26.384 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.384 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:09:26.389 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.402 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:26.402 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:26.402 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:26.402 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:26.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.906848ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:26.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:09:26.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.189646ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.422 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.434 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:09:26.450 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.450 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:09:26.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.481 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.073246ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.484 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.485 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:09:26.486 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.675453ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.498 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.514 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:09:26.515 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:09:26.529 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.529 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:09:26.535 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.555 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.218947ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.559 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:09:26.560 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=9.26487ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.572 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.584 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:09:26.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:09:26.599 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.599 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:09:26.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.265524ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.629 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.629 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:09:26.630 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.718668ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.641 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.654 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:09:26.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:09:26.801 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.402843847s] [2025/04/05 23:09:26.803 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:26.803 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [] [2025/04/05 23:09:26.803 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:26.804 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:26.804 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=38.851µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=32.769µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=28.212µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=35.292µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=29.413µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=31.274µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=37.111µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=29.128µs] [2025/04/05 23:09:26.804 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=26.251µs] [2025/04/05 23:09:26.805 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=27.177µs] [2025/04/05 23:09:26.805 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:26.805 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:26.806 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:26.806 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:26.816 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] ["take time"=12.812846ms] [2025/04/05 23:09:26.816 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:26.817 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=96] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:26.817 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:26.817 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:26.817 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:26.817 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:26.817 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [2025/04/05 23:09:26.817 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:26.817 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:26.817 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [2025/04/05 23:09:26.817 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:26.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:26.819 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=eae05eee-6726-495c-8bb4-b26d6ca4ee24] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.819 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:26.819 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:26.819 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:26.819 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:26.819 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:26.819 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:26.819 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:26.823 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.698566ms] [2025/04/05 23:09:26.823 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969667149752382] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:26.832 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:26.876 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=548] ["lease id"=2231960835ae745e] [2025/04/05 23:09:26.878 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:26.997 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.571984ms] [2025/04/05 23:09:26.998 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:27.006 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:27.007 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:27.008 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [lease=2231960835ae73f1] [2025/04/05 23:09:27.008 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:27.009 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237099859968/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:27.009 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:27.009 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:27.009 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [2025/04/05 23:09:27.011 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835ae73f1] [ownerID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] [2025/04/05 23:09:27.011 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] Target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test up-to-date: [2025/04/05 23:09:27.011 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ownerKey=/tidb/ddl/fg/owner/2231960835ae73f1] [currRev=273] bazel-bin/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test INFO: Elapsed time: 30.915s, Critical Path: 14.10s INFO: 4571 processes: 4558 remote cache hit, 13 internal. [2025/04/05 23:09:27.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (cached) PASSED in 119.1s [2025/04/05 23:09:27.012 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [daemon-id=LogBackup::Advancer] PASSED pipelineddmltest_test.TestConflictError (5.6s) PASSED pipelineddmltest_test.TestDuplicateKeyErrorMessage (5.6s) [2025/04/05 23:09:27.013 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] PASSED pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate (5.5s) PASSED pipelineddmltest_test.TestPipelinedDMLCommitFailed (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLCommitSkipSecondaries (1.3s) [2025/04/05 23:09:27.013 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960835ae7f5d] [ownerID=d64fc3cf-e825-4157-ac4f-dfb859744727] [op=none] PASSED pipelineddmltest_test.TestPipelinedDMLDelete (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLDisableRetry (6.1s) [2025/04/05 23:09:27.013 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] PASSED pipelineddmltest_test.TestPipelinedDMLInsert (6.0s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertIgnore (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.2s) [2025/04/05 23:09:27.013 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [ownerKey=/tidb/br-stream/owner/6f18960835ae7f5d] [currRev=274] PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertRPC (9.6s) PASSED pipelineddmltest_test.TestPipelinedDMLNegative (0.6s) [2025/04/05 23:09:27.013 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960835ae73f1] [ownerID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] PASSED pipelineddmltest_test.TestPipelinedDMLPositive (25.8s) PASSED pipelineddmltest_test.TestPipelinedDMLUpdate (6.2s) PASSED pipelineddmltest_test.TestRejectUnsupportedTables (5.7s) [2025/04/05 23:09:27.013 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] PASSED pipelineddmltest_test.TestReplaceRowCheck (5.9s) PASSED pipelineddmltest_test.TestVariable (5.9s) [2025/04/05 23:09:27.013 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] Test cases: finished with 18 passing and 0 failing out of 18 test cases Executed 0 out of 1 test: 1 test passes. [2025/04/05 23:09:27.019 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:27.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:27.021 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"]  [2025/04/05 23:09:27.022 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/2231960835ae7468] [ownerID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] [2025/04/05 23:09:27.023 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:27.023 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ownerKey=/tidb/bindinfo/owner/2231960835ae7468] [currRev=275] [2025/04/05 23:09:27.028 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:09:27.031 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:27.032 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:27.038 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:27.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:27.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:27.045 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:27.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:27.045 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:27.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:27.045 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:27.045 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:27.045 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:27.046 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:27.046 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:27.047 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:27.047 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:27.047 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:27.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:27.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:27.049 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960835ae7f61] [ownerID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [op=none] [2025/04/05 23:09:27.049 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:27.049 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ownerKey=/tidb/stats/owner/6f18960835ae7f61] [currRev=276] [2025/04/05 23:09:27.049 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:09:27.051 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/0b7bc18a-3392-480f-a02f-a380d4f9a68c] [2025/04/05 23:09:27.052 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ttl-worker=task-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [originalCount=0] [newCount=4] [2025/04/05 23:09:27.052 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ttl-worker=task-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [originalCount=0] [newCount=4] [2025/04/05 23:09:27.052 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:27.054 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:27.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:27.060 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:27.060 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894567060795655 [2025/04/05 23:09:27.062 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:27.069 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.103304ms] [2025/04/05 23:09:27.069 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:27.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:27.079 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894567081406583 [2025/04/05 23:09:27.106 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === RUN TestImportInto/TestGzipAndMixedCompression [2025/04/05 23:09:27.109 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gzip"] [user=] [2025/04/05 23:09:27.120 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.120 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gzip"] [2025/04/05 23:09:27.125 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.220 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=81.008881ms] [2025/04/05 23:09:27.220 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:09:27.220 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:27.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:09:27.226 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=88.460801ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:09:27.246 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gzip"] [user=] [2025/04/05 23:09:27.259 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.259 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/05 23:09:27.264 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.269 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/05 23:09:27.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.366606ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.286 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 23:09:27.288 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=7.853526ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.298 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 23:09:27.309 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gzip] [sql="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/05 23:09:27.513 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:27.569 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:27.593 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:28.016 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:28.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:28.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:28.016 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:28.052 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:28.052 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:28.052 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/0b7bc18a-3392-480f-a02f-a380d4f9a68c] [watcherID=9dd438dc-2abf-44f6-a68d-c32d66a2edc5] [2025/04/05 23:09:28.060 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:28.065 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/05 23:09:28.065 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:28.065 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:28.065 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:28.065 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:28.080 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:28.080 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:28.182 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:28.183 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:28.184 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/05 23:09:28.192 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.204 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:28.204 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/05 23:09:28.204 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=104.109µs] [2025/04/05 23:09:28.204 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=275.827µs] [] [2025/04/05 23:09:28.205 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:28.205 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:28.243 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:28.263 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 23:09:28.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:28.264 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/05 23:09:28.272 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:28.272 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:28.273 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.273 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:28.273 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.273 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.273 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.273 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.273 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.274 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.288 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:28.288 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/05 23:09:28.290 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:28.290 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:28.290 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:28.290 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:28.290 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/05 23:09:28.306 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/05 23:09:28.306 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/05 23:09:28.308 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 23:09:28.332 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 23:09:28.335 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:28.335 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 23:09:28.339 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [2025/04/05 23:09:28.339 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [readDur=77.967µs] [encodeDur=123.041µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=23.662µs] [type=file] [takeTime=580.057µs] [] [2025/04/05 23:09:28.340 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 23:09:28.340 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=976] [file=/tmp/tidb/import-4000/1/a44d817b-cb07-5b2e-a759-37c0e04df925.sst/ed4c97ed-1736-4c80-b04b-9a718c47e0fe.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000002] [2025/04/05 23:09:28.356 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [2025/04/05 23:09:28.357 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [readDur=79.089µs] [encodeDur=192.935µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=20.709µs] [type=file] [takeTime=485.681µs] [] [2025/04/05 23:09:28.357 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 23:09:28.357 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=976] [file=/tmp/tidb/import-4000/1/a44d817b-cb07-5b2e-a759-37c0e04df925.sst/995d2406-1704-4dca-9de3-ca27c29921fd.sst] [firstKey=7480000000000000725F728000000000000003] [lastKey=7480000000000000725F728000000000000004] [2025/04/05 23:09:28.437 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [2025/04/05 23:09:28.439 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [readDur=1.074059ms] [encodeDur=227.612µs] [checksum="{cksum=17289666951678080828,size=165,kvs=5}"] [deliverDur=31.264µs] [type=file] [takeTime=1.647232ms] [] [2025/04/05 23:09:28.440 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=165] [kvs=5] [files=1] [sstFileSize=1005] [file=/tmp/tidb/import-4000/1/a44d817b-cb07-5b2e-a759-37c0e04df925.sst/7a495c62-0c67-4289-adc3-72ca7bcb9b5e.sst] [firstKey=7480000000000000725F728000000000000005] [lastKey=7480000000000000725F728000000000000009] [2025/04/05 23:09:28.440 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 23:09:28.440 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 23:09:28.440 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 23:09:28.442 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.82157ms] [] [2025/04/05 23:09:28.442 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/05 23:09:28.446 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:28.468 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=9] [size=297] [2025/04/05 23:09:28.468 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:28.471 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff00000a0000000000fa] [2025/04/05 23:09:28.482 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=297] [kvs=9] [importedSize=297] [importedCount=9] [2025/04/05 23:09:28.484 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [takeTime=41.740185ms] [] [2025/04/05 23:09:28.484 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 23:09:28.485 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.235107ms] [] [2025/04/05 23:09:28.485 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 23:09:28.485 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:28.487 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.4821ms] [] [2025/04/05 23:09:28.487 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/05 23:09:28.490 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:28.491 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [takeTime=3.568986ms] [] [2025/04/05 23:09:28.491 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:28.492 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=985.248µs] [] [2025/04/05 23:09:28.492 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=185.35907ms] [] [2025/04/05 23:09:28.492 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=185.521377ms] [] [2025/04/05 23:09:28.587 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:28.588 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:28.589 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:28.589 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:28.617 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 23:09:28.618 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:28.619 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:28.640 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:28.640 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 23:09:28.642 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.642 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.642 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.642 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.642 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.642 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.642 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.642 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.642 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.642 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.643 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.643 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.644 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:28.644 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.644 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.644 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.644 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=354.473557ms] [] [2025/04/05 23:09:28.644 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:28.651 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:28.671 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:28.678 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/05 23:09:28.678 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 23:09:28.678 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 23:09:28.678 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 23:09:28.678 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.168µs] [] [2025/04/05 23:09:28.678 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=297] [kvs=9] [checksum=8090491426016633849] [2025/04/05 23:09:28.678 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/05 23:09:28.679 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/05 23:09:28.679 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/05 23:09:28.680 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=8090491426016633849] [totalKvs=9] [totalBytes=297] [2025/04/05 23:09:28.681 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:28.681 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/05 23:09:28.681 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.61762ms] [] [2025/04/05 23:09:28.681 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.751178ms] [] [2025/04/05 23:09:28.681 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [takeTime=2.882882ms] [] [2025/04/05 23:09:28.688 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:28.786 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:28.786 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/05 23:09:28.789 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 23:09:28.816 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=144.784458ms] [] [2025/04/05 23:09:28.816 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:28.883 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:28.888 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:28.888 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:28.913 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:29.009 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:29.110 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.796037171\n# Parse_time: 0.000175233\n# Compile_time: 0.000412678\n# Rewrite_time: 0.000081754\n# Optimize_time: 0.00007473\n# Wait_TS: 0\n# DB: gzip\n# Is_internal: false\n# Digest: 02e1b2d9d9874751320f59169ed0a406a64b5cdb2070fc8823e8eb2bfabb7ffa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuOHMsIG9wZW46ODQwbnMsIGNsb3NlOjk1OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuOHMsIG9wZW46ODQwbnMsIGNsb3NlOjk1OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gzip;\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 23:09:29.125 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.125 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table gzip.t"] [2025/04/05 23:09:29.130 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.138 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/05 23:09:29.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.439198ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:29.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/05 23:09:29.157 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=8.540448ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.169 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/05 23:09:29.176 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/05 23:09:29.177 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.195 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 23:09:29.195 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="truncate table gzip.t"] [user=] [2025/04/05 23:09:29.208 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.270 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:29.290 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:29.304 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:29.304 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:29.407 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:29.408 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:29.409 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/05 23:09:29.417 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.430 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:29.430 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/05 23:09:29.430 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=112.5µs] [2025/04/05 23:09:29.430 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=271.941µs] [] [2025/04/05 23:09:29.430 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:29.430 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:29.465 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:29.484 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 23:09:29.485 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:29.492 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:29.492 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:29.493 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:29.493 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:29.493 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:29.493 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:29.493 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:29.493 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:29.494 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:29.494 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:29.506 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:29.509 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:29.509 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:29.509 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:29.509 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/05 23:09:29.509 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:29.514 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/05 23:09:29.517 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/05 23:09:29.517 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/05 23:09:29.521 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 23:09:29.525 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:29.525 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 23:09:29.529 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [2025/04/05 23:09:29.530 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [readDur=37.602µs] [encodeDur=85.4µs] [checksum="{cksum=7821157384024914867,size=33,kvs=1}"] [deliverDur=591.085µs] [type=file] [takeTime=1.107131ms] [] [2025/04/05 23:09:29.531 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 23:09:29.531 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=924] [file=/tmp/tidb/import-4000/2/a44d817b-cb07-5b2e-a759-37c0e04df925.sst/1c1c6d40-7d8d-4c7e-9fd7-4abd4ddfd721.sst] [firstKey=7480000000000000745F728000000000000002] [lastKey=7480000000000000745F728000000000000002] [2025/04/05 23:09:29.534 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [2025/04/05 23:09:29.534 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [readDur=43.727µs] [encodeDur=81.178µs] [checksum="{cksum=8469875042060741206,size=33,kvs=1}"] [deliverDur=38.402µs] [type=file] [takeTime=374.709µs] [] [2025/04/05 23:09:29.535 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 23:09:29.535 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 23:09:29.535 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=924] [file=/tmp/tidb/import-4000/2/a44d817b-cb07-5b2e-a759-37c0e04df925.sst/c279373b-e489-4b1b-92f3-52a51ff7037b.sst] [firstKey=7480000000000000745F728000000000000004] [lastKey=7480000000000000745F728000000000000004] [2025/04/05 23:09:29.538 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [2025/04/05 23:09:29.539 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [readDur=86.709µs] [encodeDur=625.523µs] [checksum="{cksum=0,size=132,kvs=4}"] [deliverDur=24.393µs] [type=file] [takeTime=944.371µs] [] [2025/04/05 23:09:29.540 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=132] [kvs=4] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/2/a44d817b-cb07-5b2e-a759-37c0e04df925.sst/24486462-c485-417a-b5fe-eaf01fd4febe.sst] [firstKey=7480000000000000745F728000000000000006] [lastKey=7480000000000000745F728000000000000009] [2025/04/05 23:09:29.540 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:29.540 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:29.540 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 23:09:29.542 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.81754ms] [] [2025/04/05 23:09:29.542 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/05 23:09:29.546 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:29.567 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=6] [size=198] [2025/04/05 23:09:29.568 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:29.570 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000002] [endOfAllRanges=7480000000000000745f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000020000000000fa] [endKeyOfLastRegion=7480000000000000ff745f728000000000ff00000a0000000000fa] [2025/04/05 23:09:29.582 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=198] [kvs=6] [importedSize=198] [importedCount=6] [2025/04/05 23:09:29.584 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [takeTime=41.962491ms] [] [2025/04/05 23:09:29.584 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 23:09:29.585 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.10225ms] [] [2025/04/05 23:09:29.585 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:29.585 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:29.587 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.458185ms] [] [2025/04/05 23:09:29.587 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/05 23:09:29.591 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:29.591 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [takeTime=4.656241ms] [] [2025/04/05 23:09:29.591 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 23:09:29.592 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=896.725µs] [] [2025/04/05 23:09:29.593 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=75.354846ms] [] [2025/04/05 23:09:29.593 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=75.49758ms] [] [2025/04/05 23:09:29.611 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:29.612 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:29.613 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:29.614 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:29.642 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:29.643 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:29.643 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:29.679 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:29.685 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 23:09:29.687 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:29.687 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:29.687 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:29.687 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:29.687 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:29.687 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:29.688 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:29.688 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.688 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:29.688 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.688 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.688 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:29.689 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:29.689 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.689 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.689 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.690 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=180.428802ms] [] [2025/04/05 23:09:29.691 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:29.698 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/05 23:09:29.698 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 23:09:29.698 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 23:09:29.698 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 23:09:29.698 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.197µs] [] [2025/04/05 23:09:29.698 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=198] [kvs=6] [checksum=1801826099013898725] [2025/04/05 23:09:29.698 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/05 23:09:29.698 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/05 23:09:29.698 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/05 23:09:29.700 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=1801826099013898725] [totalKvs=6] [totalBytes=198] [2025/04/05 23:09:29.700 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:29.700 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/05 23:09:29.700 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.508907ms] [] [2025/04/05 23:09:29.700 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.658306ms] [] [2025/04/05 23:09:29.700 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [takeTime=2.784756ms] [] [2025/04/05 23:09:29.706 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:29.711 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:29.711 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 23:09:29.714 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 23:09:29.727 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=36.261474ms] [] [2025/04/05 23:09:29.727 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 23:09:29.806 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:29.812 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:29.812 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:29.831 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:29.906 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.710942298\n# Parse_time: 0.000125746\n# Compile_time: 0.005223141\n# Rewrite_time: 0.000105458\n# Optimize_time: 0.000224976\n# Wait_TS: 0\n# DB: gzip\n# Is_internal: false\n# Digest: 9d7b6c5838ea9d605d5f2b69162f5d53aa0ade450435a07a64b60325ed206bb4\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjcwNC45bXMsIG9wZW46NjkzbnMsIGNsb3NlOjc3Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjcwNC45bXMsIG9wZW46NjkzbnMsIGNsb3NlOjc3Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH skip_rows=1, thread=1;"] --- PASS: TestImportInto/TestGzipAndMixedCompression (2.80s) === NAME TestImportInto === RUN TestImportInto/TestImportFromServer [2025/04/05 23:09:29.911 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="drop database if exists from_server"] [user=] [2025/04/05 23:09:29.922 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.922 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_server"] [2025/04/05 23:09:29.927 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.940 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=614.011µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:29.943 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/05 23:09:29.945 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=7.143455ms] [job="ID:119, Type:create schema, State:done, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.954 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:synced, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.963 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 23:09:29.964 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gzip] [sql="create database from_server"] [user=] [2025/04/05 23:09:29.977 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.977 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100));"] [2025/04/05 23:09:29.982 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.986 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/05 23:09:30.001 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.440693ms] [gotSchemaVersion=60] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.005 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/05 23:09:30.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=8.625543ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.017 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.028 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/05 23:09:30.028 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=from_server] [sql="create table t (a bigint, b varchar(100));"] [user=] [2025/04/05 23:09:30.050 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 23:09:30.050 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:09:30.072 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer2084208588/001/server-0.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:30.073 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:30.073 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 23:09:30.073 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=58.254µs] [2025/04/05 23:09:30.073 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=168.454µs] [] [2025/04/05 23:09:30.091 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=18B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:09:30.104 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:30.104 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:30.206 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:30.207 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:30.208 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/05 23:09:30.215 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:30.215 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:09:30.253 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:09:30.273 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 23:09:30.279 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:30.280 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:30.280 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.280 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:30.280 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.280 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.280 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.280 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.281 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.281 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.293 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:30.295 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:30.295 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:30.295 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:30.295 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:09:30.295 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/05 23:09:30.303 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/05 23:09:30.303 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/05 23:09:30.307 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:30.310 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:30.311 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=120] [2025/04/05 23:09:30.311 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [2025/04/05 23:09:30.312 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [readDur=69.993µs] [encodeDur=196.189µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=220.673µs] [type=file] [takeTime=801.028µs] [] [2025/04/05 23:09:30.312 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/05 23:09:30.313 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/3/490acc05-2370-5ec4-8393-939390984a58.sst/4f34b6ea-6a58-41df-9b33-bf591483c5a0.sst] [firstKey=7480000000000000785F728000000000000001] [lastKey=7480000000000000785F728000000000000002] [2025/04/05 23:09:30.313 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:30.313 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:30.313 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:30.315 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.793178ms] [] [2025/04/05 23:09:30.315 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/05 23:09:30.319 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.331 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 23:09:30.341 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=76] [2025/04/05 23:09:30.341 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.343 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f728000000000000001] [endOfAllRanges=7480000000000000785f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff785f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff785f728000000000ff0000030000000000fa] [2025/04/05 23:09:30.356 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/05 23:09:30.358 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [takeTime=43.381778ms] [] [2025/04/05 23:09:30.358 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:30.360 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.195805ms] [] [2025/04/05 23:09:30.360 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:30.360 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:30.361 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.65103ms] [] [2025/04/05 23:09:30.361 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/05 23:09:30.365 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:30.365 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [takeTime=3.654033ms] [] [2025/04/05 23:09:30.365 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:30.366 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=827.326µs] [] [2025/04/05 23:09:30.366 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=63.281725ms] [] [2025/04/05 23:09:30.366 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=63.5495ms] [] [2025/04/05 23:09:30.411 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:30.412 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:30.413 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:30.413 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:30.443 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:09:30.444 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:30.444 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:30.470 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:30.477 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 23:09:30.479 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.479 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.479 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.479 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.479 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.479 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.479 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.479 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.479 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.479 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.479 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.479 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.481 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:30.481 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.481 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.481 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.481 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=186.250959ms] [] [2025/04/05 23:09:30.483 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:09:30.490 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/05 23:09:30.490 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 23:09:30.490 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 23:09:30.490 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 23:09:30.495 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=5.554676ms] [] [2025/04/05 23:09:30.496 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=76] [kvs=2] [checksum=4217614283895359297] [2025/04/05 23:09:30.496 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/05 23:09:30.496 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/05 23:09:30.496 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/05 23:09:30.497 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=120] [physicalTableID=120] [indexID=-1] [checksum=4217614283895359297] [totalKvs=2] [totalBytes=76] [2025/04/05 23:09:30.498 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:30.498 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/05 23:09:30.498 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=7.917834ms] [] [2025/04/05 23:09:30.498 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.065775ms] [] [2025/04/05 23:09:30.498 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [takeTime=8.223481ms] [] [2025/04/05 23:09:30.505 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:30.512 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:30.512 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/05 23:09:30.514 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 23:09:30.543 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=60.300452ms] [] [2025/04/05 23:09:30.543 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 23:09:30.606 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:30.612 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:30.612 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:30.632 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:30.708 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.679255264\n# Parse_time: 0.000061558\n# Compile_time: 0.000413173\n# Rewrite_time: 0.000108139\n# Optimize_time: 0.000275501\n# Wait_TS: 0\n# DB: from_server\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OC41bXMsIG9wZW46NjE0bnMsIGNsb3NlOjc3Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY3OC41bXMsIG9wZW46NjE0bnMsIGNsb3NlOjc3Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse from_server;\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer2084208588/001/server-0.csv';"] [2025/04/05 23:09:30.722 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:09:30.722 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.727 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.735 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 122, Table Name: t, Old Table ID: 120, Old Table Name: t)"] [2025/04/05 23:09:30.748 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.433456ms] [gotSchemaVersion=61] [phyTblIDs="[120,122]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:30.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/05 23:09:30.753 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=8.194454ms] [job="ID:123, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.764 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[120]"] [comment="truncate table: table ID"] [2025/04/05 23:09:30.769 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="truncate table"] [2025/04/05 23:09:30.770 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 23:09:30.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/05 23:09:30.833 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer2084208588/001/server-*.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:30.833 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:30.833 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=54] [2025/04/05 23:09:30.833 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=54] [cost=98.048µs] [2025/04/05 23:09:30.833 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=222.293µs] [] [2025/04/05 23:09:30.852 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=54B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:09:30.865 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:30.865 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:30.967 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:30.969 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:30.970 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/05 23:09:30.978 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:30.978 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:09:31.013 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:09:31.033 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 23:09:31.040 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:31.040 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:31.041 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:31.041 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:31.041 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:31.041 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:31.041 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:31.041 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:31.042 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:31.042 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:31.055 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:31.057 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:31.057 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:31.057 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:31.057 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/05 23:09:31.057 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:09:31.065 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/05 23:09:31.065 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/05 23:09:31.069 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:31.073 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.073 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:31.073 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:31.073 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 23:09:31.079 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/05 23:09:31.091 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [2025/04/05 23:09:31.091 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [2025/04/05 23:09:31.091 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [2025/04/05 23:09:31.092 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [readDur=67.612µs] [encodeDur=221.519µs] [checksum="{cksum=8740164075696154046,size=76,kvs=2}"] [deliverDur=232.06µs] [type=file] [takeTime=865.383µs] [] [2025/04/05 23:09:31.092 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [readDur=112.879µs] [encodeDur=264.982µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=305.788µs] [type=file] [takeTime=1.096383ms] [] [2025/04/05 23:09:31.092 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/4/490acc05-2370-5ec4-8393-939390984a58.sst/ed8a39e9-61bb-4835-b38b-c3ed1309500e.sst] [firstKey=74800000000000007A5F72800000000000000A] [lastKey=74800000000000007A5F72800000000000000B] [2025/04/05 23:09:31.092 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [readDur=101.583µs] [encodeDur=669.953µs] [checksum="{cksum=13627491968562561727,size=76,kvs=2}"] [deliverDur=284.088µs] [type=file] [takeTime=1.325546ms] [] [2025/04/05 23:09:31.093 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:31.093 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:31.093 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:31.093 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/4/490acc05-2370-5ec4-8393-939390984a58.sst/d85d4cfe-3310-48a1-bcc9-b815301cece0.sst] [firstKey=74800000000000007A5F728000000000000001] [lastKey=74800000000000007A5F728000000000000002] [2025/04/05 23:09:31.095 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/4/490acc05-2370-5ec4-8393-939390984a58.sst/4e44af6d-beaf-4b9b-9de6-4e3a3e99fb54.sst] [firstKey=74800000000000007A5F728000000000000013] [lastKey=74800000000000007A5F728000000000000014] [2025/04/05 23:09:31.097 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=3.345314ms] [] [2025/04/05 23:09:31.097 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/05 23:09:31.101 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:31.112 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 23:09:31.124 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=6] [size=228] [2025/04/05 23:09:31.124 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:31.125 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000001] [endOfAllRanges=74800000000000007a5f728000000000000015] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7a5f728000000000ff0000150000000000fa] [2025/04/05 23:09:31.136 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/05 23:09:31.138 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [takeTime=40.91682ms] [] [2025/04/05 23:09:31.138 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:31.139 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.218909ms] [] [2025/04/05 23:09:31.139 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:31.139 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.141 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.598156ms] [] [2025/04/05 23:09:31.141 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/05 23:09:31.145 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.145 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [takeTime=4.419474ms] [] [2025/04/05 23:09:31.145 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.147 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.381869ms] [] [2025/04/05 23:09:31.147 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=82.223099ms] [] [2025/04/05 23:09:31.148 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=82.763073ms] [] [2025/04/05 23:09:31.172 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:31.173 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:31.174 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:31.174 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:31.203 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 23:09:31.204 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:31.204 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:31.229 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:31.236 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 23:09:31.238 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:31.238 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:31.238 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:31.238 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:31.238 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:31.238 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:31.238 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:31.238 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:31.238 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:31.238 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:31.238 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:31.238 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:31.240 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:31.240 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:31.240 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:31.240 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:31.240 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=182.913811ms] [] [2025/04/05 23:09:31.242 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:09:31.249 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/05 23:09:31.249 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 23:09:31.249 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 23:09:31.249 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 23:09:31.255 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.93635ms] [] [2025/04/05 23:09:31.255 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=228] [kvs=6] [checksum=18361781019534991424] [2025/04/05 23:09:31.255 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/05 23:09:31.255 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/05 23:09:31.255 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/05 23:09:31.257 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=18361781019534991424] [totalKvs=6] [totalBytes=228] [2025/04/05 23:09:31.257 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:31.257 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/05 23:09:31.257 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.464711ms] [] [2025/04/05 23:09:31.258 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.600318ms] [] [2025/04/05 23:09:31.258 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [takeTime=8.735447ms] [] [2025/04/05 23:09:31.262 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:31.273 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:31.273 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 23:09:31.275 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 23:09:31.303 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=61.561573ms] [] [2025/04/05 23:09:31.303 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 23:09:31.367 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:31.373 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:31.373 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:31.395 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:31.468 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.680830818\n# Parse_time: 0.000107714\n# Compile_time: 0.000382981\n# Rewrite_time: 0.000095162\n# Optimize_time: 0.000241864\n# Wait_TS: 0\n# DB: from_server\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MC4xbXMsIG9wZW46Njg3bnMsIGNsb3NlOjYxNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4MC4xbXMsIG9wZW46Njg3bnMsIGNsb3NlOjYxNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer2084208588/001/server-*.csv';"] [2025/04/05 23:09:31.484 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.484 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 23:09:31.489 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.496 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 124, Table Name: t, Old Table ID: 122, Old Table Name: t)"] [2025/04/05 23:09:31.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.650642ms] [gotSchemaVersion=62] [phyTblIDs="[122,124]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:31.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=62] [2025/04/05 23:09:31.518 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=8.704112ms] [job="ID:125, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.528 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[122]"] [comment="truncate table: table ID"] [2025/04/05 23:09:31.532 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="truncate table"] [2025/04/05 23:09:31.533 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.550 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 23:09:31.550 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/05 23:09:31.596 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer2084208588/001/test.csv.gz\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:31.597 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:31.597 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 23:09:31.597 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=36] [cost=52.694µs] [2025/04/05 23:09:31.597 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=152.173µs] [] [2025/04/05 23:09:31.614 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=8] [global-sort=false] [2025/04/05 23:09:31.628 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:31.628 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 23:09:31.731 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:31.732 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:31.733 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/05 23:09:31.740 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:31.740 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 23:09:31.773 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 23:09:31.792 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 23:09:31.799 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:31.800 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:31.800 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:31.800 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:31.800 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:31.800 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:31.800 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:31.801 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:31.801 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:31.801 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:31.813 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:31.815 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:31.815 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:31.815 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:31.815 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/05 23:09:31.815 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:09:31.822 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/05 23:09:31.822 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/05 23:09:31.826 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:31.830 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.830 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=124] [2025/04/05 23:09:31.837 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/05 23:09:31.856 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 23:09:31.871 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [2025/04/05 23:09:31.872 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [readDur=105.36µs] [encodeDur=415.892µs] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [deliverDur=225.721µs] [type=file] [takeTime=1.019649ms] [] [2025/04/05 23:09:31.873 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/5/490acc05-2370-5ec4-8393-939390984a58.sst/4e5e53d1-7f59-4ae8-a0e2-16c6fc702be5.sst] [firstKey=74800000000000007C5F728000000000000001] [lastKey=74800000000000007C5F728000000000000002] [2025/04/05 23:09:31.873 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:31.873 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:31.873 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:31.875 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.861133ms] [] [2025/04/05 23:09:31.875 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/05 23:09:31.880 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:31.901 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=74] [2025/04/05 23:09:31.902 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:31.903 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007c5f728000000000000001] [endOfAllRanges=74800000000000007c5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7c5f728000000000ff0000030000000000fa] [2025/04/05 23:09:31.915 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/05 23:09:31.917 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [takeTime=41.069539ms] [] [2025/04/05 23:09:31.917 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 23:09:31.918 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.081531ms] [] [2025/04/05 23:09:31.918 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:31.918 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.919 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.420804ms] [] [2025/04/05 23:09:31.919 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/05 23:09:31.923 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.923 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [takeTime=4.037774ms] [] [2025/04/05 23:09:31.924 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 23:09:31.925 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=914.204µs] [] [2025/04/05 23:09:31.925 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=102.201478ms] [] [2025/04/05 23:09:31.925 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=102.354808ms] [] [2025/04/05 23:09:32.005 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:32.007 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.008 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:32.008 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:32.040 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:09:32.041 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:32.041 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 23:09:32.082 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:32.090 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 23:09:32.093 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:32.093 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:32.093 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:32.093 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:32.093 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:32.093 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:32.093 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:32.093 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:32.093 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:32.094 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:32.093 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:32.094 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:32.096 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:32.096 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:32.096 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:32.096 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:32.096 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=281.112347ms] [] [2025/04/05 23:09:32.098 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 23:09:32.105 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/05 23:09:32.106 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 23:09:32.106 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 23:09:32.106 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 23:09:32.112 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=6.291422ms] [] [2025/04/05 23:09:32.112 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=74] [kvs=2] [checksum=3639429438335945898] [2025/04/05 23:09:32.112 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/05 23:09:32.112 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/05 23:09:32.112 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/05 23:09:32.114 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=124] [physicalTableID=124] [indexID=-1] [checksum=3639429438335945898] [totalKvs=2] [totalBytes=74] [2025/04/05 23:09:32.115 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:32.115 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/05 23:09:32.115 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=9.016212ms] [] [2025/04/05 23:09:32.115 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=9.186005ms] [] [2025/04/05 23:09:32.115 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [takeTime=9.360074ms] [] [2025/04/05 23:09:32.129 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:32.135 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:32.136 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/05 23:09:32.138 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 23:09:32.162 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=64.556008ms] [] [2025/04/05 23:09:32.162 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 23:09:32.231 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:32.232 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.681244203\n# Parse_time: 0.000065389\n# Compile_time: 0.000368142\n# Rewrite_time: 0.000090624\n# Optimize_time: 0.0002162\n# Wait_TS: 0\n# DB: from_server\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MC41bXMsIG9wZW46NjMybnMsIGNsb3NlOjc1NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4MC41bXMsIG9wZW46NjMybnMsIGNsb3NlOjc1NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer2084208588/001/test.csv.gz';"] [2025/04/05 23:09:32.238 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:32.239 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] --- PASS: TestImportInto/TestImportFromServer (2.34s) === NAME TestImportInto === RUN TestImportInto/TestSnappy [2025/04/05 23:09:32.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="drop database if exists snappy"] [user=] [2025/04/05 23:09:32.263 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.263 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:32.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database snappy"] [2025/04/05 23:09:32.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.284 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=747.403µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:32.287 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=63] [2025/04/05 23:09:32.289 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=8.243291ms] [job="ID:127, Type:create schema, State:done, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.301 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:synced, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/05 23:09:32.311 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_server] [sql="create database snappy"] [user=] [2025/04/05 23:09:32.326 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/05 23:09:32.326 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.332 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.336 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 128, Table Name: t)"] [2025/04/05 23:09:32.352 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.576092ms] [gotSchemaVersion=64] [phyTblIDs="[128]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.355 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=64] [2025/04/05 23:09:32.357 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=9.072926ms] [job="ID:129, Type:create table, State:done, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.369 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:synced, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.380 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 23:09:32.381 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/05 23:09:32.388 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.441 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://snappy/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:32.459 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=33B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:32.474 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:32.474 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:32.576 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:32.578 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.579 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/05 23:09:32.586 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.594 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:32.594 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=33] [2025/04/05 23:09:32.594 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=33] [cost=39.903µs] [2025/04/05 23:09:32.594 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=158.354µs] [] [2025/04/05 23:09:32.594 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:32.594 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:32.633 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:32.654 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 23:09:32.654 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.662 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:32.663 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:32.663 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:32.663 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:32.664 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:32.664 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:32.664 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:32.664 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:32.664 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:32.664 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:32.678 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:32.680 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:32.680 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:32.680 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:32.680 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/05 23:09:32.680 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:32.682 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/05 23:09:32.698 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [2025/04/05 23:09:32.698 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [2025/04/05 23:09:32.702 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/05 23:09:32.702 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/05 23:09:32.706 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 23:09:32.707 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=128] [2025/04/05 23:09:32.861 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [2025/04/05 23:09:32.863 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [readDur=1.029721ms] [encodeDur=594.707µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=80.78µs] [type=file] [takeTime=2.082679ms] [] [2025/04/05 23:09:32.864 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=976] [file=/tmp/tidb/import-4000/6/a921513b-a672-5c3e-93ed-fa772552849b.sst/1473d4b8-e48c-4ad4-9eab-8fef8a91eb40.sst] [firstKey=7480000000000000805F728000000000000001] [lastKey=7480000000000000805F728000000000000002] [2025/04/05 23:09:32.864 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:32.864 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:32.864 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/05 23:09:32.867 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=2.305719ms] [] [2025/04/05 23:09:32.867 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [2025/04/05 23:09:32.871 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:32.893 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] ["region ranges"=1] [count=2] [size=66] [2025/04/05 23:09:32.893 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:32.894 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000805f728000000000000001] [endOfAllRanges=7480000000000000805f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff805f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff805f728000000000ff0000030000000000fa] [2025/04/05 23:09:32.906 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 23:09:32.907 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [takeTime=40.60953ms] [] [2025/04/05 23:09:32.907 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/05 23:09:32.909 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=1.156081ms] [] [2025/04/05 23:09:32.909 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 23:09:32.909 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 23:09:32.910 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=1.562901ms] [] [2025/04/05 23:09:32.910 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [2025/04/05 23:09:32.914 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 23:09:32.914 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [takeTime=4.010329ms] [] [2025/04/05 23:09:32.914 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 23:09:32.915 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=981.038µs] [] [2025/04/05 23:09:32.916 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [takeTime=217.968918ms] [] [2025/04/05 23:09:32.916 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [takeTime=218.145754ms] [] [2025/04/05 23:09:32.981 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:32.982 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.983 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:32.983 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:33.014 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 23:09:33.016 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:33.016 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:33.039 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:33.046 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 23:09:33.049 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.049 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.049 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.049 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.049 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.049 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.049 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.049 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.049 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.049 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.049 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.049 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.051 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:33.051 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.051 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.051 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.051 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=371.186711ms] [] [2025/04/05 23:09:33.052 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:33.060 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=post-process] [2025/04/05 23:09:33.060 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/05 23:09:33.060 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/05 23:09:33.060 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/05 23:09:33.060 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.36µs] [] [2025/04/05 23:09:33.060 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [groupId=-1] [size=66] [kvs=2] [checksum=14262047008891545520] [2025/04/05 23:09:33.060 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/05 23:09:33.060 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [weight=30] [2025/04/05 23:09:33.061 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [concurrency=15] [2025/04/05 23:09:33.074 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=128] [physicalTableID=128] [indexID=-1] [checksum=14262047008891545520] [totalKvs=2] [totalBytes=66] [2025/04/05 23:09:33.075 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:33.075 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [local="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/05 23:09:33.075 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=14.44224ms] [] [2025/04/05 23:09:33.075 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=14.595067ms] [] [2025/04/05 23:09:33.075 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=post-process] [takeTime=14.744858ms] [] [2025/04/05 23:09:33.080 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:33.182 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:33.182 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/05 23:09:33.184 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/05 23:09:33.213 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=160.88735ms] [] [2025/04/05 23:09:33.213 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 23:09:33.277 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:33.283 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:33.283 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/05 23:09:33.304 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:33.377 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995515815\n# Parse_time: 0.000273485\n# Compile_time: 0.000483749\n# Rewrite_time: 0.000099412\n# Optimize_time: 0.000328594\n# Wait_TS: 0\n# DB: snappy\n# Is_internal: false\n# Digest: a256fb88970f36cc6820fa5338cd6423f7819eed0d099cc51cf9bdccbae869b9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC40bXMsIG9wZW46NzE1bnMsIGNsb3NlOjc0N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC40bXMsIG9wZW46NzE1bnMsIGNsb3NlOjc0N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse snappy;\nIMPORT INTO `snappy`.`t` FROM 'gs://snappy/t.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestSnappy (1.13s) === NAME TestImportInto === RUN TestImportInto/TestZStd [2025/04/05 23:09:33.382 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="drop database if exists zstd"] [user=] [2025/04/05 23:09:33.396 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.396 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database zstd"] [2025/04/05 23:09:33.401 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=713.061µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:33.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=65] [2025/04/05 23:09:33.421 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=8.302115ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.431 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.441 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 23:09:33.442 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=snappy] [sql="create database zstd"] [user=] [2025/04/05 23:09:33.456 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.456 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/05 23:09:33.461 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.466 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: t)"] [2025/04/05 23:09:33.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.384456ms] [gotSchemaVersion=66] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:33.483 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=66] [2025/04/05 23:09:33.484 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.023959ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.495 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.507 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/05 23:09:33.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=zstd] [sql="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/05 23:09:33.522 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.580 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 23:09:33.598 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=56B] [thread-cnt=1] [global-sort=false] [2025/04/05 23:09:33.611 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:33.612 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 23:09:33.715 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:33.716 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:33.717 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/05 23:09:33.724 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.736 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:33.736 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=56] [2025/04/05 23:09:33.736 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=56] [cost=136.757µs] [2025/04/05 23:09:33.736 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=257.68µs] [] [2025/04/05 23:09:33.737 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:33.737 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 23:09:33.773 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 23:09:33.794 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 23:09:33.794 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.803 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:09:33.803 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667149752382] [2025/04/05 23:09:33.803 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.803 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:09:33.803 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.803 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.803 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.804 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.804 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.804 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.816 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:33.818 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:33.818 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:33.819 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:33.819 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/05 23:09:33.819 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:33.820 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/05 23:09:33.826 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [2025/04/05 23:09:33.826 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [2025/04/05 23:09:33.848 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/05 23:09:33.852 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 23:09:33.852 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/05 23:09:33.860 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/05 23:09:33.926 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [2025/04/05 23:09:33.928 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [readDur=1.061693ms] [encodeDur=538.763µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=174.084µs] [type=file] [takeTime=2.063318ms] [] [2025/04/05 23:09:33.929 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/05 23:09:33.929 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=976] [file=/tmp/tidb/import-4000/7/dbc9135c-0d8b-582b-8c22-5316c1b4dadf.sst/6fff61ff-b00f-4192-bf61-bdb4f91c9104.sst] [firstKey=7480000000000000845F728000000000000001] [lastKey=7480000000000000845F728000000000000002] [2025/04/05 23:09:34.003 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [2025/04/05 23:09:34.004 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [readDur=891.396µs] [encodeDur=240.478µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=38.301µs] [type=file] [takeTime=1.44301ms] [] [2025/04/05 23:09:34.005 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=976] [file=/tmp/tidb/import-4000/7/dbc9135c-0d8b-582b-8c22-5316c1b4dadf.sst/374be8cb-781e-483e-92c3-f5be882e6d4d.sst] [firstKey=7480000000000000845F728000000000000003] [lastKey=7480000000000000845F728000000000000004] [2025/04/05 23:09:34.006 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:34.006 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:34.006 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/05 23:09:34.008 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=1.918945ms] [] [2025/04/05 23:09:34.008 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [2025/04/05 23:09:34.013 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:34.035 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] ["region ranges"=1] [count=4] [size=132] [2025/04/05 23:09:34.035 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:34.037 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000845f728000000000000001] [endOfAllRanges=7480000000000000845f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff845f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff845f728000000000ff0000050000000000fa] [2025/04/05 23:09:34.048 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [size=132] [kvs=4] [importedSize=132] [importedCount=4] [2025/04/05 23:09:34.050 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [takeTime=41.637817ms] [] [2025/04/05 23:09:34.050 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/05 23:09:34.051 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=1.0713ms] [] [2025/04/05 23:09:34.051 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 23:09:34.051 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 23:09:34.053 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.687205ms] [] [2025/04/05 23:09:34.053 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [2025/04/05 23:09:34.056 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 23:09:34.057 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [takeTime=3.845552ms] [] [2025/04/05 23:09:34.057 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 23:09:34.058 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=957.018µs] [] [2025/04/05 23:09:34.058 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [takeTime=231.238807ms] [] [2025/04/05 23:09:34.058 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [takeTime=231.773266ms] [] [2025/04/05 23:09:34.119 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:34.121 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:34.122 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:34.122 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:34.151 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:34.152 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:34.152 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 23:09:34.185 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:34.192 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 23:09:34.194 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:34.194 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:34.194 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:34.194 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:34.194 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:34.194 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:34.195 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.195 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:34.195 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.195 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.195 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.195 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:34.197 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:34.197 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.197 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.197 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.197 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=378.089928ms] [] [2025/04/05 23:09:34.198 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 23:09:34.206 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=post-process] [2025/04/05 23:09:34.206 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/05 23:09:34.206 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/05 23:09:34.206 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/05 23:09:34.206 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.267µs] [] [2025/04/05 23:09:34.206 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [groupId=-1] [size=132] [kvs=4] [checksum=11508402849382241477] [2025/04/05 23:09:34.206 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [checksum="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/05 23:09:34.206 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [weight=30] [2025/04/05 23:09:34.206 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [concurrency=15] [2025/04/05 23:09:34.208 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=132] [physicalTableID=132] [indexID=-1] [checksum=11508402849382241477] [totalKvs=4] [totalBytes=132] [2025/04/05 23:09:34.208 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:34.208 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [local="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/05 23:09:34.208 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.422239ms] [] [2025/04/05 23:09:34.208 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.553892ms] [] [2025/04/05 23:09:34.209 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=post-process] [takeTime=2.700358ms] [] [2025/04/05 23:09:34.216 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:34.219 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:34.219 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/05 23:09:34.221 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/05 23:09:34.235 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=37.278189ms] [] [2025/04/05 23:09:34.235 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 23:09:34.314 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:34.319 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:34.319 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/05 23:09:34.339 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:34.517 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.000115131\n# Parse_time: 0.000095236\n# Compile_time: 0.000423287\n# Rewrite_time: 0.000098068\n# Optimize_time: 0.00021766\n# Wait_TS: 0\n# DB: zstd\n# Is_internal: false\n# Digest: 224cbd7bc4c5e4c15b75463317df9f8aff0269f709c2192f128e50cf21d1a758\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OS4zbXMsIG9wZW46NjI2bnMsIGNsb3NlOjg1M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5OS4zbXMsIG9wZW46NjI2bnMsIGNsb3NlOjg1M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse zstd;\nIMPORT INTO `zstd`.`t` FROM 'gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestZStd (1.14s) === NAME TestImportInto [2025/04/05 23:09:34.523 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:34.523 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:34.523 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [] [2025/04/05 23:09:34.523 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.523 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:34.523 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:34.523 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=104.319µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=70.519µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=86.856µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=74.897µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=70.74µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=67.194µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=44.929µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=82.83µs] [2025/04/05 23:09:34.524 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=30.232µs] [2025/04/05 23:09:34.525 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=33.039µs] [2025/04/05 23:09:34.525 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.525 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.526 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:34.526 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:34.530 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] ["take time"=7.497673ms] [2025/04/05 23:09:34.530 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.531 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:34.531 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/0b7bc18a-3392-480f-a02f-a380d4f9a68c] [watcherID=9dd438dc-2abf-44f6-a68d-c32d66a2edc5] [2025/04/05 23:09:34.531 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:34.531 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/0b7bc18a-3392-480f-a02f-a380d4f9a68c] [2025/04/05 23:09:34.531 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ttl-worker=task-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [originalCount=4] [newCount=0] [2025/04/05 23:09:34.531 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.531 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.531 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.531 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:34.531 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [ttl-worker=task-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [originalCount=4] [newCount=0] [2025/04/05 23:09:34.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.534 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:34.537 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.537 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=548] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:34.539 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:34.539 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:34.539 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:34.538 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:34.538 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:34.539 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:34.540 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:34.539 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.539 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [2025/04/05 23:09:34.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:34.540 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.540 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [2025/04/05 23:09:34.540 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:34.540 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:34.541 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:34.541 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d64fc3cf-e825-4157-ac4f-dfb859744727] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:34.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:34.541 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:34.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:34.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:34.542 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:34.542 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:34.542 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:34.542 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:34.542 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [] [2025/04/05 23:09:34.542 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:34.542 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.542 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.542 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [2025/04/05 23:09:34.542 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [error="context canceled"] [2025/04/05 23:09:34.542 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d0470b17-fbc4-43b8-8721-bbf7b9811d00] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.603 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:34.603 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:34.614 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.525451ms] [2025/04/05 23:09:34.617 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:34.617 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:34.617 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:34.617 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:34.617 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:34.617 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:34.617 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:34.617 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.617 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.617 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.617 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:34.617 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.619 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (12.50s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest3:importintotest3_test up-to-date: bazel-bin/tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test INFO: Elapsed time: 31.149s, Critical Path: 13.10s INFO: 4637 processes: 4624 remote cache hit, 13 internal. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest3:importintotest3_test (cached) PASSED in 16.2s PASSED importintotest3_test.TestImportInto (12.5s) PASSED importintotest3_test.TestImportInto/TestGzipAndMixedCompression (2.8s) PASSED importintotest3_test.TestImportInto/TestImportFromServer (2.3s) PASSED importintotest3_test.TestImportInto/TestSnappy (1.1s) PASSED importintotest3_test.TestImportInto/TestZStd (1.1s) Test cases: finished with 5 passing and 0 failing out of 5 test cases Executed 0 out of 1 test: 1 test passes.  [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 1s remote-cache [Pipeline] } [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir Post stage [Pipeline] } [Pipeline] // dir Post stage [Pipeline] // script [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] { [Pipeline] junit Recording test results [Pipeline] junit Recording test results [Pipeline] } [Pipeline] } [Pipeline] // withCredentials [Pipeline] } INFO: From Testing //tests/realtikvtest/importintotest2:importintotest2_test: ==================== Test output for //tests/realtikvtest/importintotest2:importintotest2_test: === RUN TestImportInto [2025/04/05 23:09:21.832 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:09:21.832 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:21.833 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:21.834 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:21.834 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:21.835 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:21.835 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:21.835 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:21.835 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:21.835 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:21.835 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:21.840 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:09:21.848 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:21.848 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=7] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:21.849 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:09:21.873 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.873 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.878 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.879 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.890 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:21.913 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969667828220621] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:21.935 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:21.976 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1306] ["lease id"=6f18960835ae70e9] [2025/04/05 23:09:21.978 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:21.984 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest2/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest2/importintotest2_test.TestImportInto\n\ttests/realtikvtest/importintotest2/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:22.088 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.758789ms] [2025/04/05 23:09:22.088 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:22.090 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:09:22.090 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:22.090 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:22.092 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:22.094 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:22.094 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 174607171584/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:22.094 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:22.094 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:22.094 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [2025/04/05 23:09:22.096 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835ae70f0] [ownerID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:22.096 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:22.096 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ownerKey=/tidb/ddl/fg/owner/6f18960835ae70f0] [currRev=94] [2025/04/05 23:09:22.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:22.097 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:22.098 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960835ae70f1] [ownerID=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [op=none] [2025/04/05 23:09:22.098 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:22.098 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [2025/04/05 23:09:22.098 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [ownerKey=/tidb/br-stream/owner/3eaa960835ae70f1] [currRev=95] [2025/04/05 23:09:22.098 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835ae70f0] [ownerID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:22.098 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:22.098 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:22.101 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:09:22.117 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:09:22.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.117 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:09:22.123 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.263 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=124.753795ms] [2025/04/05 23:09:22.264 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:22.270 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:09:22.272 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=134.934716ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.285 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.300 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:09:22.300 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:09:22.301 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:09:22.305 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/05 23:09:22.331 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.550351ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.400 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:09:22.401 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=14.84273ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.421 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.453 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:09:22.454 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.467 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:09:22.467 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.111994ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.496 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:09:22.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.045754ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.509 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:09:22.522 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:09:22.534 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:09:22.540 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.025285ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.562 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:09:22.564 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.393942ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.574 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:09:22.587 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:09:22.607 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.607 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.618 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.653 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.458736ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.657 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:09:22.658 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.531137ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.673 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.694 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:09:22.694 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.710 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.710 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.739 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.691805ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.743 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.743 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:09:22.744 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.351433ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.756 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.771 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:09:22.771 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.786 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.786 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:09:22.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.640996ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.818 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:09:22.820 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.544458ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.831 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:09:22.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:09:22.860 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:22.860 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.754566ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.886 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:09:22.887 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.293924ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.897 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:09:22.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:09:22.922 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:22.922 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.945 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.702103ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:22.949 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:22.949 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:09:22.951 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=8.701724ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.961 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:22.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:09:22.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:09:22.986 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:22.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:22.986 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:09:22.992 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.23045ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.015 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:09:23.017 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=8.673639ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:22.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.027 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:22.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:09:23.040 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:09:23.054 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.054 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.060 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.215466ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.084 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.084 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:09:23.086 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=8.980689ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.095 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:23.097 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.110 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:09:23.111 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:09:23.113 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:23.128 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.128 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.134 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.161 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.121962ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.164 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.164 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:09:23.166 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=9.644504ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.178 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.195 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:09:23.195 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:09:23.210 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.210 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.216 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.240 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.794425ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.243 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:09:23.245 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.575462ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.257 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.272 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:09:23.272 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:09:23.287 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.292 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.222835ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.316 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:09:23.318 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.32669ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.329 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.347 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:09:23.348 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:23.362 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.362 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.368 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.387 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.045169ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.390 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:09:23.392 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=8.564299ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:09:23.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:09:23.429 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.429 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.434 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.453 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.080883ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.457 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.457 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:09:23.458 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.706688ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.469 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.481 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:09:23.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:23.494 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.494 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.499 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.519 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.135946ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.522 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:09:23.524 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.978947ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.535 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.547 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:09:23.548 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:09:23.561 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.561 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:09:23.566 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.587 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.075511ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.590 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.590 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:09:23.591 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=8.658995ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.602 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.614 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:09:23.614 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:09:23.630 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.630 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:23.636 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.070302ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.665 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:09:23.666 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.743686ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.694 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:09:23.694 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:23.714 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.714 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.720 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.738 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.1418ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.741 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:09:23.743 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.926744ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.753 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.767 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:09:23.767 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:09:23.779 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.779 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.784 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.634789ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.804 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:09:23.806 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.21561ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.816 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.828 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:09:23.829 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:09:23.841 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:09:23.841 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.841 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:09:23.847 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.410016ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.865 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:09:23.867 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=7.706235ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.876 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.886 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:09:23.886 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:09:23.900 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.900 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.904 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.556892ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.928 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:09:23.930 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=8.852085ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.940 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.954 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:09:23.954 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:09:23.967 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:23.967 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:23.973 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:23.993 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.15877ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:23.997 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:23.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:09:23.998 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=9.386491ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.009 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.022 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:09:24.023 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:09:24.041 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:23.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.041 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:09:24.047 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.179355ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.071 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:09:24.072 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.134453ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:23.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.083 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:23.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.094 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:24.094 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2379] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 23:09:24.096 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:09:24.097 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:09:24.110 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.116 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.134 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.85615ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.138 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.138 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [Pipeline] // dir [2025/04/05 23:09:24.139 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.876342ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.162 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:09:24.162 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:09:24.176 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.176 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.181 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.049915ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.203 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.203 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:09:24.205 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=9.054101ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.215 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.228 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:09:24.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:24.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.241 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.247 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.266 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.973355ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.270 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:09:24.271 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.946978ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.281 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.294 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:09:24.294 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:09:24.296 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:24.308 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.308 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.334 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.2477ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.338 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.338 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:09:24.339 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=9.178742ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.350 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.364 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:09:24.364 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:09:24.379 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.379 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.486992ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:09:24.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.293687ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.422 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.436 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:09:24.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:24.450 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.450 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.455 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.501983ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.480 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:09:24.481 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=8.817103ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.492 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.506 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:09:24.506 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:09:24.523 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.523 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:09:24.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.549711ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.561 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:09:24.563 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.62084ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.575 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.593 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:09:24.593 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:09:24.606 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.606 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:09:24.611 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.63045ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.631 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:09:24.633 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.801242ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.643 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.654 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:09:24.654 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:09:24.671 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.671 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:09:24.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.325311ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:24.702 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.702 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:09:24.704 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.941684ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.715 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.729 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:09:24.744 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.744 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:09:24.750 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.770 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.302918ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.774 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:09:24.775 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=9.17518ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.786 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.800 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:09:24.801 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:09:24.820 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:24.820 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.825 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.844 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.882836ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.847 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.847 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:09:24.849 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.634702ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.859 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.872 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:09:24.872 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:09:24.885 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:24.885 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.891 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.909 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.876298ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.912 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.912 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:09:24.914 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.556229ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.924 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.936 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:09:24.937 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:09:24.954 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:24.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:24.961 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:24.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.510604ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:24.993 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:24.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:09:24.995 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.543863ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.008 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.026 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:09:25.027 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:09:25.043 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:24.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.043 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:25.049 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.077 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.316657ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.080 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.080 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:09:25.082 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=10.110417ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:24.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.094 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:24.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.111 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:09:25.111 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:09:25.128 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.128 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:25.134 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.163 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.640965ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.166 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.166 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:09:25.168 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=9.929943ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.181 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.198 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:09:25.199 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:09:25.217 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:25.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.839396ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.257 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.257 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:09:25.258 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.646141ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.271 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.290 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:09:25.290 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:25.307 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.307 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:09:25.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.344 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.853206ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.348 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:09:25.349 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.723696ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.363 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.381 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:09:25.381 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:09:25.398 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.398 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:09:25.405 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.431 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.460889ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.435 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.435 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:09:25.436 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=9.883177ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.449 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:09:25.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:09:25.482 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.482 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:09:25.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.808647ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.516 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:09:25.517 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=9.540384ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.529 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.545 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:09:25.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:09:25.561 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.561 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:25.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.953023ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.600 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:09:25.602 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=10.374767ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.629 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:09:25.630 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:25.648 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:09:25.649 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.656 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.956604ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.690 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.690 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:09:25.692 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=10.73752ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.706 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.725 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:09:25.725 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:09:25.741 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.741 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:09:25.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.807392ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.774 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:09:25.776 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.692635ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.788 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:09:25.804 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:09:25.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:09:25.818 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.842 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.050373ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.845 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:09:25.847 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.961405ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.869 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:09:25.870 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:09:25.883 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:09:25.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.883 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:09:25.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.105941ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.911 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:09:25.912 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.318989ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.923 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.935 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:09:25.936 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:09:25.937 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:09:25.950 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:25.950 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:09:25.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.081478ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:25.976 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:25.976 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:09:25.978 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.471031ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:25.988 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.000 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:09:26.000 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:09:26.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:09:26.012 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.030 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=700.519µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:26.034 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.034 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:09:26.035 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.752081ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.045 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:09:26.055 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:09:26.069 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.068 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:09:26.074 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.704043ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:09:26.095 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.095 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:09:26.097 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.186214ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.102 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:26.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:26.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:26.102 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:26.107 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.119 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:09:26.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:09:26.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.165 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=2.97243ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.168 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.168 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:09:26.170 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.495512ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.182 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.197 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:09:26.197 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:09:26.211 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.211 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:09:26.216 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.235 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.040937ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.238 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.238 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:09:26.240 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=8.346272ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.250 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.262 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:09:26.262 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:09:26.276 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.276 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:09:26.281 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.301 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.235116ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.304 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:09:26.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:09:26.306 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.203894ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.316 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.329 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:09:26.329 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:09:26.477 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.379873553s] [2025/04/05 23:09:26.480 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:26.480 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [] [2025/04/05 23:09:26.480 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:26.480 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.480 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:26.480 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:26.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=58.71µs] [2025/04/05 23:09:26.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=36.074µs] [2025/04/05 23:09:26.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=32.513µs] [2025/04/05 23:09:26.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=29.985µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=40.364µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=37.281µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=31.862µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=28.384µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=29.271µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=35.231µs] [2025/04/05 23:09:26.481 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.481 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.482 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:26.482 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:26.491 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] ["take time"=11.822873ms] [2025/04/05 23:09:26.492 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.493 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1306] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:26.493 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:26.493 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:26.493 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:26.493 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:26.493 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:26.493 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:26.493 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [2025/04/05 23:09:26.493 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:26.493 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [2025/04/05 23:09:26.493 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [2025/04/05 23:09:26.494 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:26.494 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:26.494 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:26.494 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=21f74146-3df4-4cfe-b5a0-2fa5d3c1b792] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.494 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:26.494 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:26.494 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:26.494 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:26.499 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.916435ms] [2025/04/05 23:09:26.499 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489969667828220621] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:09:26.508 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:09:26.546 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1067] ["lease id"=3eaa960835ae715d] [2025/04/05 23:09:26.548 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:09:26.668 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.813813ms] [2025/04/05 23:09:26.668 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:26.676 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [runWorker=true] [jobVersion=v2] [2025/04/05 23:09:26.677 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:09:26.679 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [lease=6f18960835ae70f0] [2025/04/05 23:09:26.679 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:09:26.679 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 174607200256/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:26.679 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:09:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:26.680 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:09:26.680 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [2025/04/05 23:09:26.681 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835ae70f0] [ownerID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:26.681 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.681 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ownerKey=/tidb/ddl/fg/owner/6f18960835ae70f0] [currRev=273] [2025/04/05 23:09:26.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:26.682 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:26.683 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:09:26.683 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960835ae78ca] [ownerID=2b81d398-122e-4846-ac2b-cfa85ba55e70] [op=none] [2025/04/05 23:09:26.683 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [2025/04/05 23:09:26.683 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [ownerKey=/tidb/br-stream/owner/2231960835ae78ca] [currRev=274] [2025/04/05 23:09:26.683 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960835ae70f0] [ownerID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:26.684 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:26.684 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:09:26.690 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.691 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:26.691 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:09:26.693 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa960835ae7165] [ownerID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:26.693 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.693 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ownerKey=/tidb/bindinfo/owner/3eaa960835ae7165] [currRev=275] [2025/04/05 23:09:26.698 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:09:26.702 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:09:26.703 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:26.709 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:26.717 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:09:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:26.717 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:09:26.717 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:09:26.717 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:09:26.717 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:09:26.718 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:26.718 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:26.719 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:26.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:26.721 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960835ae78d1] [ownerID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [op=none] [2025/04/05 23:09:26.721 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 23:09:26.721 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.721 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ownerKey=/tidb/stats/owner/2231960835ae78d1] [currRev=276] [2025/04/05 23:09:26.725 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a020d574-50a0-4e84-9ef8-9cf87b6b4be5] [2025/04/05 23:09:26.725 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ttl-worker=task-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [originalCount=0] [newCount=4] [2025/04/05 23:09:26.725 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ttl-worker=task-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [originalCount=0] [newCount=4] [2025/04/05 23:09:26.725 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:26.727 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:09:26.735 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:09:26.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:26.738 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:09:26.739 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743894566739387204 [2025/04/05 23:09:26.742 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.281118ms] [2025/04/05 23:09:26.742 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:09:26.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:09:26.764 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:09:26.782 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743894566784017724 [2025/04/05 23:09:26.794 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === RUN TestImportInto/TestCastNegativeToUnsigned [2025/04/05 23:09:26.797 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 23:09:26.808 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.808 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 23:09:26.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.913 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=85.221487ms] [2025/04/05 23:09:26.913 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:09:26.913 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:09:26.916 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:09:26.918 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=92.666453ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.929 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.939 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:09:26.940 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 23:09:26.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int unsigned)"] [2025/04/05 23:09:26.952 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:26.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.961 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: dt)"] [2025/04/05 23:09:26.975 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.357896ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:26.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 23:09:26.980 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=8.077309ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:26.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:26.990 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:26.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.000 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 23:09:27.000 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=from_select] [sql="create table dt(id int unsigned)"] [user=] [2025/04/05 23:09:27.043 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=3bbb0b29-671d-4645-ad14-f429ad3c6210] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/05 23:09:27.043 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=dt] [import_dir=/tmp/tidb/import-4000] [2025/04/05 23:09:27.049 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:27.049 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:27.049 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:27.049 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:27.050 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:27.050 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:27.050 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:27.050 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:27.050 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:27.050 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:27.063 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:27.065 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:27.065 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=374.2GB] [2025/04/05 23:09:27.069 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.073 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.073 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=3bbb0b29-671d-4645-ad14-f429ad3c6210] [key=import-from-select] [2025/04/05 23:09:27.073 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=3bbb0b29-671d-4645-ad14-f429ad3c6210] [key=import-from-select] [2025/04/05 23:09:27.074 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=3bbb0b29-671d-4645-ad14-f429ad3c6210] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=231.947µs] [] [2025/04/05 23:09:27.074 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [table=dt] [import-id=3bbb0b29-671d-4645-ad14-f429ad3c6210] [key=import-from-select] [takeTime=216.977µs] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.func2\n\tpkg/executor/importer/table_import.go:677\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.(*ErrorGroupWithRecover).Go.func3\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"] [2025/04/05 23:09:27.074 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.075 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.350815ms] [] [2025/04/05 23:09:27.075 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.076 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=788.418µs] [] [2025/04/05 23:09:27.076 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.078 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=1.368608ms] [] [2025/04/05 23:09:27.078 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.079 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=794.112µs] [] [2025/04/05 23:09:27.080 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:27.080 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:27.080 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:27.080 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:27.080 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:27.080 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:27.080 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:27.080 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.080 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:27.080 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.080 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.080 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:27.082 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:27.082 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.082 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.082 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.082 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:27.082 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=57] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:09:27.125 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/05 23:09:27.131 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:27.131 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:27.132 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:27.132 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:27.132 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:27.132 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:27.132 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:27.132 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:27.133 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:27.133 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:27.145 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:27.146 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:27.146 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=374.2GB] [2025/04/05 23:09:27.150 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.153 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.157 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [key=import-from-select] [2025/04/05 23:09:27.160 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [key=import-from-select] [2025/04/05 23:09:27.166 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=8.959728ms] [] [2025/04/05 23:09:27.166 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [key=import-from-select] [readDur=7.029µs] [encodeDur=212.559µs] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [deliverDur=2.143255ms] [type=query] [takeTime=5.84009ms] [] [2025/04/05 23:09:27.166 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.166 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=29] [kvs=1] [files=1] [sstFileSize=920] [file=/tmp/tidb/import-4000/2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e/fcd3180d-f69e-5c83-84c0-56cb80b9aeb7.sst/26d711f4-c8da-4a88-9c5c-0e4a931f83a3.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000001] [2025/04/05 23:09:27.169 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=2.293278ms] [] [2025/04/05 23:09:27.169 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [retryCnt=0] [2025/04/05 23:09:27.173 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:27.195 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] ["region ranges"=1] [count=1] [size=29] [2025/04/05 23:09:27.195 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:27.196 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff0000020000000000fa] [2025/04/05 23:09:27.208 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [size=29] [kvs=1] [importedSize=29] [importedCount=1] [2025/04/05 23:09:27.210 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [retryCnt=0] [takeTime=40.853875ms] [] [2025/04/05 23:09:27.210 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.211 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=1.526205ms] [] [2025/04/05 23:09:27.211 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [retryCnt=0] [2025/04/05 23:09:27.215 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.215 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [retryCnt=0] [takeTime=3.668692ms] [] [2025/04/05 23:09:27.215 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [2025/04/05 23:09:27.215 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [2025/04/05 23:09:27.220 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [takeTime=5.335316ms] [] [2025/04/05 23:09:27.221 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/05 23:09:27.221 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [weight=30] [2025/04/05 23:09:27.221 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [concurrency=15] [2025/04/05 23:09:27.223 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=1186353398217297746] [totalKvs=1] [totalBytes=29] [2025/04/05 23:09:27.223 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:27.223 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [local="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/05 23:09:27.223 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dt] [import-id=2d273b4a-65d5-43bf-9500-3b1f6c6f9a2e] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [takeTime=7.959868ms] [] [2025/04/05 23:09:27.223 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.223 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=7.053µs] [] [2025/04/05 23:09:27.223 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 23:09:27.224 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.102296ms] [] [2025/04/05 23:09:27.224 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.225 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=6.2µs] [] [2025/04/05 23:09:27.225 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 23:09:27.226 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=891.437µs] [] [2025/04/05 23:09:27.228 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:27.228 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:27.228 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:27.228 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:27.228 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:27.228 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:27.228 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:27.228 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.228 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.228 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:27.228 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.228 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:27.230 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:27.230 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.230 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.230 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestCastNegativeToUnsigned (0.44s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectBasic [2025/04/05 23:09:27.244 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.244 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 23:09:27.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=127.327µs] [gotSchemaVersion=58] [phyTblIDs="[114]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:27.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=58] [2025/04/05 23:09:27.268 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=6.562535ms] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.277 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.288 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=113.46µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:27.291 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=59] [2025/04/05 23:09:27.292 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=6.133101ms] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.300 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.304 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:09:27.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=120.764µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:27.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/05 23:09:27.318 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=6.083977ms] [job="ID:116, Type:drop schema, State:done, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.326 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[114]"] [comment="drop schema: table IDs"] [2025/04/05 23:09:27.333 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop schema"] [2025/04/05 23:09:27.333 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:synced, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.350 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/05 23:09:27.350 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 23:09:27.360 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.360 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 23:09:27.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=568.498µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:27.380 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=61] [2025/04/05 23:09:27.382 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=6.819299ms] [job="ID:118, Type:create schema, State:done, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.391 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:synced, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.400 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/05 23:09:27.400 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 23:09:27.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/05 23:09:27.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.422 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 119, Table Name: src)"] [2025/04/05 23:09:27.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.400266ms] [gotSchemaVersion=62] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.441 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/05 23:09:27.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=11.010166ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.464 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/05 23:09:27.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/05 23:09:27.477 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.477 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/05 23:09:27.482 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.487 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: dst)"] [2025/04/05 23:09:27.500 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.444186ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:27.504 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/05 23:09:27.506 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=8.458274ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.517 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.527 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 23:09:27.527 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/05 23:09:27.533 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:36\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst FROM select id from src"] [2025/04/05 23:09:27.534 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:37\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst(id) FROM select * from src"] [2025/04/05 23:09:27.573 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=121] [2025/04/05 23:09:27.579 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:27.579 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:27.580 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:27.580 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:27.580 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:27.580 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:27.580 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:27.580 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:27.580 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:27.581 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:27.592 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:27.593 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:27.593 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:27.597 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.600 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.640 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [key=import-from-select] [2025/04/05 23:09:27.640 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [key=import-from-select] [2025/04/05 23:09:27.640 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=77.622µs] [] [2025/04/05 23:09:27.641 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [key=import-from-select] [readDur=20.132µs] [encodeDur=163.093µs] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=261.119µs] [type=query] [takeTime=780.322µs] [] [2025/04/05 23:09:27.641 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.641 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=152] [kvs=4] [files=1] [sstFileSize=1009] [file=/tmp/tidb/import-4000/be919604-1036-45eb-84d7-019ed8943e61/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/0f0525d3-4abf-4ae7-960b-c0e5afe409db.sst] [firstKey=7480000000000000795F728000000000000001] [lastKey=7480000000000000795F728000000000000004] [2025/04/05 23:09:27.644 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=2.647179ms] [] [2025/04/05 23:09:27.644 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:27.648 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:27.670 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:27.670 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:27.671 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000795f728000000000000001] [endOfAllRanges=7480000000000000795f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff795f728000000000ff0000050000000000fa] [2025/04/05 23:09:27.681 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:27.683 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=38.726665ms] [] [2025/04/05 23:09:27.683 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.685 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.565273ms] [] [2025/04/05 23:09:27.685 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:27.687 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:09:27.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:27.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:27.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:09:27.688 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.688 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.675685ms] [] [2025/04/05 23:09:27.688 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/05 23:09:27.688 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [2025/04/05 23:09:27.694 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [takeTime=5.179887ms] [] [2025/04/05 23:09:27.694 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 23:09:27.694 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [weight=30] [2025/04/05 23:09:27.694 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [concurrency=15] [2025/04/05 23:09:27.696 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=121] [physicalTableID=121] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:27.696 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:27.696 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 23:09:27.696 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=be919604-1036-45eb-84d7-019ed8943e61] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=7.554925ms] [] [2025/04/05 23:09:27.696 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.696 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=6.338µs] [] [2025/04/05 23:09:27.696 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.697 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.063449ms] [] [2025/04/05 23:09:27.697 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.697 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=9.078µs] [] [2025/04/05 23:09:27.697 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.698 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=927.799µs] [] [2025/04/05 23:09:27.701 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:27.701 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:27.701 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:27.701 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:27.701 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:27.701 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:27.701 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.701 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:27.701 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.702 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.702 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:27.701 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:27.703 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:27.703 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.703 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.703 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.712 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:27.713 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=63] [error="[executor:8173]PreCheck failed: target table is not empty"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 23:09:27.724 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.724 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 23:09:27.725 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:09:27.725 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:09:27.725 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a020d574-50a0-4e84-9ef8-9cf87b6b4be5] [watcherID=f22a65f8-cb57-46d0-a640-78ae54423bd6] [2025/04/05 23:09:27.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.737 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 123, Table Name: dst, Old Table ID: 121, Old Table Name: dst)"] [2025/04/05 23:09:27.739 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:09:27.744 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/05 23:09:27.744 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:09:27.744 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:09:27.744 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:09:27.744 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:09:27.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.429674ms] [gotSchemaVersion=64] [phyTblIDs="[121,123]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:27.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/05 23:09:27.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=8.359153ms] [job="ID:124, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.768 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[121]"] [comment="truncate table: table ID"] [2025/04/05 23:09:27.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="truncate table"] [2025/04/05 23:09:27.773 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.789 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 23:09:27.790 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 23:09:27.831 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=123] [2025/04/05 23:09:27.839 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:27.839 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:27.839 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:27.839 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:27.839 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:27.839 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:27.839 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:27.839 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:27.840 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:27.840 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:27.851 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:27.853 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:27.853 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:27.857 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.860 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.861 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [key=import-from-select] [2025/04/05 23:09:27.861 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [key=import-from-select] [2025/04/05 23:09:27.862 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [key=import-from-select] [readDur=98.737µs] [encodeDur=236.445µs] [checksum="{cksum=2314861639778060572,size=38,kvs=1}"] [deliverDur=223.754µs] [type=query] [takeTime=841.852µs] [] [2025/04/05 23:09:27.862 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [key=import-from-select] [readDur=3.4µs] [encodeDur=432.808µs] [checksum="{cksum=17677677924021734206,size=38,kvs=1}"] [deliverDur=194.888µs] [type=query] [takeTime=912.452µs] [] [2025/04/05 23:09:27.862 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.862 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=2] [sstFileSize=1872] [file=/tmp/tidb/import-4000/78f005ce-5d29-4526-8197-df886abfd953/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/ab9b44f5-c1d4-434f-911b-a2de24e243f0.sst] [firstKey=74800000000000007B5F728000000000000001] [lastKey=74800000000000007B5F728000000000000002] [2025/04/05 23:09:27.865 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=2.509495ms] [] [2025/04/05 23:09:27.865 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:27.869 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:27.890 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=76] [2025/04/05 23:09:27.890 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:27.892 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007b5f728000000000000001] [endOfAllRanges=74800000000000007b5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7b5f728000000000ff0000030000000000fa] [2025/04/05 23:09:27.904 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/05 23:09:27.905 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=40.292055ms] [] [2025/04/05 23:09:27.905 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.907 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.49004ms] [] [2025/04/05 23:09:27.907 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:27.911 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.911 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.729671ms] [] [2025/04/05 23:09:27.911 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [2025/04/05 23:09:27.911 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [2025/04/05 23:09:27.916 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [takeTime=5.600004ms] [] [2025/04/05 23:09:27.917 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [checksum="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/05 23:09:27.917 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [weight=30] [2025/04/05 23:09:27.917 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [concurrency=15] [2025/04/05 23:09:27.918 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=123] [physicalTableID=123] [indexID=-1] [checksum=15380830721546568226] [totalKvs=2] [totalBytes=76] [2025/04/05 23:09:27.919 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:27.919 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [local="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/05 23:09:27.919 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=78f005ce-5d29-4526-8197-df886abfd953] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [takeTime=8.092149ms] [] [2025/04/05 23:09:27.919 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.919 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=4.93µs] [] [2025/04/05 23:09:27.919 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:27.920 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.097533ms] [] [2025/04/05 23:09:27.920 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.920 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=4.887µs] [] [2025/04/05 23:09:27.920 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:27.921 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=913.212µs] [] [2025/04/05 23:09:27.924 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:27.924 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:27.924 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:27.924 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:27.924 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:27.924 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:27.925 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:27.924 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:27.925 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.925 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.925 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.925 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:27.927 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:27.927 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:27.927 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:27.927 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:27.942 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table src"] [2025/04/05 23:09:27.942 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:27.948 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.955 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 125, Table Name: src, Old Table ID: 119, Old Table Name: src)"] [2025/04/05 23:09:27.970 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.491519ms] [gotSchemaVersion=65] [phyTblIDs="[119,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:27.973 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/05 23:09:27.975 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=8.42111ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:27.985 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[119]"] [comment="truncate table: table ID"] [2025/04/05 23:09:27.989 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/05 23:09:27.990 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 23:09:28.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=from_select] [sql="truncate table src"] [user=] [2025/04/05 23:09:28.019 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.019 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 23:09:28.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.031 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 127, Table Name: dst, Old Table ID: 123, Old Table Name: dst)"] [2025/04/05 23:09:28.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.461193ms] [gotSchemaVersion=66] [phyTblIDs="[123,127]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:28.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/05 23:09:28.050 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.200434ms] [job="ID:128, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.061 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=128] [tableIDs="[123]"] [comment="truncate table: table ID"] [2025/04/05 23:09:28.065 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="truncate table"] [2025/04/05 23:09:28.066 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.084 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 23:09:28.084 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 23:09:28.491 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457151497682026502\n# Conn_ID: 2\n# Query_time: 0.37149503\n# Parse_time: 0.053647015\n# Compile_time: 0.079568144\n# Rewrite_time: 0.019263921\n# Optimize_time: 0.000232298\n# Wait_TS: 0.00009726\n# Prewrite_time: 0.019709929 Commit_time: 0.009780039 Get_commit_ts_time: 0.000344447 Slowest_prewrite_rpc_detail: {total:0.015s, region_id: 12, store: 127.0.0.1:20161, time_detail: {total_process_time: 694.4µs, total_suspend_time: 4.05ms, tikv_grpc_process_time: 60.7µs, tikv_grpc_wait_time: 19.8µs, tikv_wall_time: 5.18ms}, scan_detail: {get_snapshot_time: 4.8µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 145.3µs, propose_send_wait: 0s, persist_log: {total: 247.7µs, write_leader_wait: 38ns, sync_log: 140.5µs, write_memtable: 413ns}, commit_log: 467.7µs, apply_batch_wait: 204.5µs, apply: {total:3.21ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 35µs, write_memtable: 336µs}, scheduler: {process: 4.72ms, latch_wait: 351.5µs}}} Commit_primary_rpc_detail: {total:0.006s, region_id: 12, store: 127.0.0.1:20161, time_detail: {total_process_time: 1.7ms, total_suspend_time: 3.3ms, tikv_grpc_process_time: 107.7µs, tikv_grpc_wait_time: 18.3µs, tikv_wall_time: 5.37ms}, scan_detail: {get_snapshot_time: 10.5µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 60.7µs, propose_send_wait: 0s, persist_log: {total: 304.7µs, write_leader_wait: 59ns, sync_log: 175.8µs, write_memtable: 1.3µs}, commit_log: 894.4µs, apply_batch_wait: 13.6µs, apply: {total:2.3ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 96.8µs, write_memtable: 1.3ms}, scheduler: {process: 4.97ms, latch_wait: 235µs}}} Write_keys: 5000 Write_size: 203762 Prewrite_region: 1\n# DB: from_select\n# Is_internal: false\n# Digest: 2eb078d80e2f69b93895c0e634b5a5b655b210941e21f8f52b7ab2a5ed4ce332\n# Mem_max: 1261096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 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('6RrwcTAJMjdfMQkwCTAJTi9BCTAJdGltZToxOTcuMW1zLCBvcGVuOjcuNjfCtXMsIGNsb3NlOjIzLjPCtXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogMzIuOW1zLCBhdXRvX2lkX2FsbG9jYXRvcjogewUMUF9jbnQ6IDEsIEdldDp7bnVtX3JwYwFLAHQBQQBfBYUoMzkwLjXCtXN9LCABEBxfZGV0YWlsOg1lHF9wcm9jZXNzCSwIIDQwBZMJPwx3YWl0DRgIMzQuCbwJGihrdl9yZWFkX3dhbA1mCCA4MhEiHGlrdl9ncnBjOlsADDMuMDIJXRUhHWEEMTUFpQGkBGt2LlgAEDEwMC42Cb8Mc2Nhbj6/AAxrZXlzJQIoZ2V0X3NuYXBzaG8RtQg4LjYB+YAsIHJvY2tzZGI6IHtibG9jazoge2NhY2hlX2hpdF9jb3UhRCQyfX19LCBjb21tAfRAeG46IHtwcmV3cml0ZToxLjElxgFjESIQczoyNzINswkUFDo5NDAuNAXiHHNsb3dlc3RfEUIlli1xGDogMC4wMDEBljxlZ2lvbl9pZDogOCwgc3RvIfs4MTI3LjAuMC4xOjIwMTYxIRAAbXq0AQQxMCnhACwtnRhzdXNwZW5kLboINTQ5DZY5eDb0AQwyNi4xBbcZIS6ZAQg0LjkZHj3xBDcwKQAEfSw6mQEhJzqKAQwxMi44BUWiigElejntJR4UX2JhdGNoBZ0MOiAxOU1wIHByb3Bvc2VfcwH0AblAOiAwcywgcGVyc2lzdF9sb2c5ewQxMhGJCWAUbGVhZGVyDTYkODhucywgc3luYwk1BDczLTkJLDBtZW10YWJsZTogMS43IehZMAVkADQVkhBhcHBseTatAAA0bewFGxWQBDUwDcQUbXV0ZXhfSZwBvQlyMp4AGRcMd2FsOiFSaZEJKxmdCDcuNAEZJZYUaGVkdWxlgS4t8hA6IDYwMU22AGwuTQElny4DAxhwcmltYXJ5/roCdroCBDM1UXqFrza5Agg0MDMNqlmYDcdN2wQxN4UaYSSRc0EADR4AM43LARxdtwQ0OVJOBEq1ApHzRrQCJSkpebVORqICADmx8K6iAggyMzJNKwlgMgQCBDkxNqICCDIwODItAFkGDDgzMG5BBImbSaEIMjg0LW9Fhj6hAqkrBRtZoWm2yp8CCU4JxBmXADEp016dAgg0MTNN1jadAgA1gYIlda00CG51bcHmCV/FAwQxLA0OFGJ5dGU6M6nPLGluc2VydDoxNjQuMuGHLQ4+3wUIOS43AR5BAxEiEHM6MzQ0bf8JFBA6OS43OAEngt0FDDE1cywRqaHdDDEyLCBFHmG2wt4FBDY5EYhSJQMILjA1AZVF5kp1BwA2kWIZIX0jBDE5ZfhtQX0lEDUuMThtKacucwchIjraBQA0DULeJQMIMTQ1TcOyJgMENDdNKUkDMiYDADM6yAUEMTTxIAktWY8INDEzQiYDBDQ2EVtlCzImAwgyMDRSJwMIMy4yEiEIxigDADNWKAMEMzOVpQBoRsQFCDQuN0XPAGy9wgQzNanYZSZJsmbEBQQ2c/6hAl2hADFpPk6eAggzLjNunQIEMTAxa1aeApHdBR4yngIEMzeWngIAMTH63p8CdUCungIEMzDRO0lxMp4CCDU5bjJmCAgxNzVtQwktWZ4AMWUZOmYIADiVD0afAgQxM+0QBRu1xQAyKYbGnQIEOTZmmgAtgFKeAgQ5NyH2AGxdngAyRehFnGLCBQw1MDAwMsUFUDIwMzc2Mn0JNzI3LjUgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('9RrweQrwGgoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTk3LjFtcywgb3Blbjo3LjY3wrVzLCBjbG9zZToyMy4zwrVzLCBsb29wczoxYt8OcHJlcGFyZToge3RvdGFsOiAzMi45bXMsIGF1dG9faWRfYWxsb2NhdG9yOiB7BQx4X2NudDogMSwgR2V0OntudW1fcnBjOjEsIHRvdGFsXwWGKDM5MC41wrVzfSwgARAgX2RldGFpbDogCWUcX3Byb2Nlc3MJLAggNDAFowk/DHdhaXQNGAwzNC43HRooa3ZfcmVhZF93YWwNZgggODIRIhxpa3ZfZ3JwYzpbAAwzLjAyCUMVIR1hBDE1BaUBpARrdi5YABAxMDAuNgm/DHNjYW4+vwAMa2V5cyUCKGdldF9zbmFwc2hvEbUIOC42AfmALCByb2Nrc2RiOiB7YmxvY2s6IHtjYWNoZV9oaXRfY291IUQkMn19fSwgY29tbQH0QHhuOiB7cHJld3JpdGU6MS4xJccBYxEiEHM6MjcyDbMJFBQ6OTQwLjQF4hxzbG93ZXN0XxFCJZYtcRg6IDAuMDAxAZaIZWdpb25faWQ6IDgsIHN0b3JlOiAxMjcuMC4wLjE6MjAxNjEhEABterQBBDEwKeEx9hhzdXNwZW5kLboINTQ5DZY5eDb0AQwyNi4xBbcZIS6ZAQg0LjkZHj3xBDcwKQAEfSw6mQEhJzqKAQwxMi44BUWiigElejntJR4UX2JhdGNoBZ0MOiAxOU1wIHByb3Bvc2VfcwH0AblAOiAwcywgcGVyc2lzdF9sb2c5ewQxMhGJCWAUbGVhZGVyDTYkODhucywgc3luYwk1BDczLTkJLBhtZW10YWJsIaQELjch6FkwBWQANBWSEGFwcGx5Nq0ABDQuae0FGxWQBDUwDcQUbXV0ZXhfSZwBvQlyMp4AGRcId2FsQSgNOwkrGZ0INy40YaollhRoZWR1bGWBLi3yEDogNjAxTbYAbC5NASWfLgMDGHByaW1hcnn+ugJ2ugIEMzVReoWvNrkCCDQwMw2qWZgNx03bBDE3hRphJJFzQQANHgAzjcsBHF23BDQ5Uk4ESrUCkfNGtAIlKSl5tU5GogIEOS6t8a6iAggyMzJNKwlgMgQCBDkxNqICCDIwODItAFkGDDgzMG5BBImbSaEIMjg0LW9Fhj6hAqkrBRtZoWm2yp8CCU4JxBmXADEp016dAgg0MTNN1jadAgA1gYIlda00CG51bcHmCV/FAwQxLA0OFGJ5dGU6M6nPAGnlmSg6MTY0LjJtc2K1Cy0PPuAFCDkuN+FnQQQRIhBzOjM0NI0ACRQQOjkuNzgBJ4LeBQwxNXMsEaqh3gwxMiwgRR9ht8LfBQQ2ORGIUiYDCC4wNQGVRedKdgcANpFjGSF9JAQxOWX5bUJ9JhA1LjE4bSmoLnQHISI62wUANA1C3iYDCDE0NU3EsicDBDQ3TSpJBDInAwAzOskFBDE08SEJLVmQCDQxM0InAwQ0NhFbZQwyJwMIMjA0UigDCDMuMhIiCMYpAwAzVikDBDMzlaYAaEbFBQw0LjcyIfUAbL3DBDM1qdllJ0myZsUFBDZz/qECXaEAMWk+Tp4CCDMuMwGoWXw6wQUAMDFrGSIungKR3gUeMp4CBDM3lp4CADEx+t6fAnVArp4CBDMw0TxJcTKeAgg1OW4yZwgIMTc1bUMJLVmeADFlGTpnCAA4lQ9GnwIEMTPtEQUbtcYAMimGxp0CBDk2ZpoALYBSngIEOTch9gBsXZ4AMkXoRZxiwwUMNTAwMDLGBVwyMDM3NjJ9cKi8LXj///////////8BGAE=')\n# Resource_group: default\nuse from_select;\ninsert into src values (0, 'abc-0'),(1, 'abc-1'),(2, 'abc-2'),(3, 'abc-3'),(4, 'abc-4'),(5, 'abc-5'),(6, 'abc-6'),(7, 'abc-7'),(8, 'abc-8'),(9, 'abc-9'),(10, 'abc-10'),(11, 'abc-11'),(12, 'abc-12'),(13, 'abc-13'),(14, 'abc-14'),(15, 'abc-15'),(16, 'abc-16'),(17, 'abc-17'),(18, 'abc-18'),(19, 'abc-19'),(20, 'abc-20'),(21, 'abc-21'),(22, 'abc-22'),(23, 'abc-23'),(24, 'abc-24'),(25, 'abc-25'),(26, 'abc-26'),(27, 'abc-27'),(28, 'abc-28'),(29, 'abc-29'),(30, 'abc-30'),(31, 'abc-31'),(32, 'abc-32'),(33, 'abc-33'),(34, 'abc-34'),(35, 'abc-35'),(36, 'abc-36'),(37, 'abc-37'),(38, 'abc-38'),(39, 'abc-39'),(40, 'abc-40'),(41, 'abc-41'),(42, 'abc-42'),(43, 'abc-43'),(44, 'abc-44'),(45, 'abc-45'),(46, 'abc-46'),(47, 'abc-47'),(48, 'abc-48'),(49, 'abc-49'),(50, 'abc-50'),(51, 'abc-51'),(52, 'abc-52'),(53, 'abc-53'),(54, 'abc-54'),(55, 'abc-55'),(56, 'abc-56'),(57, 'abc-57'),(58, 'abc-58'),(59, 'abc-59'),(60, 'abc-60'),(61, 'abc-61'),(62, 'abc-62'),(63, 'abc-63'),(64, 'abc-64'),(65, 'abc-65'),(66, 'abc-66'),(67, 'abc-67'),(68, 'abc-68'),(69, 'abc-69'),(70, 'abc-70'),(71, 'abc-71'),(72, 'abc-72'),(73, 'abc-73'),(74, 'abc-74'),(75, 'abc-75'),(76, 'abc-76'),(77, 'abc-77'),(78, 'abc-78'),(79, 'abc-79'),(80, 'abc-80'),(81, 'abc-81'),(82, 'abc-82'),(83, 'abc-83'),(84, 'abc-84'),(85, 'abc-85'),(86, 'abc-86'),(87, 'abc-87'),(88, 'abc-88'),(89, 'abc-89'),(90, 'abc-90'),(91, 'abc-91'),(92, 'abc-92'),(93, 'abc-93'),(94, 'abc-94'),(95, 'abc-95'),(96, 'abc-96'),(97, 'abc-97'),(98, 'abc-98'),(99, 'abc-99'),(100, 'abc-100'),(101, 'abc-101'),(102, 'abc-102'),(103, 'abc-103'),(104, 'abc-104'),(105, 'abc-105'),(106, 'abc-106'),(107, 'abc-107'),(108, 'abc-108'),(109, 'abc-109'),(110, 'abc-110'),(111, 'abc-111'),(112, 'abc-112'),(113, 'abc-113'),(114, 'abc-114'),(115, 'abc-115'),(116, 'abc-116'),(117, 'abc-117'),(118, 'abc-118'),(119, 'abc-119'),(120, 'abc-120'),(121, 'abc-121'),(122, 'abc-122'),(123, 'abc-123'),(124, 'abc-124'),(125, 'abc-125'),(126, 'abc-126'),(127, 'abc-127'),(128, 'abc-128'),(129, 'abc-129'),(130, 'abc-130'),(131, 'abc-131'),(132, 'abc-132'),(133, 'abc-133'),(134, 'abc-134'),(135, 'abc-135'),(136, 'abc-136'),(137, 'abc-137'),(138, 'abc-138'),(139, 'abc-139'),(140, 'abc-140'),(141, 'abc-141'),(142, 'abc-142'),(143, 'abc-143'),(144, 'abc-144'),(145, 'abc-145'),(146, 'abc-146'),(147, 'abc-147'),(148, 'abc-148'),(149, 'abc-149'),(150, 'abc-150'),(151, 'abc-151'),(152, 'abc-152'),(153, 'abc-153'),(154, 'abc-154'),(155, 'abc-155'),(156, 'abc-156'),(157, 'abc-157'),(158, 'abc-158'),(159, 'abc-159'),(160, 'abc-160'),(161, 'abc-161'),(162, 'abc-162'),(163, 'abc-163'),(164, 'abc-164'),(165, 'abc-165'),(166, 'abc-166'),(167, 'abc-167'),(168, 'abc-168'),(169, 'abc-169'),(170, 'abc-170'),(171, 'abc-171'),(172, 'abc-172'),(173, 'abc-173'),(174, 'abc-174'),(175, 'abc-175'),(176, 'abc-176'),(177, 'abc-177'),(178, 'abc-178'),(179, 'abc-179'),(180, 'abc-180'),(181, 'abc-181'),(182, 'abc-182'),(183, 'abc-183'),(184, 'abc-184'),(185, 'abc-185'),(186, 'abc-186'),(187, 'abc-187'),(188, 'abc-188'),(189, 'abc-189'),(190, 'abc-190'),(191, 'abc-191'),(192, 'abc-192'),(193, 'abc-193'),(194, 'abc-194'),(195, 'abc-195'),(196, 'abc-196'),(197, 'abc-197'),(198, 'abc-198'),(199, 'abc-199'),(200, 'abc-200'),(201, 'abc-201'),(202, 'abc-202'),(203, 'abc-203'),(204, 'abc-204'),(205, 'abc-205'),(206, 'abc-206'),(207, 'abc-207'),(208, 'abc-208'),(209, 'abc-209'),(210, 'abc-210'),(211, 'abc-211'),(212, 'abc-212'),(213, 'abc-213'),(214, 'abc-214'),(215, 'abc-215'),(216, 'abc-216'),(217, 'abc-217'),(218, 'abc-218'),(219, 'abc-219'),(220, 'abc-220'),(221, 'abc-221'),(222, 'abc-222'),(223, 'abc-223'),(224, 'abc-224'),(225, 'abc-225'),(226, 'abc-226'),(227, 'abc-227'),(228, 'abc-228'),(229, 'abc-229'),(230, 'abc-230'),(231, 'abc-231'),(232, 'abc-232'),(233, 'abc-233'),(234, 'abc-234'),(235, 'abc-235'),(236, 'abc-236'),(237, 'abc-237'),(238, 'abc-238'),(239, 'abc-239'),(240, 'abc-240'),(241, 'abc-241'),(242, 'abc-242'),(243, 'abc-243'),(244, 'abc-244'),(245, 'abc-245'),(246, 'abc-246'),(247, 'abc-247'),(248, 'abc-248'),(249, 'abc-249'),(250, 'abc-250'),(251, 'abc-251'),(252, 'ab(len:92802);"] [2025/04/05 23:09:28.535 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [concurrency=8] [target-table=`from_select`.`dst`] [target-table-id=127] [2025/04/05 23:09:28.542 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:28.542 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:28.542 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:28.542 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:28.542 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:28.542 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:28.542 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:28.543 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:28.543 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:28.544 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:28.556 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:28.558 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:28.558 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:28.562 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:28.565 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:28.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.567 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.567 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=22.849853ms] [encodeDur=17.360301ms] [checksum="{cksum=10241753202735382422,size=25031,kvs=614}"] [deliverDur=1.931085ms] [type=query] [takeTime=45.225527ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=22.141476ms] [encodeDur=17.833043ms] [checksum="{cksum=6979328833007858211,size=25639,kvs=629}"] [deliverDur=1.832966ms] [type=query] [takeTime=45.065007ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=22.798057ms] [encodeDur=17.466293ms] [checksum="{cksum=3940014683488394559,size=24969,kvs=613}"] [deliverDur=1.853704ms] [type=query] [takeTime=45.450874ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=21.767767ms] [encodeDur=18.27212ms] [checksum="{cksum=10101683985025758452,size=24623,kvs=604}"] [deliverDur=1.94527ms] [type=query] [takeTime=45.151275ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=22.714891ms] [encodeDur=17.368303ms] [checksum="{cksum=13311691569487261612,size=25553,kvs=627}"] [deliverDur=1.97432ms] [type=query] [takeTime=45.143151ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=22.855646ms] [encodeDur=17.414234ms] [checksum="{cksum=5741245245991764132,size=25580,kvs=628}"] [deliverDur=1.954659ms] [type=query] [takeTime=45.486623ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=21.966008ms] [encodeDur=18.242346ms] [checksum="{cksum=15725149520716471527,size=26290,kvs=645}"] [deliverDur=2.021905ms] [type=query] [takeTime=45.651387ms] [] [2025/04/05 23:09:28.612 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [key=import-from-select] [readDur=22.504963ms] [encodeDur=17.742387ms] [checksum="{cksum=5794260326079788398,size=26077,kvs=640}"] [deliverDur=2.075888ms] [type=query] [takeTime=45.683224ms] [] [2025/04/05 23:09:28.613 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=24969] [kvs=613] [files=1] [sstFileSize=8094] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/e2c6d7a6-06f1-4a91-b18c-4d810b208714.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000001382] [2025/04/05 23:09:28.613 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:28.613 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25031] [kvs=614] [files=1] [sstFileSize=8136] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/9e9335d0-a3a3-4a38-83fa-39db693bc47f.sst] [firstKey=74800000000000007F5F728000000000000005] [lastKey=74800000000000007F5F728000000000001388] [2025/04/05 23:09:28.615 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25553] [kvs=627] [files=1] [sstFileSize=8215] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/bd0ffe2d-6c95-45c7-941f-4e0d9434ccad.sst] [firstKey=74800000000000007F5F728000000000000006] [lastKey=74800000000000007F5F728000000000001384] [2025/04/05 23:09:28.616 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25639] [kvs=629] [files=1] [sstFileSize=8272] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/393457e6-5549-4b7c-b617-eb0e34758847.sst] [firstKey=74800000000000007F5F72800000000000000E] [lastKey=74800000000000007F5F728000000000001386] [2025/04/05 23:09:28.617 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26077] [kvs=640] [files=1] [sstFileSize=8413] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/7cbf9958-2e1a-4974-8ff7-3e7a0492f2c0.sst] [firstKey=74800000000000007F5F728000000000000002] [lastKey=74800000000000007F5F728000000000001380] [2025/04/05 23:09:28.619 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26290] [kvs=645] [files=1] [sstFileSize=8355] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/237a2491-4105-4034-bac7-38cc52fb4dbe.sst] [firstKey=74800000000000007F5F728000000000000004] [lastKey=74800000000000007F5F728000000000001385] [2025/04/05 23:09:28.620 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25580] [kvs=628] [files=1] [sstFileSize=8270] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/b95037cb-3c6d-409d-8e85-3ad7b924ab94.sst] [firstKey=74800000000000007F5F728000000000000003] [lastKey=74800000000000007F5F728000000000001387] [2025/04/05 23:09:28.621 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=24623] [kvs=604] [files=1] [sstFileSize=7965] [file=/tmp/tidb/import-4000/15940c0a-6131-4434-ad85-e20b00382c06/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/539c2d49-dc6f-441c-b520-2e56edba38de.sst] [firstKey=74800000000000007F5F728000000000000008] [lastKey=74800000000000007F5F728000000000001381] [2025/04/05 23:09:28.625 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=12.199041ms] [] [2025/04/05 23:09:28.625 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:28.630 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:28.653 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=5000] [size=203762] [2025/04/05 23:09:28.653 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:28.656 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000001389] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0013890000000000fa] [2025/04/05 23:09:28.680 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:09:28.710 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=203762] [kvs=5000] [importedSize=203762] [importedCount=5000] [2025/04/05 23:09:28.712 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=86.956891ms] [] [2025/04/05 23:09:28.712 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:28.714 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.478423ms] [] [2025/04/05 23:09:28.714 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:28.717 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:28.717 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.740539ms] [] [2025/04/05 23:09:28.717 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [2025/04/05 23:09:28.718 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [2025/04/05 23:09:28.724 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [takeTime=6.094366ms] [] [2025/04/05 23:09:28.724 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [checksum="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/05 23:09:28.724 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [weight=30] [2025/04/05 23:09:28.724 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [concurrency=15] [2025/04/05 23:09:28.729 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=2965160055807091455] [totalKvs=5000] [totalBytes=203762] [2025/04/05 23:09:28.729 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:28.729 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [local="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/05 23:09:28.729 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=15940c0a-6131-4434-ad85-e20b00382c06] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [takeTime=11.524895ms] [] [2025/04/05 23:09:28.729 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:28.729 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=7.074µs] [] [2025/04/05 23:09:28.729 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:28.731 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.502397ms] [] [2025/04/05 23:09:28.731 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:28.731 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=7.416µs] [] [2025/04/05 23:09:28.731 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:28.732 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=760.918µs] [] [2025/04/05 23:09:28.735 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:28.735 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:28.735 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:28.735 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:28.735 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:28.735 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:28.735 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:28.735 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:28.735 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.735 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.735 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:28.735 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:28.737 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:28.737 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:28.737 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:28.737 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectBasic (1.58s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectColumnList [2025/04/05 23:09:28.821 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 23:09:28.821 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.825 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=160.969µs] [gotSchemaVersion=67] [phyTblIDs="[125,127]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:28.844 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=67] [2025/04/05 23:09:28.846 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=7.062392ms] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=137.839µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:28.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=68] [2025/04/05 23:09:28.871 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=6.659084ms] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.885 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:09:28.894 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=121.054µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:28.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=69] [2025/04/05 23:09:28.899 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=6.508401ms] [job="ID:129, Type:drop schema, State:done, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.907 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[125,127]"] [comment="drop schema: table IDs"] [2025/04/05 23:09:28.911 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop schema"] [2025/04/05 23:09:28.912 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:synced, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.926 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 23:09:28.927 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 23:09:28.937 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 23:09:28.937 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.955 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=670.931µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:28.958 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=70] [2025/04/05 23:09:28.960 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=7.001779ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:28.979 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 23:09:28.979 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 23:09:28.992 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:28.992 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, a varchar(64))"] [2025/04/05 23:09:28.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.001 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: src)"] [2025/04/05 23:09:29.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.327469ms] [gotSchemaVersion=71] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=71] [2025/04/05 23:09:29.019 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=7.677794ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:28.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:28.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/05 23:09:29.041 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=from_select] [sql="create table src(id int, a varchar(64))"] [user=] [2025/04/05 23:09:29.054 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.054 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [2025/04/05 23:09:29.059 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.064 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 134, Table Name: dst)"] [2025/04/05 23:09:29.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.683029ms] [gotSchemaVersion=72] [phyTblIDs="[134]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=72] [2025/04/05 23:09:29.084 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=8.685482ms] [job="ID:135, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.096 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.107 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/05 23:09:29.107 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=72] [cur_db=from_select] [sql="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [user=] [2025/04/05 23:09:29.155 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=134] [2025/04/05 23:09:29.160 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:29.160 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:29.161 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:29.161 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:29.161 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:29.161 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:29.161 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:29.161 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:29.162 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:29.162 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:29.172 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:29.174 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:29.174 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:29.177 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.180 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.278 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [key=import-from-select] [2025/04/05 23:09:29.278 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [key=import-from-select] [2025/04/05 23:09:29.278 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [key=import-from-select] [readDur=46.238µs] [encodeDur=292.771µs] [checksum="{cksum=18204858445606676516,size=126,kvs=3}"] [deliverDur=30.093µs] [type=query] [takeTime=585.255µs] [] [2025/04/05 23:09:29.279 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [key=import-from-select] [readDur=5.583µs] [encodeDur=570.208µs] [checksum="{cksum=12320144212414146790,size=42,kvs=1}"] [deliverDur=416.146µs] [type=query] [takeTime=1.152766ms] [] [2025/04/05 23:09:29.279 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=126] [kvs=3] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/ec568817-4fe0-46b1-869b-820e27fb449a/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/81a95e65-ebac-4fc1-8613-060423f684b2.sst] [firstKey=7480000000000000865F728000000000000001] [lastKey=7480000000000000865F728000000000000004] [2025/04/05 23:09:29.280 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.280 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=42] [kvs=1] [files=1] [sstFileSize=940] [file=/tmp/tidb/import-4000/ec568817-4fe0-46b1-869b-820e27fb449a/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/bed9bf9b-a753-4b18-a48b-745d99e37888.sst] [firstKey=7480000000000000865F728000000000000002] [lastKey=7480000000000000865F728000000000000002] [2025/04/05 23:09:29.282 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=2.74128ms] [] [2025/04/05 23:09:29.283 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:29.287 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:29.309 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=168] [2025/04/05 23:09:29.309 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:29.310 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000865f728000000000000001] [endOfAllRanges=7480000000000000865f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff865f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff865f728000000000ff0000050000000000fa] [2025/04/05 23:09:29.321 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=168] [kvs=4] [importedSize=168] [importedCount=4] [2025/04/05 23:09:29.323 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=39.969601ms] [] [2025/04/05 23:09:29.323 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.324 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.306541ms] [] [2025/04/05 23:09:29.324 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:29.327 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.327 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.377793ms] [] [2025/04/05 23:09:29.328 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [2025/04/05 23:09:29.328 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [2025/04/05 23:09:29.333 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [takeTime=5.037632ms] [] [2025/04/05 23:09:29.333 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/05 23:09:29.333 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [weight=30] [2025/04/05 23:09:29.333 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [concurrency=15] [2025/04/05 23:09:29.335 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=134] [physicalTableID=134] [indexID=-1] [checksum=6223226670940176578] [totalKvs=4] [totalBytes=168] [2025/04/05 23:09:29.335 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:29.335 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [local="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/05 23:09:29.335 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=ec568817-4fe0-46b1-869b-820e27fb449a] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [takeTime=7.56934ms] [] [2025/04/05 23:09:29.335 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.335 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=7.699µs] [] [2025/04/05 23:09:29.335 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.336 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.045406ms] [] [2025/04/05 23:09:29.337 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.337 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=7.125µs] [] [2025/04/05 23:09:29.337 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.337 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=820.442µs] [] [2025/04/05 23:09:29.340 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:29.340 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:29.340 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:29.340 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:29.340 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:29.340 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:29.340 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:29.341 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.341 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.340 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:29.341 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.341 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:29.342 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:29.342 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.342 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.342 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.357 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.357 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 23:09:29.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.369 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 136, Table Name: dst, Old Table ID: 134, Old Table Name: dst)"] [2025/04/05 23:09:29.385 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.692061ms] [gotSchemaVersion=73] [phyTblIDs="[134,136]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:29.389 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=73] [2025/04/05 23:09:29.390 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=8.245384ms] [job="ID:137, Type:truncate table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.401 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=137] [tableIDs="[134]"] [comment="truncate table: table ID"] [2025/04/05 23:09:29.405 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="truncate table"] [2025/04/05 23:09:29.406 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.423 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 23:09:29.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=73] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 23:09:29.437 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.437 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src2(id int, a varchar(64))"] [2025/04/05 23:09:29.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.448 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 138, Table Name: src2)"] [2025/04/05 23:09:29.461 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.436162ms] [gotSchemaVersion=74] [phyTblIDs="[138]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=74] [2025/04/05 23:09:29.466 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=7.842851ms] [job="ID:139, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.477 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/05 23:09:29.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=from_select] [sql="create table src2(id int, a varchar(64))"] [user=] [2025/04/05 23:09:29.536 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=136] [2025/04/05 23:09:29.541 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:29.542 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:29.542 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:29.542 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:29.542 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:29.542 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:29.542 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:29.542 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:29.543 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:29.543 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:29.554 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:29.555 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:29.555 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:29.559 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.562 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.609 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [key=import-from-select] [2025/04/05 23:09:29.610 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [key=import-from-select] [readDur=19.442µs] [encodeDur=498.036µs] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [deliverDur=25.795µs] [type=query] [takeTime=883.051µs] [] [2025/04/05 23:09:29.610 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=80] [kvs=2] [files=1] [sstFileSize=984] [file=/tmp/tidb/import-4000/51f2d354-0cc4-435b-af89-af3686668a75/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/699f06d1-b322-4015-9033-75f02808304c.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/05 23:09:29.611 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [key=import-from-select] [2025/04/05 23:09:29.611 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=88.503µs] [] [2025/04/05 23:09:29.611 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.613 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.623587ms] [] [2025/04/05 23:09:29.613 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:29.617 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:29.640 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=80] [2025/04/05 23:09:29.640 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:29.641 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000030000000000fa] [2025/04/05 23:09:29.651 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/05 23:09:29.653 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=40.287261ms] [] [2025/04/05 23:09:29.653 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.655 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.45865ms] [] [2025/04/05 23:09:29.655 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:29.659 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.659 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.858996ms] [] [2025/04/05 23:09:29.659 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [2025/04/05 23:09:29.659 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [2025/04/05 23:09:29.664 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [takeTime=5.627139ms] [] [2025/04/05 23:09:29.665 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/05 23:09:29.665 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [weight=30] [2025/04/05 23:09:29.665 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [concurrency=15] [2025/04/05 23:09:29.666 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=8162185998638841877] [totalKvs=2] [totalBytes=80] [2025/04/05 23:09:29.667 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:29.667 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [local="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/05 23:09:29.667 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=51f2d354-0cc4-435b-af89-af3686668a75] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [takeTime=8.155485ms] [] [2025/04/05 23:09:29.667 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.667 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=7.067µs] [] [2025/04/05 23:09:29.667 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:29.668 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.043554ms] [] [2025/04/05 23:09:29.668 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.668 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=7.022µs] [] [2025/04/05 23:09:29.668 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:29.669 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=898.127µs] [] [2025/04/05 23:09:29.672 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:29.672 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:29.672 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:29.672 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:29.672 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:29.672 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:29.672 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.673 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:29.672 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:29.673 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.673 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:29.673 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:29.675 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:29.675 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:29.675 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:29.675 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectColumnList (0.87s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectStaleRead [2025/04/05 23:09:29.689 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.690 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 23:09:29.695 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=156.482µs] [gotSchemaVersion=75] [phyTblIDs="[132,136,138]"] [actionTypes="[2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:29.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=75] [2025/04/05 23:09:29.716 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=6.811265ms] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.722 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 23:09:29.723 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=119] [columnID=3] [2025/04/05 23:09:29.723 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:09:29.726 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.739 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=130.177µs] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:29.742 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=76] [2025/04/05 23:09:29.744 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=7.627846ms] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.760 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:09:29.770 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=121.045µs] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:29.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=77] [2025/04/05 23:09:29.775 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=7.156587ms] [job="ID:140, Type:drop schema, State:done, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.784 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[132,136,138]"] [comment="drop schema: table IDs"] [2025/04/05 23:09:29.789 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop schema"] [2025/04/05 23:09:29.790 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:synced, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.806 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 23:09:29.806 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=77] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 23:09:29.818 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 23:09:29.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=693.784µs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:29.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=78] [2025/04/05 23:09:29.841 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=8.141478ms] [job="ID:142, Type:create schema, State:done, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.853 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:synced, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.863 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/05 23:09:29.863 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 23:09:29.882 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:29.882 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/05 23:09:29.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.892 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 143, Table Name: src)"] [2025/04/05 23:09:29.906 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.604652ms] [gotSchemaVersion=79] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:29.909 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=79] [2025/04/05 23:09:29.911 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=8.353105ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:29.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.921 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:29.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:29.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/05 23:09:29.932 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/05 23:09:30.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151498193207298] [2025/04/05 23:09:30.146 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=96ms] [prevState=normal] [newState=adapting] [2025/04/05 23:09:30.165 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.165 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/05 23:09:30.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.175 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: dst)"] [2025/04/05 23:09:30.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.528433ms] [gotSchemaVersion=80] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:30.193 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=80] [2025/04/05 23:09:30.195 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=8.157995ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.206 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.217 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 23:09:30.217 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=80] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/05 23:09:30.220 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457151498168303616] [2025/04/05 23:09:30.221 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' 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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:115\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-05 23:09:30.039347'"] [2025/04/05 23:09:30.221 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' 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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:116\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/05 23:09:30.262 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=145] [2025/04/05 23:09:30.269 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:30.269 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:30.269 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.269 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:30.269 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.269 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.269 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.270 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.270 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.270 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.281 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:30.283 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:30.283 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:30.286 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.289 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.332 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [key=import-from-select] [2025/04/05 23:09:30.333 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [key=import-from-select] [readDur=10.41µs] [encodeDur=227.678µs] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [deliverDur=293.665µs] [type=query] [takeTime=828.152µs] [] [2025/04/05 23:09:30.334 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/8d233916-be0e-435b-8700-21003378e4dc/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/047be934-27d9-4c46-8703-551caa38653c.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000001] [2025/04/05 23:09:30.335 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [key=import-from-select] [2025/04/05 23:09:30.335 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=96.501µs] [] [2025/04/05 23:09:30.335 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.337 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.517021ms] [] [2025/04/05 23:09:30.337 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:30.341 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.363 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=1] [size=33] [2025/04/05 23:09:30.363 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.364 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000020000000000fa] [2025/04/05 23:09:30.375 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/05 23:09:30.377 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=39.752094ms] [] [2025/04/05 23:09:30.377 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.378 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.530909ms] [] [2025/04/05 23:09:30.378 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:30.382 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.382 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.616045ms] [] [2025/04/05 23:09:30.382 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [2025/04/05 23:09:30.382 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [2025/04/05 23:09:30.388 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [takeTime=5.56783ms] [] [2025/04/05 23:09:30.388 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/05 23:09:30.388 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [weight=30] [2025/04/05 23:09:30.388 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [concurrency=15] [2025/04/05 23:09:30.390 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=15050668223368551470] [totalKvs=1] [totalBytes=33] [2025/04/05 23:09:30.390 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:30.390 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [local="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/05 23:09:30.390 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=8d233916-be0e-435b-8700-21003378e4dc] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [takeTime=8.035233ms] [] [2025/04/05 23:09:30.390 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.390 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=6.621µs] [] [2025/04/05 23:09:30.390 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.392 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.010718ms] [] [2025/04/05 23:09:30.392 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.392 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=7.903µs] [] [2025/04/05 23:09:30.392 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.393 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=861.2µs] [] [2025/04/05 23:09:30.396 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.396 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.396 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.396 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.396 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.396 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.396 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.396 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.396 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.396 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.396 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.396 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.398 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:30.398 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.398 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.398 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.418 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.418 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 23:09:30.424 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.432 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 147, Table Name: dst, Old Table ID: 145, Old Table Name: dst)"] [2025/04/05 23:09:30.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.644738ms] [gotSchemaVersion=81] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:30.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=81] [2025/04/05 23:09:30.454 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=9.61189ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.465 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=148] [tableIDs="[145]"] [comment="truncate table: table ID"] [2025/04/05 23:09:30.469 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/05 23:09:30.470 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/05 23:09:30.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=81] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 23:09:30.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151498337386499] [2025/04/05 23:09:30.700 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457151498312482816] [2025/04/05 23:09:30.701 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 23:09:30.701 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:30.701 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 23:09:30.702 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=81] [error="can not execute write statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute write statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1015\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:134\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"snapshotTS\": 457151498312482816,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 23:09:30.703 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 23:09:30.703 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:09:30.703 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 23:09:30.703 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=81] [error="can not execute write statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute write statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1015\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:136\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"snapshotTS\": 457151498312482816,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 23:09:30.749 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=147] [2025/04/05 23:09:30.756 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:30.756 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:30.756 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:30.756 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:30.757 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:30.757 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:30.757 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:30.757 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:30.757 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:30.757 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:30.769 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:30.771 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:30.771 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:30.775 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.779 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.819 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [key=import-from-select] [2025/04/05 23:09:30.819 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [key=import-from-select] [2025/04/05 23:09:30.820 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [key=import-from-select] [readDur=97.427µs] [encodeDur=147.99µs] [checksum="{cksum=3360013604723935324,size=33,kvs=1}"] [deliverDur=244.726µs] [type=query] [takeTime=824.099µs] [] [2025/04/05 23:09:30.820 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [key=import-from-select] [readDur=6.59µs] [encodeDur=593.908µs] [checksum="{cksum=1618577960176647419,size=33,kvs=1}"] [deliverDur=208.545µs] [type=query] [takeTime=1.076842ms] [] [2025/04/05 23:09:30.820 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/430d6ee8-d147-42c5-a95f-730fd423d13b/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/9aee5b3e-5c99-40f0-81b4-93a911e1c051.sst] [firstKey=7480000000000000935F728000000000000002] [lastKey=7480000000000000935F728000000000000002] [2025/04/05 23:09:30.820 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.821 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=33] [kvs=1] [files=1] [sstFileSize=931] [file=/tmp/tidb/import-4000/430d6ee8-d147-42c5-a95f-730fd423d13b/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/edb7fcc4-41b2-4192-b2a5-c1b960032ba5.sst] [firstKey=7480000000000000935F728000000000000001] [lastKey=7480000000000000935F728000000000000001] [2025/04/05 23:09:30.823 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=3.090088ms] [] [2025/04/05 23:09:30.823 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:30.828 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:30.849 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/05 23:09:30.849 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:30.851 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000935f728000000000000001] [endOfAllRanges=7480000000000000935f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff935f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff935f728000000000ff0000030000000000fa] [2025/04/05 23:09:30.863 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 23:09:30.865 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=41.638393ms] [] [2025/04/05 23:09:30.865 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.867 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.431826ms] [] [2025/04/05 23:09:30.867 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:30.870 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.870 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.635993ms] [] [2025/04/05 23:09:30.871 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/05 23:09:30.871 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [2025/04/05 23:09:30.879 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [takeTime=8.136084ms] [] [2025/04/05 23:09:30.879 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:09:30.879 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [weight=30] [2025/04/05 23:09:30.879 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [concurrency=15] [2025/04/05 23:09:30.881 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=147] [physicalTableID=147] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 23:09:30.881 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:30.881 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:09:30.881 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=430d6ee8-d147-42c5-a95f-730fd423d13b] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=10.632311ms] [] [2025/04/05 23:09:30.881 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.881 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=5.822µs] [] [2025/04/05 23:09:30.881 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:30.883 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.099753ms] [] [2025/04/05 23:09:30.883 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.883 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=5.487µs] [] [2025/04/05 23:09:30.883 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:30.884 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=934.332µs] [] [2025/04/05 23:09:30.887 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:30.887 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:30.887 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:30.887 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:30.887 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:30.887 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:30.887 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:30.887 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.887 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.887 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:30.887 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.887 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:30.889 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:30.889 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:30.889 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:30.889 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:30.907 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 23:09:30.907 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:30.912 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:30.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.919 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 149, Table Name: dst, Old Table ID: 147, Old Table Name: dst)"] [2025/04/05 23:09:30.933 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.611389ms] [gotSchemaVersion=82] [phyTblIDs="[147,149]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 23:09:30.973 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=82] [2025/04/05 23:09:30.976 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=44.728388ms] [job="ID:150, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:30.989 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[147]"] [comment="truncate table: table ID"] [2025/04/05 23:09:30.994 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="truncate table"] [2025/04/05 23:09:30.995 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:30.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.013 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 23:09:31.013 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 23:09:31.016 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457151498312482816] [2025/04/05 23:09:31.017 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:149\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-05 23:09:30.589401'"] [2025/04/05 23:09:31.018 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:151\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/05 23:09:31.059 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=149] [2025/04/05 23:09:31.066 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:31.066 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:31.066 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:31.066 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:31.066 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:31.066 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:31.066 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:31.067 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:31.067 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:31.067 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:31.078 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:31.080 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:31.080 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 23:09:31.084 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:31.088 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:31.135 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [key=import-from-select] [2025/04/05 23:09:31.136 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [key=import-from-select] [readDur=9.892µs] [encodeDur=211.922µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=374.487µs] [type=query] [takeTime=1.061344ms] [] [2025/04/05 23:09:31.137 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=66] [kvs=2] [files=1] [sstFileSize=974] [file=/tmp/tidb/import-4000/e21536d3-13f4-4ee5-8ef4-d975a1f6f200/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/90ca31b1-f67d-4107-91d4-a04ba4e54497.sst] [firstKey=7480000000000000955F728000000000000001] [lastKey=7480000000000000955F728000000000000002] [2025/04/05 23:09:31.137 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [key=import-from-select] [2025/04/05 23:09:31.138 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=131.199µs] [] [2025/04/05 23:09:31.138 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:31.139 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.369285ms] [] [2025/04/05 23:09:31.139 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 23:09:31.144 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:31.167 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/05 23:09:31.167 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:31.168 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000955f728000000000000001] [endOfAllRanges=7480000000000000955f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff955f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff955f728000000000ff0000030000000000fa] [2025/04/05 23:09:31.179 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 23:09:31.181 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=41.747731ms] [] [2025/04/05 23:09:31.181 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:31.183 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.584558ms] [] [2025/04/05 23:09:31.183 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 23:09:31.186 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:31.186 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [takeTime=3.578242ms] [] [2025/04/05 23:09:31.187 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/05 23:09:31.187 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [2025/04/05 23:09:31.193 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [takeTime=6.212466ms] [] [2025/04/05 23:09:31.193 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:09:31.193 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [weight=30] [2025/04/05 23:09:31.193 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [concurrency=15] [2025/04/05 23:09:31.195 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=149] [physicalTableID=149] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 23:09:31.195 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:31.195 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 23:09:31.195 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=e21536d3-13f4-4ee5-8ef4-d975a1f6f200] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.911272ms] [] [2025/04/05 23:09:31.196 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:31.196 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=7.797µs] [] [2025/04/05 23:09:31.196 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 23:09:31.197 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.122408ms] [] [2025/04/05 23:09:31.197 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:31.197 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=6.797µs] [] [2025/04/05 23:09:31.197 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 23:09:31.198 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=953.62µs] [] [2025/04/05 23:09:31.201 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:31.201 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:31.201 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:31.201 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:31.201 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:31.201 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:31.201 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:31.201 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:31.201 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:31.201 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:31.201 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [Pipeline] // timeout [2025/04/05 23:09:31.201 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:31.203 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:31.203 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:31.203 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:31.203 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectStaleRead (1.53s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromFile [2025/04/05 23:09:31.208 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/05 23:09:31.220 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.220 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/05 23:09:31.225 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.238 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=671.579µs] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:31.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=83] [2025/04/05 23:09:31.244 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=7.866048ms] [job="ID:152, Type:create schema, State:done, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.255 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:synced, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 23:09:31.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromFile/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 23:09:31.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:31.280 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 23:09:31.280 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:31.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.289 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 153, Table Name: t)"] [2025/04/05 23:09:31.303 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.493501ms] [gotSchemaVersion=84] [phyTblIDs="[153]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:31.307 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=84] [2025/04/05 23:09:31.308 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=8.324793ms] [job="ID:154, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:31.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.319 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:31.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:31.329 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/05 23:09:31.330 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=84] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:31.631 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.679 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:31.703 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:31.717 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:31.717 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:31.820 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:31.821 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:31.822 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/05 23:09:31.829 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.832 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:31.832 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 23:09:31.832 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=53.41µs] [2025/04/05 23:09:31.832 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=141.458µs] [] [2025/04/05 23:09:31.833 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:31.833 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:31.872 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:31.892 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 23:09:31.892 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:31.900 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:31.900 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:31.901 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:31.901 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:31.901 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:31.901 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:31.901 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:31.901 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:31.901 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:31.902 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:31.914 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:31.916 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:31.916 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:31.916 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:31.916 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/05 23:09:31.916 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:31.929 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/05 23:09:31.929 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/05 23:09:31.931 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/05 23:09:31.934 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:31.938 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:31.939 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/05 23:09:31.939 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/05 23:09:31.952 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 23:09:32.013 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=1.csv:0] [2025/04/05 23:09:32.016 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=1.csv:0] [readDur=1.125241ms] [encodeDur=275.014µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=542.749µs] [type=file] [takeTime=2.281497ms] [] [2025/04/05 23:09:32.017 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=68] [kvs=2] [files=1] [sstFileSize=979] [file=/tmp/tidb/import-4000/1/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/72c93251-3740-41ed-807b-5f159b1045b1.sst] [firstKey=7480000000000000995F728000000000000004] [lastKey=7480000000000000995F728000000000000005] [2025/04/05 23:09:32.053 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=2.csv:0] [2025/04/05 23:09:32.055 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=2.csv:0] [readDur=1.191397ms] [encodeDur=254.66µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=31.578µs] [type=file] [takeTime=1.807174ms] [] [2025/04/05 23:09:32.056 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=68] [kvs=2] [files=1] [sstFileSize=979] [file=/tmp/tidb/import-4000/1/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/0f6351cf-2480-459c-947e-43c1b6d9f0dc.sst] [firstKey=7480000000000000995F728000000000000006] [lastKey=7480000000000000995F728000000000000007] [2025/04/05 23:09:32.056 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 23:09:32.056 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 23:09:32.056 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:32.058 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.962049ms] [] [2025/04/05 23:09:32.059 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 23:09:32.063 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:32.085 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/05 23:09:32.086 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:32.088 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000995f728000000000000004] [endOfAllRanges=7480000000000000995f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff995f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff995f728000000000ff0000080000000000fa] [2025/04/05 23:09:32.099 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 23:09:32.101 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=42.062231ms] [] [2025/04/05 23:09:32.101 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:32.102 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.03053ms] [] [2025/04/05 23:09:32.102 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 23:09:32.102 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:32.103 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.461509ms] [] [2025/04/05 23:09:32.103 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:32.107 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:32.107 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=3.522859ms] [] [2025/04/05 23:09:32.107 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:32.108 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=821.809µs] [] [2025/04/05 23:09:32.108 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=178.719796ms] [] [2025/04/05 23:09:32.108 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=178.893446ms] [] [2025/04/05 23:09:32.125 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:32.126 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:32.127 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:32.127 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:32.156 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:32.158 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:32.158 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:09:32.190 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:32.196 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 23:09:32.199 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:32.199 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:32.199 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:32.199 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:32.199 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:32.199 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:32.199 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:32.199 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:32.199 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:32.199 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:32.199 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:32.199 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:32.201 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:32.201 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:32.201 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:32.201 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:32.201 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=285.182205ms] [] [2025/04/05 23:09:32.202 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:32.209 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/05 23:09:32.210 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 23:09:32.210 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 23:09:32.210 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 23:09:32.215 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=5.2047ms] [] [2025/04/05 23:09:32.215 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/05 23:09:32.215 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:32.215 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/05 23:09:32.215 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/05 23:09:32.217 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=153] [physicalTableID=153] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 23:09:32.217 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:32.217 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:32.217 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=7.733595ms] [] [2025/04/05 23:09:32.217 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=7.878903ms] [] [2025/04/05 23:09:32.218 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [takeTime=8.009942ms] [] [2025/04/05 23:09:32.222 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:32.324 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:32.324 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/05 23:09:32.326 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 23:09:32.343 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=140.189403ms] [] [2025/04/05 23:09:32.343 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 23:09:32.420 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:32.425 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:32.425 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 23:09:32.453 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:32.620 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.28926245\n# Parse_time: 0.000090466\n# Compile_time: 0.000383216\n# Rewrite_time: 0.00008735\n# Optimize_time: 0.000230451\n# Wait_TS: 0\n# DB: write_after_import\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjY3MW5zLCBjbG9zZTo2NTNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjY3MW5zLCBjbG9zZTo2NTNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse write_after_import;\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-0 (1.37s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 23:09:32.645 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.645 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:32.650 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.859445ms] [gotSchemaVersion=85] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:32.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=85] [2025/04/05 23:09:32.670 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=8.291263ms] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.886375ms] [gotSchemaVersion=86] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:32.697 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=86] [2025/04/05 23:09:32.698 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=8.708882ms] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.706 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.712 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 153, Old Table Name: t)"] [2025/04/05 23:09:32.726 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.175758ms] [gotSchemaVersion=87] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:32.729 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=87] [2025/04/05 23:09:32.731 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=7.8641ms] [job="ID:155, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.740 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=155] [tableIDs="[153]"] [comment="drop table: table ID"] [2025/04/05 23:09:32.745 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=155] [jobType="drop table"] [2025/04/05 23:09:32.746 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.763 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 23:09:32.763 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:32.776 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:32.776 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 23:09:32.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.786 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 156, Table Name: t)"] [2025/04/05 23:09:32.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.50023ms] [gotSchemaVersion=88] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:32.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=88] [2025/04/05 23:09:32.806 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=8.224037ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:32.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.816 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:32.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:32.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/05 23:09:32.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=88] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:32.833 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:32.880 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:32.898 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:32.911 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:32.911 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:33.014 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:33.015 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:33.016 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/05 23:09:33.023 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.026 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:33.026 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 23:09:33.026 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=69.101µs] [2025/04/05 23:09:33.026 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=210.144µs] [] [2025/04/05 23:09:33.026 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:33.027 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:33.061 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:33.080 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 23:09:33.080 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:33.092 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:33.092 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:33.093 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:33.093 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:33.093 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:33.093 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:33.093 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:33.093 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:33.094 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:33.094 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:33.107 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:33.109 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:33.109 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:33.109 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:33.109 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:33.109 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/05 23:09:33.117 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/05 23:09:33.117 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/05 23:09:33.119 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/05 23:09:33.120 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:33.124 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:33.125 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/05 23:09:33.125 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/05 23:09:33.142 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 23:09:33.301 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=1.csv:0] [2025/04/05 23:09:33.303 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=1.csv:0] [readDur=1.111192ms] [encodeDur=320.791µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=441.543µs] [type=file] [takeTime=2.302043ms] [] [2025/04/05 23:09:33.304 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/2/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/7e612353-5ada-42c7-8bc2-0a240ae11fc0.sst] [firstKey=74800000000000009C5F728000000000000001] [lastKey=74800000000000009C5F728000000000000002] [2025/04/05 23:09:33.313 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=2.csv:0] [2025/04/05 23:09:33.315 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=2.csv:0] [readDur=855.521µs] [encodeDur=341.316µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=278.334µs] [type=file] [takeTime=1.807145ms] [] [2025/04/05 23:09:33.316 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/2/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/7ce22ddf-523e-42eb-9aa2-92499d595b9f.sst] [firstKey=74800000000000009C5F72800000000000000A] [lastKey=74800000000000009C5F72800000000000000B] [2025/04/05 23:09:33.316 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:33.317 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:33.317 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:33.319 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=2.007783ms] [] [2025/04/05 23:09:33.319 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 23:09:33.323 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:33.345 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:33.345 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:33.347 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f728000000000000001] [endOfAllRanges=74800000000000009c5f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ff9c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9c5f728000000000ff00000c0000000000fa] [2025/04/05 23:09:33.358 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:33.360 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=40.821872ms] [] [2025/04/05 23:09:33.360 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:33.361 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.046137ms] [] [2025/04/05 23:09:33.361 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 23:09:33.361 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:33.362 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.050662ms] [file=/tmp/tidb/import-4000/2/630083e6-fc50-5cd2-8645-c17b147197ce.sst/141b7ddb-43f4-4e66-8067-97150b71fde0.sst] [2025/04/05 23:09:33.362 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=144] [kvs=4] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/2/630083e6-fc50-5cd2-8645-c17b147197ce.sst/141b7ddb-43f4-4e66-8067-97150b71fde0.sst] [firstKey=74800000000000009C5F698000000000000001038000000000000004] [lastKey=74800000000000009C5F698000000000000001038000000000000007] [2025/04/05 23:09:33.364 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=3.274972ms] [] [2025/04/05 23:09:33.364 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:33.368 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:33.391 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 23:09:33.391 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:33.393 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f698000000000000001038000000000000004] [endOfAllRanges=74800000000000009c5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 23:09:33.403 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 23:09:33.406 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=41.271729ms] [] [2025/04/05 23:09:33.406 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:33.407 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=935.888µs] [] [2025/04/05 23:09:33.407 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=289.981323ms] [] [2025/04/05 23:09:33.407 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=290.161632ms] [] [2025/04/05 23:09:33.418 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:33.419 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:33.421 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:33.421 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:33.451 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:33.453 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:33.453 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:09:33.491 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:33.497 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 23:09:33.501 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:33.501 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:33.501 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:33.501 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:33.501 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:33.501 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:33.501 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:33.501 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.501 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.501 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.501 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:33.501 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:33.503 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:33.503 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:33.503 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:33.503 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:33.503 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=394.092654ms] [] [2025/04/05 23:09:33.505 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:33.513 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/05 23:09:33.513 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 23:09:33.513 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 23:09:33.513 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 23:09:33.519 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=6.330616ms] [] [2025/04/05 23:09:33.519 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/05 23:09:33.519 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/05 23:09:33.519 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 23:09:33.519 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/05 23:09:33.519 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/05 23:09:33.525 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:33.526 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/05 23:09:33.527 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:33.527 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 23:09:33.527 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=14.257428ms] [] [2025/04/05 23:09:33.527 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=14.412962ms] [] [2025/04/05 23:09:33.527 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [takeTime=14.568126ms] [] [2025/04/05 23:09:33.540 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:33.618 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:33.618 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 23:09:33.621 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 23:09:33.648 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=143.631407ms] [] [2025/04/05 23:09:33.648 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 23:09:33.714 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:33.720 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:33.720 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 23:09:33.743 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:33.818 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.990710962\n# Parse_time: 0.000088004\n# Compile_time: 0.000360134\n# Rewrite_time: 0.000071824\n# Optimize_time: 0.000214452\n# Wait_TS: 0\n# DB: write_after_import\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MG1zLCBvcGVuOjYwNm5zLCBjbG9zZTo2MDNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5MG1zLCBvcGVuOjYwNm5zLCBjbG9zZTo2MDNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-2 (1.20s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 23:09:33.845 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.845 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:33.850 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.866 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.123862ms] [gotSchemaVersion=89] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:33.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=89] [2025/04/05 23:09:33.871 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=9.019545ms] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.995646ms] [gotSchemaVersion=90] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:33.899 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=90] [2025/04/05 23:09:33.901 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=8.638452ms] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.908 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.914 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 156, Old Table Name: t)"] [2025/04/05 23:09:33.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=943.766µs] [gotSchemaVersion=91] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:33.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=91] [2025/04/05 23:09:33.932 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=7.291966ms] [job="ID:158, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.942 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=158] [tableIDs="[156]"] [comment="drop table: table ID"] [2025/04/05 23:09:33.946 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop table"] [2025/04/05 23:09:33.948 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.967 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 23:09:33.967 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:33.981 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:33.981 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 23:09:33.987 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:33.991 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 159, Table Name: t)"] [2025/04/05 23:09:34.007 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.53562ms] [gotSchemaVersion=92] [phyTblIDs="[159]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.010 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=92] [2025/04/05 23:09:34.012 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=8.421583ms] [job="ID:160, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.023 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:33.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/05 23:09:34.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=92] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:34.040 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.086 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:34.104 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:34.117 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:34.117 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:34.220 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:34.221 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:34.223 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/05 23:09:34.231 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.233 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:34.233 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 23:09:34.233 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=63.641µs] [2025/04/05 23:09:34.233 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.799µs] [] [2025/04/05 23:09:34.233 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:34.233 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:34.270 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:34.290 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 23:09:34.290 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.299 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:34.300 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:34.300 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:34.300 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:34.300 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:34.300 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:34.301 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:34.301 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:34.301 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:34.301 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:34.313 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:34.315 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:34.315 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:34.315 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:34.315 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:34.315 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/05 23:09:34.323 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/05 23:09:34.323 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/05 23:09:34.326 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/05 23:09:34.326 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:34.330 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:34.330 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/05 23:09:34.330 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/05 23:09:34.345 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 23:09:34.411 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=1.csv:0] [2025/04/05 23:09:34.412 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=2.csv:0] [2025/04/05 23:09:34.413 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=1.csv:0] [readDur=863.321µs] [encodeDur=574.629µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=25.684µs] [type=file] [takeTime=1.768707ms] [] [2025/04/05 23:09:34.414 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=68] [kvs=2] [files=1] [sstFileSize=979] [file=/tmp/tidb/import-4000/3/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/357a5740-6801-444f-860b-300ba70c4071.sst] [firstKey=74800000000000009F5F728000000000000004] [lastKey=74800000000000009F5F728000000000000005] [2025/04/05 23:09:34.414 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=2.csv:0] [readDur=824.887µs] [encodeDur=215.495µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=435.613µs] [type=file] [takeTime=1.66352ms] [] [2025/04/05 23:09:34.415 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:34.415 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=68] [kvs=2] [files=1] [sstFileSize=979] [file=/tmp/tidb/import-4000/3/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/07c07d43-24ab-4974-a2a6-4da245548f8e.sst] [firstKey=74800000000000009F5F728000000000000006] [lastKey=74800000000000009F5F728000000000000007] [2025/04/05 23:09:34.415 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:34.415 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:34.417 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.93075ms] [] [2025/04/05 23:09:34.417 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 23:09:34.421 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:34.443 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/05 23:09:34.444 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:34.445 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009f5f728000000000000004] [endOfAllRanges=74800000000000009f5f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff9f5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff9f5f728000000000ff0000080000000000fa] [2025/04/05 23:09:34.456 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 23:09:34.457 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=40.571418ms] [] [2025/04/05 23:09:34.457 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:34.458 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.00452ms] [] [2025/04/05 23:09:34.459 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 23:09:34.459 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:34.460 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.569662ms] [] [2025/04/05 23:09:34.460 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:34.464 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:34.464 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=3.553809ms] [] [2025/04/05 23:09:34.464 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:34.465 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=769.253µs] [] [2025/04/05 23:09:34.465 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=142.248371ms] [] [2025/04/05 23:09:34.465 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=142.702035ms] [] [2025/04/05 23:09:34.524 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:34.525 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:34.526 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:34.526 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:34.554 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:34.556 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:34.556 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:09:34.588 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:34.595 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 23:09:34.597 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:34.597 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:34.597 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:34.597 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:34.597 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:34.597 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:34.597 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.597 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:34.597 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.597 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:34.597 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.597 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:34.599 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:34.599 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:34.599 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:34.599 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:34.599 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=283.926466ms] [] [2025/04/05 23:09:34.600 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:34.607 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/05 23:09:34.607 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 23:09:34.607 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 23:09:34.607 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 23:09:34.607 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=1.325µs] [] [2025/04/05 23:09:34.607 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/05 23:09:34.607 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:34.607 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/05 23:09:34.607 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/05 23:09:34.609 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=159] [physicalTableID=159] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 23:09:34.609 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:34.610 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:34.610 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.291511ms] [] [2025/04/05 23:09:34.610 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.408662ms] [] [2025/04/05 23:09:34.610 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [takeTime=2.527778ms] [] [2025/04/05 23:09:34.618 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:34.624 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:34.624 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/05 23:09:34.626 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 23:09:34.654 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=53.382268ms] [] [2025/04/05 23:09:34.654 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 23:09:34.719 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:34.720 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.685369735\n# Parse_time: 0.00008711\n# Compile_time: 0.000427217\n# Rewrite_time: 0.000116883\n# Optimize_time: 0.00028738\n# Wait_TS: 0\n# DB: write_after_import\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC42bXMsIG9wZW46NzE5bnMsIGNsb3NlOjg2OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC42bXMsIG9wZW46NzE5bnMsIGNsb3NlOjg2OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 23:09:34.726 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:34.726 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 23:09:34.726 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151499385962511] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-4 (0.90s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/05 23:09:34.743 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.743 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:34.746 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:34.748 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.836931ms] [gotSchemaVersion=93] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:34.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=93] [2025/04/05 23:09:34.769 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=8.760426ms] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.793 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.7894ms] [gotSchemaVersion=94] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:34.796 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=94] [2025/04/05 23:09:34.798 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=8.498002ms] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.805 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.811 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 159, Old Table Name: t)"] [2025/04/05 23:09:34.823 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=965.806µs] [gotSchemaVersion=95] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:34.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=95] [2025/04/05 23:09:34.828 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=7.751976ms] [job="ID:161, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.837 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=161] [tableIDs="[159]"] [comment="drop table: table ID"] [2025/04/05 23:09:34.841 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=161] [jobType="drop table"] [2025/04/05 23:09:34.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.858 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/05 23:09:34.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:34.870 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/05 23:09:34.870 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:34.875 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.880 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 162, Table Name: t)"] [2025/04/05 23:09:34.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.36746ms] [gotSchemaVersion=96] [phyTblIDs="[162]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:34.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=96] [2025/04/05 23:09:34.898 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=8.00235ms] [job="ID:163, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:34.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.908 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:34.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:34.919 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/05 23:09:34.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=96] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/05 23:09:34.925 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:34.970 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:34.988 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:35.001 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:35.001 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:35.103 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:35.104 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:35.105 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/05 23:09:35.112 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.115 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:35.115 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 23:09:35.115 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=64.33µs] [2025/04/05 23:09:35.115 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=193.327µs] [] [2025/04/05 23:09:35.115 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:35.115 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:35.151 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:35.171 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 23:09:35.171 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.179 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:35.179 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:35.180 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:35.180 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:35.180 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:35.180 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:35.180 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:35.180 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:35.181 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:35.181 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:35.193 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:35.195 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:35.195 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:35.195 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:35.195 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/05 23:09:35.195 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:35.202 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/05 23:09:35.202 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/05 23:09:35.205 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:35.209 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/05 23:09:35.209 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:35.209 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/05 23:09:35.209 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/05 23:09:35.223 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=2.csv:0] [2025/04/05 23:09:35.223 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=1.csv:0] [2025/04/05 23:09:35.225 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=2.csv:0] [readDur=883.172µs] [encodeDur=376.049µs] [checksum="{cksum=10862406597896790237,size=76,kvs=2}"] [deliverDur=213.554µs] [type=file] [takeTime=1.750961ms] [] [2025/04/05 23:09:35.225 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=1.csv:0] [readDur=869.482µs] [encodeDur=738.258µs] [checksum="{cksum=1363779544899807388,size=76,kvs=2}"] [deliverDur=207.378µs] [type=file] [takeTime=2.038907ms] [] [2025/04/05 23:09:35.225 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/4/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/da31b16d-17fc-4817-a100-e08a8e24e6ae.sst] [firstKey=7480000000000000A25F72800000000000000A] [lastKey=7480000000000000A25F72800000000000000B] [2025/04/05 23:09:35.226 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:35.226 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:35.226 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:35.226 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/4/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/6538ae54-f374-4284-92e4-d6dbdba27c55.sst] [firstKey=7480000000000000A25F728000000000000001] [lastKey=7480000000000000A25F728000000000000002] [2025/04/05 23:09:35.229 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=3.434406ms] [] [2025/04/05 23:09:35.230 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 23:09:35.234 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:35.239 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 23:09:35.257 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:35.257 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:35.259 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a25f728000000000000001] [endOfAllRanges=7480000000000000a25f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa25f728000000000ff00000c0000000000fa] [2025/04/05 23:09:35.270 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:35.272 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=42.866792ms] [] [2025/04/05 23:09:35.273 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:35.274 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.111318ms] [] [2025/04/05 23:09:35.274 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 23:09:35.274 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:35.275 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.513595ms] [] [2025/04/05 23:09:35.275 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:35.279 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:35.279 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=3.713948ms] [] [2025/04/05 23:09:35.279 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:35.280 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.041833ms] [] [2025/04/05 23:09:35.280 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=78.563266ms] [] [2025/04/05 23:09:35.280 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=78.725354ms] [] [2025/04/05 23:09:35.308 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:35.309 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:35.310 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:35.310 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:35.340 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:35.341 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:35.341 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:09:35.362 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 23:09:35.368 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 23:09:35.371 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:35.371 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:35.371 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:35.371 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:35.371 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:35.371 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:35.371 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:35.371 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:35.371 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:35.371 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:35.371 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:35.371 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:35.373 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:35.373 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:35.373 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:35.373 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:35.373 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=177.907032ms] [] [2025/04/05 23:09:35.374 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:35.381 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/05 23:09:35.381 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 23:09:35.381 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 23:09:35.381 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 23:09:35.386 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=4.92648ms] [] [2025/04/05 23:09:35.386 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/05 23:09:35.386 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/05 23:09:35.386 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/05 23:09:35.386 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/05 23:09:35.388 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=162] [physicalTableID=162] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:35.388 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:35.388 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/05 23:09:35.388 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=7.193057ms] [] [2025/04/05 23:09:35.388 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=7.360327ms] [] [2025/04/05 23:09:35.388 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [takeTime=7.513211ms] [] [2025/04/05 23:09:35.399 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:35.407 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:35.407 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 23:09:35.409 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 23:09:35.431 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=56.93549ms] [] [2025/04/05 23:09:35.431 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 23:09:35.503 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:35.508 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:35.508 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 23:09:35.527 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:35.603 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.684094224\n# Parse_time: 0.000096498\n# Compile_time: 0.000371217\n# Rewrite_time: 0.000070584\n# Optimize_time: 0.000234916\n# Wait_TS: 0\n# DB: write_after_import\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My40bXMsIG9wZW46NjUwbnMsIGNsb3NlOjY0MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4My40bXMsIG9wZW46NjUwbnMsIGNsb3NlOjY0MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-6 (0.88s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 23:09:35.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:35.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:35.631 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=1.826988ms] [gotSchemaVersion=97] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:35.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=97] [2025/04/05 23:09:35.651 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=8.423217ms] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.678 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.775589ms] [gotSchemaVersion=98] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:35.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=98] [2025/04/05 23:09:35.683 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=8.269608ms] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.691 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.697 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 162, Old Table Name: t)"] [2025/04/05 23:09:35.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=968.139µs] [gotSchemaVersion=99] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:35.712 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=99] [2025/04/05 23:09:35.713 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=7.293555ms] [job="ID:164, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.722 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=164] [tableIDs="[162]"] [comment="drop table: table ID"] [2025/04/05 23:09:35.726 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=164] [jobType="drop table"] [2025/04/05 23:09:35.727 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.743 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/05 23:09:35.743 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:35.755 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:35.755 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 23:09:35.760 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.765 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 165, Table Name: t)"] [2025/04/05 23:09:35.779 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.515779ms] [gotSchemaVersion=100] [phyTblIDs="[165]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:35.782 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=100] [2025/04/05 23:09:35.783 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=7.976605ms] [job="ID:166, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.794 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:35.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:35.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/05 23:09:35.805 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=100] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:35.810 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.853 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 23:09:35.870 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 23:09:35.883 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:35.883 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 23:09:35.985 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 23:09:35.986 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:35.987 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/05 23:09:35.994 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:35.996 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 23:09:35.996 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 23:09:35.997 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=54.789µs] [2025/04/05 23:09:35.997 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=162.819µs] [] [2025/04/05 23:09:35.997 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 23:09:35.997 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 23:09:36.031 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:36.051 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 23:09:36.051 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 23:09:36.059 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:36.060 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:36.060 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:36.060 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:36.060 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:36.060 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:36.060 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:36.060 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:36.061 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:36.061 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:36.073 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:36.075 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:36.075 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:36.075 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 23:09:36.075 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/05 23:09:36.075 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:36.082 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/05 23:09:36.082 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/05 23:09:36.086 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:36.089 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:36.090 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/05 23:09:36.090 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/05 23:09:36.092 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/05 23:09:36.103 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=2.csv:0] [2025/04/05 23:09:36.103 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=1.csv:0] [2025/04/05 23:09:36.105 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=2.csv:0] [readDur=935.994µs] [encodeDur=368.052µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=366.586µs] [type=file] [takeTime=2.004056ms] [] [2025/04/05 23:09:36.105 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=1.csv:0] [readDur=869.447µs] [encodeDur=246.71µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=388.55µs] [type=file] [takeTime=1.819946ms] [] [2025/04/05 23:09:36.106 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/5/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/96ef40ee-b4e6-4099-b2f8-a781029c26ed.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A55F728000000000000002] [2025/04/05 23:09:36.107 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:36.107 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:36.107 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:36.107 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=76] [kvs=2] [files=1] [sstFileSize=982] [file=/tmp/tidb/import-4000/5/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/278a51ac-8359-441e-a4c4-93c275cada4a.sst] [firstKey=7480000000000000A55F72800000000000000A] [lastKey=7480000000000000A55F72800000000000000B] [2025/04/05 23:09:36.109 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=2.296692ms] [] [2025/04/05 23:09:36.109 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 23:09:36.111 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 23:09:36.114 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:36.135 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:36.135 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:36.137 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f728000000000000001] [endOfAllRanges=7480000000000000a55f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa55f728000000000ff00000c0000000000fa] [2025/04/05 23:09:36.149 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:36.151 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=41.297383ms] [] [2025/04/05 23:09:36.151 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 23:09:36.152 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.06709ms] [] [2025/04/05 23:09:36.152 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 23:09:36.152 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:36.153 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.024349ms] [file=/tmp/tidb/import-4000/5/630083e6-fc50-5cd2-8645-c17b147197ce.sst/16e3cff3-3f1e-42ee-aaac-316855ed64d8.sst] [2025/04/05 23:09:36.153 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=144] [kvs=4] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/5/630083e6-fc50-5cd2-8645-c17b147197ce.sst/16e3cff3-3f1e-42ee-aaac-316855ed64d8.sst] [firstKey=7480000000000000A55F698000000000000001038000000000000004] [lastKey=7480000000000000A55F698000000000000001038000000000000007] [2025/04/05 23:09:36.155 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=3.289217ms] [] [2025/04/05 23:09:36.155 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:36.159 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:36.181 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 23:09:36.181 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:36.183 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000a55f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 23:09:36.198 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 23:09:36.199 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=43.678237ms] [] [2025/04/05 23:09:36.199 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:36.200 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=949.764µs] [] [2025/04/05 23:09:36.200 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=117.890799ms] [] [2025/04/05 23:09:36.200 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=118.034627ms] [] [2025/04/05 23:09:36.289 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 23:09:36.291 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 23:09:36.292 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/05 23:09:36.292 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 23:09:36.321 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 23:09:36.322 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 23:09:36.322 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 23:09:36.342 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/05 23:09:36.342 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 23:09:36.346 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:36.346 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:36.346 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:36.346 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:36.346 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:36.346 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:36.346 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:36.346 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.346 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:36.346 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.346 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.346 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:36.348 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:36.348 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:36.348 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:36.348 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:36.348 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=272.848647ms] [] [2025/04/05 23:09:36.348 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 23:09:36.350 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 23:09:36.369 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 23:09:36.377 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/05 23:09:36.377 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 23:09:36.377 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 23:09:36.377 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 23:09:36.382 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=5.070267ms] [] [2025/04/05 23:09:36.382 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/05 23:09:36.382 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/05 23:09:36.383 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 23:09:36.383 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/05 23:09:36.383 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/05 23:09:36.389 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:36.390 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/05 23:09:36.390 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:36.390 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 23:09:36.390 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=12.986101ms] [] [2025/04/05 23:09:36.390 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=13.131691ms] [] [2025/04/05 23:09:36.390 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [takeTime=13.268115ms] [] [2025/04/05 23:09:36.410 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 23:09:36.490 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 23:09:36.490 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/05 23:09:36.493 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 23:09:36.522 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=152.696233ms] [] [Pipeline] } [2025/04/05 23:09:36.522 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 23:09:36.585 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:36.591 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 23:09:36.591 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 23:09:36.610 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 23:09:36.786 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.981289966\n# Parse_time: 0.000074952\n# Compile_time: 0.000352826\n# Rewrite_time: 0.000072029\n# Optimize_time: 0.000235218\n# Wait_TS: 0\n# DB: write_after_import\n# Is_internal: false\n# Digest: 2151a8f4fc4821c35c9e69ec11b64682fe15dd1bf9a02fb5753a416004d4f9c9\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4MC42bXMsIG9wZW46NjUybnMsIGNsb3NlOjkzMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4MC42bXMsIG9wZW46NjUybnMsIGNsb3NlOjkzMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-8 (1.18s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile [2025/04/05 23:09:36.811 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:36.815 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.830 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.997816ms] [gotSchemaVersion=101] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.834 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=101] [2025/04/05 23:09:36.836 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=8.86028ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.860 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.986771ms] [gotSchemaVersion=102] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=102] [2025/04/05 23:09:36.865 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=8.655505ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.873 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.878 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 165, Old Table Name: t)"] [2025/04/05 23:09:36.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=961.364µs] [gotSchemaVersion=103] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:36.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=103] [2025/04/05 23:09:36.896 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=7.425913ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.904 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[165]"] [comment="drop table: table ID"] [2025/04/05 23:09:36.908 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/05 23:09:36.909 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.925 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/05 23:09:36.926 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] --- PASS: TestImportInto/TestWriteAfterImportFromFile (5.72s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromSelect [2025/04/05 23:09:36.937 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:36.937 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 23:09:36.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=155.097µs] [gotSchemaVersion=104] [phyTblIDs="[143,149]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:36.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=104] [2025/04/05 23:09:36.963 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=6.831314ms] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.985 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=130.678µs] [gotSchemaVersion=105] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:36.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=105] [2025/04/05 23:09:36.989 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=6.893793ms] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:36.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.004 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 23:09:37.013 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=134.003µs] [gotSchemaVersion=106] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:37.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=106] [2025/04/05 23:09:37.018 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=6.9869ms] [job="ID:168, Type:drop schema, State:done, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.027 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=168] [tableIDs="[143,149]"] [comment="drop schema: table IDs"] [2025/04/05 23:09:37.032 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=168] [jobType="drop schema"] [2025/04/05 23:09:37.033 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:synced, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:36.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.049 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/05 23:09:37.049 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=write_after_import] [sql="drop database if exists from_select"] [user=] [2025/04/05 23:09:37.060 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.060 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 23:09:37.067 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.080 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=618.997µs] [gotSchemaVersion=107] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:37.084 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=107] [2025/04/05 23:09:37.085 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=7.12233ms] [job="ID:170, Type:create schema, State:done, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.095 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:synced, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.105 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 23:09:37.105 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=write_after_import] [sql="create database from_select"] [user=] [2025/04/05 23:09:37.117 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.117 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int, v varchar(64))"] [2025/04/05 23:09:37.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.127 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: dt)"] [2025/04/05 23:09:37.140 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.38275ms] [gotSchemaVersion=108] [phyTblIDs="[171]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:37.143 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=172] [version=108] [2025/04/05 23:09:37.145 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=7.919907ms] [job="ID:172, Type:create table, State:done, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.155 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:synced, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.165 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=172] [2025/04/05 23:09:37.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=108] [cur_db=from_select] [sql="create table dt(id int, v varchar(64))"] [user=] [2025/04/05 23:09:37.181 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.181 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists write_after_import"] [2025/04/05 23:09:37.186 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.199 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=131.526µs] [gotSchemaVersion=109] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:37.202 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=109] [2025/04/05 23:09:37.203 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=6.565859ms] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.212 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=115.385µs] [gotSchemaVersion=110] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:37.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=110] [2025/04/05 23:09:37.228 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=6.425514ms] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.251 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=123.765µs] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 23:09:37.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=111] [2025/04/05 23:09:37.256 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=7.155945ms] [job="ID:173, Type:drop schema, State:done, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.266 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="drop schema"] [2025/04/05 23:09:37.267 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:synced, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.282 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/05 23:09:37.283 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/05 23:09:37.294 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.294 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/05 23:09:37.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=644.819µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:09:37.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=112] [2025/04/05 23:09:37.317 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=7.446445ms] [job="ID:175, Type:create schema, State:done, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.327 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:synced, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.338 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/05 23:09:37.339 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromSelect/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 23:09:37.341 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:37.355 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.355 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 23:09:37.360 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.365 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 176, Table Name: t)"] [2025/04/05 23:09:37.380 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.583766ms] [gotSchemaVersion=113] [phyTblIDs="[176]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:37.384 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=113] [2025/04/05 23:09:37.386 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=8.806541ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.397 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/05 23:09:37.408 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=113] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:37.450 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=176] [2025/04/05 23:09:37.456 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:37.457 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:37.457 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:37.457 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:37.457 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:37.457 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:37.457 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:37.457 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:37.458 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:37.458 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:37.469 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:37.470 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:37.470 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:37.474 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:37.478 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:37.507 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [key=import-from-select] [2025/04/05 23:09:37.507 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [key=import-from-select] [readDur=46.793µs] [encodeDur=202.729µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=37.118µs] [type=query] [takeTime=711.225µs] [] [2025/04/05 23:09:37.509 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=136] [kvs=4] [files=1] [sstFileSize=1004] [file=/tmp/tidb/import-4000/4e9b8635-b418-4e51-b571-93eebe1f095c/102b1544-1a0b-5f02-9523-0f5011224f00.sst/b239c1d1-1d9e-4d56-ba3b-ccc9bb35200f.sst] [firstKey=7480000000000000B05F728000000000000004] [lastKey=7480000000000000B05F728000000000000007] [2025/04/05 23:09:37.580 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [key=import-from-select] [2025/04/05 23:09:37.580 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=149.142µs] [] [2025/04/05 23:09:37.580 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:37.582 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.771764ms] [] [2025/04/05 23:09:37.582 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 23:09:37.586 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:37.609 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/05 23:09:37.609 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:37.610 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b05f728000000000000004] [endOfAllRanges=7480000000000000b05f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff0000080000000000fa] [2025/04/05 23:09:37.622 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 23:09:37.623 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=41.05542ms] [] [2025/04/05 23:09:37.623 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:37.625 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.56677ms] [] [2025/04/05 23:09:37.625 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:37.629 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:37.629 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=3.505998ms] [] [2025/04/05 23:09:37.629 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/05 23:09:37.629 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [2025/04/05 23:09:37.634 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [takeTime=5.468885ms] [] [2025/04/05 23:09:37.634 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:37.634 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [weight=30] [2025/04/05 23:09:37.634 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [concurrency=15] [2025/04/05 23:09:37.636 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=176] [physicalTableID=176] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 23:09:37.637 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:37.637 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:37.637 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=4e9b8635-b418-4e51-b571-93eebe1f095c] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=7.876444ms] [] [2025/04/05 23:09:37.637 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:37.637 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=5.762µs] [] [2025/04/05 23:09:37.637 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:37.638 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.053138ms] [] [2025/04/05 23:09:37.638 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:37.638 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=5.533µs] [] [2025/04/05 23:09:37.638 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:37.639 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=904.804µs] [] [2025/04/05 23:09:37.642 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:37.642 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:37.642 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:37.642 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:37.642 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:37.642 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:37.642 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:37.642 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.642 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.642 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:37.642 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:37.642 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:37.644 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:37.644 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:37.644 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:37.644 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.32s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 23:09:37.669 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.670 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:37.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.690 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=2.016673ms] [gotSchemaVersion=114] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.694 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=114] [2025/04/05 23:09:37.696 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=8.940426ms] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.705 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.720 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.912264ms] [gotSchemaVersion=115] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=115] [2025/04/05 23:09:37.725 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=8.653607ms] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.741 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 176, Old Table Name: t)"] [2025/04/05 23:09:37.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.15178ms] [gotSchemaVersion=116] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:37.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=116] [2025/04/05 23:09:37.760 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=8.511804ms] [job="ID:178, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.769 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=178] [tableIDs="[176]"] [comment="drop table: table ID"] [2025/04/05 23:09:37.773 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop table"] [2025/04/05 23:09:37.774 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.792 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/05 23:09:37.792 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=116] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:37.806 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:37.806 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 23:09:37.811 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.816 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 179, Table Name: t)"] [2025/04/05 23:09:37.830 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.565133ms] [gotSchemaVersion=117] [phyTblIDs="[179]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:37.834 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=117] [2025/04/05 23:09:37.835 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=8.266975ms] [job="ID:180, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.847 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:37.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:37.858 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/05 23:09:37.858 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=117] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:37.906 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=179] [2025/04/05 23:09:37.912 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:37.912 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:37.913 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:37.913 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:37.913 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:37.913 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:37.913 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:37.913 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:37.914 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:37.914 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:37.925 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:37.927 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:37.927 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:37.931 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:37.934 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:37.946 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [key=import-from-select] [2025/04/05 23:09:37.948 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [key=import-from-select] [readDur=51.233µs] [encodeDur=701.948µs] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=858.829µs] [type=query] [takeTime=1.932331ms] [] [2025/04/05 23:09:37.949 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=152] [kvs=4] [files=1] [sstFileSize=1009] [file=/tmp/tidb/import-4000/97b1e7ef-53ea-4b6c-b547-3060412b9342/102b1544-1a0b-5f02-9523-0f5011224f00.sst/572c2bfe-ef42-4f27-8148-c5b9cc00fada.sst] [firstKey=7480000000000000B35F728000000000000001] [lastKey=7480000000000000B35F728000000000000004] [2025/04/05 23:09:37.970 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [key=import-from-select] [2025/04/05 23:09:37.970 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=124.034µs] [] [2025/04/05 23:09:37.970 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:37.972 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.624076ms] [] [2025/04/05 23:09:37.972 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 23:09:37.976 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:37.998 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:37.998 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.000 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f728000000000000001] [endOfAllRanges=7480000000000000b35f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb35f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb35f728000000000ff0000050000000000fa] [2025/04/05 23:09:38.010 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:38.011 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=39.319688ms] [] [2025/04/05 23:09:38.011 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.015 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=144] [kvs=4] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/97b1e7ef-53ea-4b6c-b547-3060412b9342/630083e6-fc50-5cd2-8645-c17b147197ce.sst/b5cc038d-fa4f-4e77-a98b-c907399d3a8f.sst] [firstKey=7480000000000000B35F698000000000000001038000000000000004] [lastKey=7480000000000000B35F698000000000000001038000000000000007] [2025/04/05 23:09:38.018 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=6.316743ms] [] [2025/04/05 23:09:38.018 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:38.022 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.043 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 23:09:38.044 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.045 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000b35f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 23:09:38.056 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 23:09:38.058 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=39.79279ms] [] [2025/04/05 23:09:38.058 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/05 23:09:38.058 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [2025/04/05 23:09:38.063 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [takeTime=5.171904ms] [] [2025/04/05 23:09:38.063 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 23:09:38.063 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [weight=30] [2025/04/05 23:09:38.063 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [concurrency=15] [2025/04/05 23:09:38.069 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:38.070 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/05 23:09:38.071 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:38.071 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 23:09:38.071 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=97b1e7ef-53ea-4b6c-b547-3060412b9342] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=12.939758ms] [] [2025/04/05 23:09:38.071 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.071 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=6.733µs] [] [2025/04/05 23:09:38.071 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.072 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.098154ms] [] [2025/04/05 23:09:38.072 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.072 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=6.339µs] [] [2025/04/05 23:09:38.072 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.074 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.760049ms] [] [2025/04/05 23:09:38.078 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:38.078 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:38.078 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:38.078 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:38.078 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:38.078 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:38.078 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:38.078 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.078 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.078 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:38.078 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.078 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:38.080 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:38.080 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.080 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.080 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.44s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 23:09:38.104 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:38.104 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.125 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=2.047105ms] [gotSchemaVersion=118] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.128 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=118] [2025/04/05 23:09:38.129 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=8.563579ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.139 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.178161ms] [gotSchemaVersion=119] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=119] [2025/04/05 23:09:38.161 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=9.585633ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.176 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 179, Old Table Name: t)"] [2025/04/05 23:09:38.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.040256ms] [gotSchemaVersion=120] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.193 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=120] [2025/04/05 23:09:38.195 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=7.67937ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.203 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[179]"] [comment="drop table: table ID"] [2025/04/05 23:09:38.208 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/05 23:09:38.209 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/05 23:09:38.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=120] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:38.239 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.239 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 23:09:38.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.250 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t)"] [2025/04/05 23:09:38.265 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.630982ms] [gotSchemaVersion=121] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:38.269 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=121] [2025/04/05 23:09:38.271 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=9.354386ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.282 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.293 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 23:09:38.294 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=121] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:38.337 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=182] [2025/04/05 23:09:38.344 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:38.344 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:38.345 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:38.345 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:38.345 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:38.345 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:38.345 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:38.345 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:38.346 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:38.346 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:38.357 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:38.359 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:38.359 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:38.369 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.372 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.392 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [key=import-from-select] [2025/04/05 23:09:38.394 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [key=import-from-select] [readDur=27.848µs] [encodeDur=837.847µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=716.849µs] [type=query] [takeTime=2.180241ms] [] [2025/04/05 23:09:38.397 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=136] [kvs=4] [files=1] [sstFileSize=1004] [file=/tmp/tidb/import-4000/867f9016-dc4b-4c9d-96c0-5e4c85c7f45d/102b1544-1a0b-5f02-9523-0f5011224f00.sst/b1f88f88-9530-4a42-90b4-cdef19a96e6b.sst] [firstKey=7480000000000000B65F728000000000000004] [lastKey=7480000000000000B65F728000000000000007] [2025/04/05 23:09:38.402 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [key=import-from-select] [2025/04/05 23:09:38.402 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=103.642µs] [] [2025/04/05 23:09:38.402 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.404 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.651686ms] [] [2025/04/05 23:09:38.404 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 23:09:38.409 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.430 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/05 23:09:38.430 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.432 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000004] [endOfAllRanges=7480000000000000b65f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000080000000000fa] [2025/04/05 23:09:38.446 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 23:09:38.448 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=44.350782ms] [] [2025/04/05 23:09:38.448 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.450 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=2.15316ms] [] [2025/04/05 23:09:38.451 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:38.455 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.455 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=4.084362ms] [] [2025/04/05 23:09:38.455 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/05 23:09:38.455 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [2025/04/05 23:09:38.455 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [takeTime=2.586µs] [] [2025/04/05 23:09:38.455 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:38.455 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [weight=30] [2025/04/05 23:09:38.455 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [concurrency=15] [2025/04/05 23:09:38.457 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 23:09:38.458 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:38.458 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 23:09:38.458 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=867f9016-dc4b-4c9d-96c0-5e4c85c7f45d] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=2.943976ms] [] [2025/04/05 23:09:38.458 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.458 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=6.752µs] [] [2025/04/05 23:09:38.458 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.459 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.087412ms] [] [2025/04/05 23:09:38.459 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.459 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=7.859µs] [] [2025/04/05 23:09:38.459 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.460 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.032929ms] [] [2025/04/05 23:09:38.464 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:38.464 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:38.464 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:38.464 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:38.464 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:38.464 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:38.464 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.464 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:38.464 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.464 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.464 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:38.464 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:38.466 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:38.466 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.466 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.466 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.472 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457151500369002505] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.38s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/05 23:09:38.488 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.488 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:38.494 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.79852ms] [gotSchemaVersion=122] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=122] [2025/04/05 23:09:38.514 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=8.581634ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.525 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=1.880527ms] [gotSchemaVersion=123] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=123] [2025/04/05 23:09:38.546 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=8.657308ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 182, Old Table Name: t)"] [2025/04/05 23:09:38.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=994.407µs] [gotSchemaVersion=124] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=124] [2025/04/05 23:09:38.580 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=8.103714ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.590 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=184] [tableIDs="[182]"] [comment="drop table: table ID"] [2025/04/05 23:09:38.594 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/05 23:09:38.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/05 23:09:38.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:38.624 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.624 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/05 23:09:38.629 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.633 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/05 23:09:38.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.407373ms] [gotSchemaVersion=125] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:38.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=125] [2025/04/05 23:09:38.651 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=7.667908ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.661 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.673 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/05 23:09:38.673 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/05 23:09:38.682 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:38.683 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 23:09:38.683 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:09:38.718 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=185] [2025/04/05 23:09:38.724 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:38.724 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:38.725 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:38.725 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:38.725 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:38.725 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:38.725 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:38.725 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:38.726 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:38.726 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:38.737 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:38.739 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:38.739 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:38.743 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.746 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.781 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [key=import-from-select] [2025/04/05 23:09:38.782 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [key=import-from-select] [readDur=30.464µs] [encodeDur=523.703µs] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=257.42µs] [type=query] [takeTime=1.102144ms] [] [2025/04/05 23:09:38.783 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=152] [kvs=4] [files=1] [sstFileSize=1009] [file=/tmp/tidb/import-4000/fb512620-6fa3-4be4-9ee0-5717499bcd17/102b1544-1a0b-5f02-9523-0f5011224f00.sst/17339e1e-21f2-4e71-8551-d348e3aa2e6c.sst] [firstKey=7480000000000000B95F728000000000000001] [lastKey=7480000000000000B95F728000000000000004] [2025/04/05 23:09:38.790 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [key=import-from-select] [2025/04/05 23:09:38.790 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=139.649µs] [] [2025/04/05 23:09:38.791 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.792 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.341036ms] [] [2025/04/05 23:09:38.792 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 23:09:38.796 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:38.818 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:38.818 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:38.820 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b95f728000000000000001] [endOfAllRanges=7480000000000000b95f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb95f728000000000ff0000050000000000fa] [2025/04/05 23:09:38.830 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:38.832 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=39.933652ms] [] [2025/04/05 23:09:38.832 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.833 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.394465ms] [] [2025/04/05 23:09:38.834 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:38.837 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.837 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=3.683714ms] [] [2025/04/05 23:09:38.837 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/05 23:09:38.837 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [2025/04/05 23:09:38.843 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [takeTime=5.496901ms] [] [2025/04/05 23:09:38.843 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 23:09:38.843 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [weight=30] [2025/04/05 23:09:38.843 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [concurrency=15] [2025/04/05 23:09:38.845 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=185] [physicalTableID=185] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:38.845 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:38.845 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 23:09:38.845 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=fb512620-6fa3-4be4-9ee0-5717499bcd17] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=7.95466ms] [] [2025/04/05 23:09:38.845 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.846 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=6.102µs] [] [2025/04/05 23:09:38.846 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:38.847 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.248701ms] [] [2025/04/05 23:09:38.847 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.847 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=7.381µs] [] [2025/04/05 23:09:38.847 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:38.848 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.32421ms] [] [2025/04/05 23:09:38.851 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:38.851 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:38.851 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:38.851 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:38.851 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:38.851 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:38.851 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.851 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:38.851 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.852 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:38.851 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:38.852 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:38.854 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:38.854 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:38.854 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:38.854 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.39s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 23:09:38.877 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:38.877 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:38.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.965 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.921696ms] [gotSchemaVersion=126] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:38.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=126] [2025/04/05 23:09:38.970 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=9.021093ms] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:38.979 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.804652ms] [gotSchemaVersion=127] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.003 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=127] [2025/04/05 23:09:39.005 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=8.467454ms] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.019 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.026 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 185, Old Table Name: t)"] [2025/04/05 23:09:39.039 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.055172ms] [gotSchemaVersion=128] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.043 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/05 23:09:39.045 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=8.546196ms] [job="ID:187, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.054 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=187] [tableIDs="[185]"] [comment="drop table: table ID"] [2025/04/05 23:09:39.058 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop table"] [2025/04/05 23:09:39.059 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 23:09:39.075 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 23:09:39.087 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 23:09:39.087 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:39.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.098 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/05 23:09:39.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.594008ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:09:39.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/05 23:09:39.118 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=8.39528ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.128 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/05 23:09:39.140 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 23:09:39.182 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=188] [2025/04/05 23:09:39.188 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/05 23:09:39.189 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489969667828220621] [2025/04/05 23:09:39.189 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:09:39.189 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/05 23:09:39.189 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:09:39.189 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:09:39.189 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:09:39.189 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:09:39.190 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:09:39.190 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:09:39.201 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 23:09:39.203 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 23:09:39.203 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 23:09:39.207 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:39.210 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:39.242 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [key=import-from-select] [2025/04/05 23:09:39.242 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [key=import-from-select] [2025/04/05 23:09:39.243 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [key=import-from-select] [readDur=40.435µs] [encodeDur=539.447µs] [checksum="{cksum=3295158911158983317,size=222,kvs=6}"] [deliverDur=354.73µs] [type=query] [takeTime=1.359343ms] [] [2025/04/05 23:09:39.244 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [key=import-from-select] [readDur=71.194µs] [encodeDur=589.99µs] [checksum="{cksum=1616165790058064870,size=74,kvs=2}"] [deliverDur=875.673µs] [type=query] [takeTime=1.801092ms] [] [2025/04/05 23:09:39.245 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=114] [kvs=3] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/7837e256-40d2-4901-87de-8c9b9690f303/102b1544-1a0b-5f02-9523-0f5011224f00.sst/552fc3ac-8fae-42fb-9cd8-cf412aea9d45.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000004] [2025/04/05 23:09:39.245 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:39.246 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=38] [kvs=1] [files=1] [sstFileSize=936] [file=/tmp/tidb/import-4000/7837e256-40d2-4901-87de-8c9b9690f303/102b1544-1a0b-5f02-9523-0f5011224f00.sst/d7727fbd-ebb8-4c26-89fc-dd5020768264.sst] [firstKey=7480000000000000BC5F728000000000000002] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/05 23:09:39.248 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=3.346051ms] [] [2025/04/05 23:09:39.248 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 23:09:39.252 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:39.275 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/05 23:09:39.275 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:39.277 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000050000000000fa] [2025/04/05 23:09:39.287 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 23:09:39.289 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=40.621196ms] [] [2025/04/05 23:09:39.289 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:39.290 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.068681ms] [file=/tmp/tidb/import-4000/7837e256-40d2-4901-87de-8c9b9690f303/630083e6-fc50-5cd2-8645-c17b147197ce.sst/2bc89eca-9152-4552-8115-27069502f78a.sst] [2025/04/05 23:09:39.290 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=144] [kvs=4] [files=1] [sstFileSize=1002] [file=/tmp/tidb/import-4000/7837e256-40d2-4901-87de-8c9b9690f303/630083e6-fc50-5cd2-8645-c17b147197ce.sst/2bc89eca-9152-4552-8115-27069502f78a.sst] [firstKey=7480000000000000BC5F698000000000000001038000000000000004] [lastKey=7480000000000000BC5F698000000000000001038000000000000007] [2025/04/05 23:09:39.293 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=3.447557ms] [] [2025/04/05 23:09:39.293 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 23:09:39.297 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 23:09:39.318 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 23:09:39.318 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 23:09:39.320 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000bc5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 23:09:39.330 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 23:09:39.331 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=38.720472ms] [] [2025/04/05 23:09:39.331 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/05 23:09:39.332 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [2025/04/05 23:09:39.337 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [takeTime=5.396742ms] [] [2025/04/05 23:09:39.337 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 23:09:39.337 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [weight=30] [2025/04/05 23:09:39.337 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [concurrency=15] [2025/04/05 23:09:39.344 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 23:09:39.347 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/05 23:09:39.347 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 23:09:39.347 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 23:09:39.347 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=7837e256-40d2-4901-87de-8c9b9690f303] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=15.782017ms] [] [2025/04/05 23:09:39.347 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:39.348 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=7.28µs] [] [2025/04/05 23:09:39.348 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 23:09:39.349 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=1.011174ms] [] [2025/04/05 23:09:39.349 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:39.349 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=5.478µs] [] [2025/04/05 23:09:39.349 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 23:09:39.350 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=1.059842ms] [] [2025/04/05 23:09:39.354 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:39.354 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:39.354 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:39.354 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:39.354 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:39.354 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:39.354 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:39.354 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:39.354 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:39.354 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:39.354 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:39.354 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:39.356 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 23:09:39.356 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:39.356 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:39.356 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.50s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect [2025/04/05 23:09:39.379 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 23:09:39.379 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:09:39.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.399 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.001738ms] [gotSchemaVersion=130] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.402 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=130] [2025/04/05 23:09:39.404 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=8.507959ms] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.427 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.935515ms] [gotSchemaVersion=131] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=131] [2025/04/05 23:09:39.432 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=8.366708ms] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.439 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.445 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 188, Old Table Name: t)"] [2025/04/05 23:09:39.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=980.713µs] [gotSchemaVersion=132] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:09:39.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=132] [2025/04/05 23:09:39.463 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=7.460207ms] [job="ID:190, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.472 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=190] [tableIDs="[188]"] [comment="drop table: table ID"] [2025/04/05 23:09:39.476 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop table"] [2025/04/05 23:09:39.477 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 23:09:39.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:09:39.493 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/05 23:09:39.493 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=132] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] --- PASS: TestImportInto/TestWriteAfterImportFromSelect (2.57s) === NAME TestImportInto [2025/04/05 23:09:39.495 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:09:39.495 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:09:39.495 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [] [2025/04/05 23:09:39.495 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.495 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:39.495 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=86.411µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=57.733µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=46.405µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=56.111µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=52.922µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=50.92µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=45.291µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=33.935µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=28.865µs] [2025/04/05 23:09:39.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=31.687µs] [2025/04/05 23:09:39.497 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.497 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.498 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:09:39.498 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:09:39.517 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] ["take time"=22.401925ms] [2025/04/05 23:09:39.517 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.518 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:09:39.518 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:09:39.518 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a020d574-50a0-4e84-9ef8-9cf87b6b4be5] [watcherID=f22a65f8-cb57-46d0-a640-78ae54423bd6] [2025/04/05 23:09:39.518 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a020d574-50a0-4e84-9ef8-9cf87b6b4be5] [2025/04/05 23:09:39.518 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ttl-worker=task-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [originalCount=4] [newCount=0] [2025/04/05 23:09:39.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:39.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:39.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:39.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:09:39.518 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [ttl-worker=task-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [originalCount=4] [newCount=0] [2025/04/05 23:09:39.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:39.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:39.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:39.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:09:39.524 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.524 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1067] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:09:39.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:09:39.525 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:09:39.526 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:09:39.526 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:09:39.526 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:09:39.526 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.525 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:09:39.526 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:09:39.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:09:39.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.526 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.526 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:09:39.526 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:09:39.525 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:09:39.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:09:39.526 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:09:39.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:09:39.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:09:39.526 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:09:39.526 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:09:39.527 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:09:39.527 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:09:39.527 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:09:39.527 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:09:39.527 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2b81d398-122e-4846-ac2b-cfa85ba55e70] [daemon-id=LogBackup::Advancer] [2025/04/05 23:09:39.527 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:09:39.527 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:09:39.527 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:09:39.527 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:09:39.527 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 23:09:39.527 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:09:39.527 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [] [2025/04/05 23:09:39.527 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [error="context canceled"] [2025/04/05 23:09:39.527 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.527 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.527 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:09:39.527 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [2025/04/05 23:09:39.527 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:09:39.528 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:09:39.547 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:09:39.548 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:09:39.593 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=93ed7bf6-466a-4ab2-9d50-fdbdb9215524] [error="context canceled"] [2025/04/05 23:09:39.593 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:09:39.593 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:09:39.605 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=110.164465ms] [2025/04/05 23:09:39.608 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:09:39.608 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:09:39.608 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:09:39.608 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:09:39.608 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:09:39.608 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:09:39.608 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:09:39.608 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:09:39.608 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:09:39.608 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:09:39.608 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:09:39.608 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:09:39.610 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (17.80s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest2:importintotest2_test up-to-date: bazel-bin/tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test INFO: Elapsed time: 31.754s, Critical Path: 13.83s INFO: 4637 processes: 4624 remote cache hit, 13 internal. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest2:importintotest2_test (cached) PASSED in 21.5s PASSED importintotest2_test.TestImportInto (17.8s) PASSED importintotest2_test.TestImportInto/TestCastNegativeToUnsigned (0.4s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectBasic (1.6s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectColumnList (0.9s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectStaleRead (1.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile (5.7s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-0 (1.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-2 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-4 (0.9s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-6 (0.9s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-8 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-9 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect (2.6s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.3s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.0s) Test cases: finished with 29 passing and 0 failing out of 29 test cases Executed 0 out of 1 test: 1 test passes.  None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // stage None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] // dir [Pipeline] // dir Post stage [Pipeline] // withEnv [Pipeline] // dir [Pipeline] } [Pipeline] sh No test report files were found. Configuration error? [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { No test report files were found. Configuration error? [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb No test report files were found. Configuration error? [Pipeline] { [Pipeline] // node [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] sh [Pipeline] // podTemplate [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // script [Pipeline] } [Pipeline] } No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // dir [Pipeline] } [Pipeline] // dir [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] // withCredentials [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // timeout [Pipeline] // withCredentials [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // timeout [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // container [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // dir [Pipeline] // withEnv [Pipeline] // container [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // podTemplate [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] // podTemplate [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 101s remote-cache, linux-sandbox ./t/ddl/db_partition.test: ok! 1110 test cases passed, take time 68.304729093 s ./t/ddl/db_rename.test: ok! 21 test cases passed, take time 4.033424251 s ./t/ddl/db_table.test: ok! 58 test cases passed, take time 0.777891009 s ./t/ddl/ddl_error.test: ok! 14 test cases passed, take time 0.081005678 s ./t/ddl/ddl_tiflash.test: ok! 14 test cases passed, take time 0.041167408 s ./t/ddl/default_as_expression.test: ok! 411 test cases passed, take time 21.013957785 s ./t/ddl/fail_db.test: ok! 12 test cases passed, take time 0.182846452 s ./t/ddl/foreign_key.test: ok! 181 test cases passed, take time 6.706627009 s ./t/ddl/index_modify.test: ok! 39 test cases passed, take time 7.835852097 s ./t/ddl/integration.test: ok! 91 test cases passed, take time 6.176113301 s FAIL: //tests/realtikvtest/txntest:txntest_test (see /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/txntest/txntest_test/test_attempts/attempt_1.log) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 160s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox ./t/ddl/modify_column.test: ok! 672 test cases passed, take time 14.708565421 s ./t/ddl/multi_schema_change.test: ok! 305 test cases passed, take time 32.273874288 s ./t/ddl/partition.test: ok! 138 test cases passed, take time 9.557051676 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 60s remote-cache, linux-sandbox ./t/ddl/primary_key_handle.test: ok! 191 test cases passed, take time 5.6440838509999995 s ./t/ddl/reorg_partition.test: ok! 212 test cases passed, take time 32.125698327 s ./t/ddl/resource_group.test: ok! 16 test cases passed, take time 0.081065333 s ./t/ddl/sequence.test: ok! 268 test cases passed, take time 2.855737248 s ./t/ddl/serial.test: ok! 77 test cases passed, take time 0.780653788 s ./t/ddl/table_modify.test: ok! 47 test cases passed, take time 0.394001492 s ./t/executor/adapter.test: ok! 6 test cases passed, take time 0.020434885 s ./t/executor/admin.test: ok! 171 test cases passed, take time 25.461885568 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 120s remote-cache, linux-sandbox ./t/executor/aggregate.test: ok! 885 test cases passed, take time 6.733520158 s ./t/executor/analyze.test: ok! 180 test cases passed, take time 14.064822095 s ./t/executor/autoid.test: ok! 458 test cases passed, take time 3.247161542 s ./t/executor/batch_point_get.test: ok! 85 test cases passed, take time 0.47345646 s ./t/executor/charset.test: ok! 214 test cases passed, take time 1.105682279 s ./t/executor/chunk_reuse.test: ok! 93 test cases passed, take time 0.152910732 s ./t/executor/cluster_table.test: ok! 36 test cases passed, take time 0.146957245 s ./t/executor/compact_table.test: ok! 19 test cases passed, take time 0.135823318 s ./t/executor/cte.test: ok! 133 test cases passed, take time 0.749155357 s ./t/executor/ddl.test: ok! 359 test cases passed, take time 13.728165808 s ./t/executor/delete.test: ok! 91 test cases passed, take time 0.63234798 s ./t/executor/distsql.test: ok! 61 test cases passed, take time 0.870655643 s FLAKY: //tests/realtikvtest/txntest:txntest_test (Summary) /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/txntest/txntest_test/test_attempts/attempt_1.log INFO: From Testing //tests/realtikvtest/txntest:txntest_test: ==================== Test output for //tests/realtikvtest/txntest:txntest_test: === RUN TestGetCachedStore [2025/04/05 23:44:52.918 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:44:52.919 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:44:52.919 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:44:52.920 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:44:52.920 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:44:52.921 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:44:52.921 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:44:52.921 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:44:52.921 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:44:52.921 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:44:52.922 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:44:52.927 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:44:52.931 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:44:52.932 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:44:52.933 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:44:52.933 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:44:52.933 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:44:52.934 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:44:52.934 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:44:52.934 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:44:52.934 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:44:52.934 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:44:52.934 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:44:52.934 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:44:52.935 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:44:52.935 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:44:52.935 +00:00] [WARN] [resource_manager_client.go:305] ["[resource_manager] get token stream error"] [error="rpc error: code = Canceled desc = context canceled"] [2025/04/05 23:44:52.935 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:44:52.935 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:44:52.935 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:44:52.935 +00:00] [INFO] [service_discovery.go:889] ["[pd] cannot update member from this url"] [url=http://127.0.0.1:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY: error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY"] [2025/04/05 23:44:52.935 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:44:52.935 +00:00] [ERROR] [service_discovery.go:551] ["[pd] failed to update member"] [urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [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/tikv/pd/client/pkg/retry.(*Backoffer).Exec\n\texternal/com_github_tikv_pd_client/pkg/retry/backoff.go:96\ngithub.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).updateMemberLoop\n\texternal/com_github_tikv_pd_client/servicediscovery/service_discovery.go:549\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).updateMemberLoop\n\texternal/com_github_tikv_pd_client/servicediscovery/service_discovery.go:551"] [2025/04/05 23:44:52.935 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:44:52.935 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:44:52.935 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:44:52.935 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:44:52.935 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:44:52.937 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:44:52.937 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:44:52.937 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:44:52.937 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:44:52.937 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:44:52.937 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:44:52.937 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:44:52.937 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:44:52.937 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:44:52.937 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:44:52.937 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:44:52.937 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:44:52.938 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestGetCachedStore (0.03s) === NAME === RUN TestP0DirtyWrite [2025/04/05 23:44:52.942 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:44:52.942 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:44:52.943 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:44:52.944 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:44:52.944 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:44:52.944 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:44:52.944 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:44:52.944 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:44:52.944 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:44:52.945 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:44:52.945 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:44:52.949 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:44:52.955 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:44:52.956 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:44:52.957 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:44:52.979 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:52.979 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:52.985 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:52.985 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:52.996 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:53.019 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:44:53.042 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:44:53.081 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1759] ["lease id"=6f18960856612fcb] [2025/04/05 23:44:53.083 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:44:53.090 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestP0DirtyWrite\n\ttests/realtikvtest/txntest/isolation_test.go:47\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:44:53.195 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=104.784581ms] [2025/04/05 23:44:53.195 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:44:53.196 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 23:44:53.196 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [runWorker=true] [jobVersion=v2] [2025/04/05 23:44:53.196 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:44:53.198 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:53.199 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:44:53.200 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182633857024/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:44:53.200 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:44:53.200 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:53.200 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [2025/04/05 23:44:53.202 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612ed3] [ownerID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:53.202 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:53.202 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ownerKey=/tidb/ddl/fg/owner/2231960856612ed3] [currRev=88] [2025/04/05 23:44:53.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:44:53.203 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:53.203 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612d3c] [ownerID=f71389c5-5120-4893-b38c-5ae3c3f92800] [op=none] [2025/04/05 23:44:53.203 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [2025/04/05 23:44:53.203 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:44:53.203 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [ownerKey=/tidb/br-stream/owner/3eaa960856612d3c] [currRev=89] [2025/04/05 23:44:53.204 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612ed3] [ownerID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:53.204 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:53.204 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:44:53.207 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:44:53.223 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:44:53.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.222 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:44:53.229 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.371 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=127.640671ms] [2025/04/05 23:44:53.372 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:44:53.378 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:44:53.380 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=137.934683ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.394 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.409 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:44:53.409 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:44:53.410 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:44:53.414 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Shanghai] [2025/04/05 23:44:53.440 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.440 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:44:53.449 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.657375ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:53.510 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:44:53.512 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=15.357426ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.531 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.569 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:44:53.569 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:44:53.584 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.584 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:44:53.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.307679ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:53.613 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:44:53.614 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.486626ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.626 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.640 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:44:53.640 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:44:53.657 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.657 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:44:53.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.071111ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:53.690 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.690 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:44:53.692 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=9.462952ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.706 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.724 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:44:53.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:44:53.746 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.746 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:44:53.755 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.433464ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:53.795 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:44:53.797 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.537946ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.811 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.834 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:44:53.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:44:53.852 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.852 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:44:53.858 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=4.19958ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:53.888 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.888 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:44:53.889 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=11.926052ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.902 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:44:53.920 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:44:53.936 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:53.936 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:44:53.942 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.965 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.536178ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:53.968 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:53.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:44:53.970 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.640219ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.982 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:53.998 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:44:53.998 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:44:54.011 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:53.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.011 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.036 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.883788ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.040 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:44:54.041 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=9.08272ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:53.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.053 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:53.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:44:54.066 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:44:54.079 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:44:54.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.104 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.912929ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.107 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:44:54.109 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=9.277415ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.120 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:44:54.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:44:54.147 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.147 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:44:54.153 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.813324ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.180 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:44:54.182 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=10.688728ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.193 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.201 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:44:54.207 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:44:54.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:44:54.223 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.223 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.229 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.249 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.161886ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.252 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.253 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:44:54.254 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=9.124904ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.265 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.280 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:44:54.281 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:44:54.283 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:54.299 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.299 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.935317ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.340 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:44:54.341 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=11.389775ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.355 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.372 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:44:54.372 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:44:54.389 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.389 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.397 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.425 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=3.012357ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.429 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.429 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:44:54.431 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=11.360344ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.447 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.468 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:44:54.468 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:44:54.483 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.483 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.489 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.510 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.302372ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.513 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:44:54.515 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.444728ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.527 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.541 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:44:54.541 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:44:54.555 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.555 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.562 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.587 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.234166ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.591 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:44:54.593 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=9.996293ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.606 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.619 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:44:54.620 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:44:54.633 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.633 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.639 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=3.132566ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.664 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:44:54.666 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=11.51309ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.691 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:44:54.691 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:44:54.708 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.708 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.739 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=3.245885ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.744 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:44:54.746 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=12.428929ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.759 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:44:54.774 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:44:54.790 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:44:54.796 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.270914ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.821 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:44:54.823 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=9.799219ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.834 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:44:54.848 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:44:54.865 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:44:54.871 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.190828ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.903 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:44:54.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=10.85383ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.918 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.936 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:44:54.936 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:44:54.949 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:44:54.958 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:54.958 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:54.966 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:54.986 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.264728ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:54.989 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:54.989 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:44:54.991 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=9.415065ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.003 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.018 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:44:55.018 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:44:55.032 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:54.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.032 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.899259ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.062 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:44:55.064 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=9.819851ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:54.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.075 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:54.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:44:55.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:44:55.106 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.106 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:44:55.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.670433ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.134 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:44:55.136 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=10.280357ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.148 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:44:55.160 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:44:55.176 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.176 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.200 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:44:55.200 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 23:44:55.206 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=3.860376ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.210 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:44:55.212 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=11.279788ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.225 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.244 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:44:55.244 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:44:55.259 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.259 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.271 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.241712ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.299 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:44:55.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=10.961339ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.315 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.329 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:44:55.329 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:44:55.347 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.347 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:44:55.355 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.220798ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.381 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:44:55.383 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=10.004694ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.396 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.409 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:44:55.410 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:44:55.424 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.424 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.430 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.449 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.913826ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.453 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.453 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:44:55.455 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=9.514224ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.466 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.481 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:44:55.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:44:55.496 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.496 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.503 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.524 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.056359ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.529 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.529 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:44:55.532 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=11.533582ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.545 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.559 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:44:55.559 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:44:55.573 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.573 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.579 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.599 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.895853ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.603 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.603 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:44:55.605 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=9.410911ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.616 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.630 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:44:55.631 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:44:55.633 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:55.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.652 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.684 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.452629ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.688 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.688 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:44:55.691 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=10.69796ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.704 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:44:55.721 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:44:55.739 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.739 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.619758ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.778 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.778 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:44:55.780 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=10.224693ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.793 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.811 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:44:55.811 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:44:55.828 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:55.828 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.835 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.865 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.684833ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.869 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:44:55.871 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=11.017756ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.884 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.901 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:44:55.902 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:44:55.923 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:55.923 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:44:55.932 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.965 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=5.303286ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:55.970 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:55.970 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:44:55.972 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=13.621016ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:55.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.006 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:44:56.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:44:56.020 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:55.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:44:56.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.764548ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.050 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:44:56.052 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=10.397053ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:55.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.064 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:55.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.079 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:44:56.080 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:44:56.098 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.098 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:44:56.104 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.615884ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:44:56.135 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:44:56.137 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=11.152833ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.167 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:44:56.184 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.184 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:44:56.190 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.17666ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.219 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:44:56.221 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=8.992432ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:44:56.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:44:56.265 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.265 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:44:56.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.714078ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.300 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:44:56.302 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=11.932272ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.315 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.330 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:44:56.330 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:44:56.346 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.346 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:44:56.352 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.370 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.807779ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.374 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.374 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:44:56.376 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=9.098343ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.388 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.401 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:44:56.402 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:44:56.420 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.420 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:56.428 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.523011ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.466 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.466 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:44:56.468 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=13.467117ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.480 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.499 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:44:56.499 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:44:56.517 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.517 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:44:56.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.387253ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.557 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.557 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:44:56.559 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=11.133674ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.571 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.588 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:44:56.588 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:44:56.607 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.607 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:56.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.598254ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.651 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:44:56.653 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.952234ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.666 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:44:56.685 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:44:56.703 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.703 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:44:56.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.903427ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.748 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:44:56.750 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=11.308139ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.764 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.783 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:44:56.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:44:56.803 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.803 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:44:56.810 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.95909ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.845 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:44:56.847 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=12.11454ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.864 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.886 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:44:56.887 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:44:56.908 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.908 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:44:56.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.390178ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:56.948 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:56.948 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:44:56.950 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=10.835161ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.964 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:56.982 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:44:56.982 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:44:56.999 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:56.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:56.999 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:44:57.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=3.021316ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.036 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.036 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:44:57.038 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=10.224433ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:56.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.050 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:56.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.066 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:44:57.067 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:44:57.083 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:57.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.083 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:44:57.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.120 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=3.020119ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.124 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:44:57.125 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=10.648933ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.138 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:44:57.155 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:44:57.174 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:57.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.174 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:44:57.181 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.214 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.972323ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.217 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:44:57.219 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=11.02286ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.253 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:44:57.253 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:44:57.269 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:57.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:44:57.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.300 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=3.047365ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.304 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:44:57.306 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=10.054557ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.318 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.334 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:44:57.334 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:44:57.347 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:57.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.347 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:44:57.353 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.966823ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.375 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.375 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:44:57.376 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.830627ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:44:57.399 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:44:57.412 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:44:57.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.412 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:44:57.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.244745ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.441 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.441 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:44:57.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=9.174889ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:44:57.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:44:57.469 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:44:57.481 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.481 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:44:57.486 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.202782ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.509 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:44:57.511 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.667735ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.521 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.534 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:44:57.534 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:44:57.546 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:44:57.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=654.992µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:44:57.569 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:44:57.571 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.313048ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.579 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.589 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:44:57.589 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:44:57.603 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.603 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:44:57.608 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.75659ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:44:57.629 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.629 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:44:57.630 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.148913ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:44:57.667 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.667 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:44:57.673 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=2.902647ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.701 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:44:57.703 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.323876ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.714 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.729 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:44:57.729 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:44:57.742 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.742 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:44:57.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.766 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.136354ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.769 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:44:57.771 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=8.249244ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.781 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.793 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:44:57.793 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:44:57.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:57.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:44:57.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.835 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.279954ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:57.838 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:44:57.838 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:44:57.840 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=9.119633ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:57.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.851 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:57.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:57.864 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:44:57.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:44:58.016 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.812813696s] [2025/04/05 23:44:58.019 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:44:58.019 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:44:58.019 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [] [2025/04/05 23:44:58.019 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.020 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:44:58.020 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=61.599µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=39.932µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=37.185µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=29.391µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=28.655µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=37.977µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=28.664µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=42.055µs] [2025/04/05 23:44:58.020 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=30.014µs] [2025/04/05 23:44:58.021 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=27.365µs] [2025/04/05 23:44:58.021 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.021 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.022 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:44:58.022 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:44:58.031 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] ["take time"=11.484059ms] [2025/04/05 23:44:58.031 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.032 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1759] [2025/04/05 23:44:58.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:44:58.032 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:44:58.032 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [] [2025/04/05 23:44:58.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:44:58.032 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:44:58.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:44:58.032 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:44:58.032 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:44:58.032 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:44:58.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:44:58.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:44:58.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:44:58.032 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [2025/04/05 23:44:58.032 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [2025/04/05 23:44:58.032 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [2025/04/05 23:44:58.034 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:44:58.034 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f71389c5-5120-4893-b38c-5ae3c3f92800] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:58.034 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:44:58.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:44:58.034 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:44:58.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:44:58.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:44:58.034 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:44:58.038 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.679019ms] [2025/04/05 23:44:58.038 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:44:58.048 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:44:58.085 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1913] ["lease id"=6f18960856613041] [2025/04/05 23:44:58.087 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:44:58.206 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.231205ms] [2025/04/05 23:44:58.206 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:44:58.215 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [runWorker=true] [jobVersion=v2] [2025/04/05 23:44:58.215 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:44:58.217 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [lease=2231960856612ed3] [2025/04/05 23:44:58.217 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:44:58.217 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182995304448/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:44:58.217 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:44:58.218 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:58.218 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [2025/04/05 23:44:58.219 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612ed3] [ownerID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:58.219 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.219 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ownerKey=/tidb/ddl/fg/owner/2231960856612ed3] [currRev=268] [2025/04/05 23:44:58.220 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:44:58.220 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:58.220 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:44:58.220 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612db3] [ownerID=e005ffcf-4535-49ee-acce-fb6428c28875] [op=none] [2025/04/05 23:44:58.220 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [2025/04/05 23:44:58.220 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [ownerKey=/tidb/br-stream/owner/3eaa960856612db3] [currRev=269] [2025/04/05 23:44:58.221 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612ed3] [ownerID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:58.221 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:58.221 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:44:58.227 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:44:58.229 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:44:58.230 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f18960856613049] [ownerID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:58.230 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.231 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ownerKey=/tidb/bindinfo/owner/6f18960856613049] [currRev=270] [2025/04/05 23:44:58.236 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 23:44:58.240 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:44:58.240 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:44:58.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:44:58.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:44:58.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:44:58.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:44:58.256 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:44:58.256 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:44:58.256 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:44:58.256 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:44:58.256 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:44:58.256 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:44:58.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:44:58.257 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:44:58.258 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:44:58.258 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:44:58.258 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:44:58.259 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 23:44:58.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:44:58.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:44:58.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:44:58.259 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:44:58.261 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856612dba] [ownerID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [op=none] [2025/04/05 23:44:58.261 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.261 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ownerKey=/tidb/stats/owner/3eaa960856612dba] [currRev=271] [2025/04/05 23:44:58.261 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=72] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:44:58.263 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5542ebaa-c57b-4258-acd6-27ceb548545d] [2025/04/05 23:44:58.264 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ttl-worker=task-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [originalCount=0] [newCount=4] [2025/04/05 23:44:58.264 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ttl-worker=task-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [originalCount=0] [newCount=4] [2025/04/05 23:44:58.264 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.265 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:44:58.271 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:44:58.271 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:44:58.272 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896698272435515 [2025/04/05 23:44:58.273 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:44:58.281 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.400364ms] [2025/04/05 23:44:58.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:44:58.281 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:44:58.290 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896698291861844 testkit.go:123: RefreshSession rand seed: 1743896698293679354 [2025/04/05 23:44:58.316 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:44:58.321 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:44:58.333 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:58.333 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:44:58.338 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.343 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: x)"] [2025/04/05 23:44:58.439 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=80.309603ms] [2025/04/05 23:44:58.439 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:44:58.439 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:44:58.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:44:58.445 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=87.722643ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.457 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.468 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:44:58.468 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:44:58.471 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056115593227] [2025/04/05 23:44:58.480 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457152056115593234, conflictStartTS=457152056115593233, conflictCommitTS=457152056115593236, key={tableID=112, tableName=test.x, handle=1}, originalKey=7480000000000000705f728000000000000001, primary={tableID=112, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000705f728000000000000001, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:44:58.481 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=457152056115593234, conflictStartTS=457152056115593233, conflictCommitTS=457152056115593236, key={tableID=112, tableName=test.x, handle=1}, originalKey=7480000000000000705f728000000000000001, primary={tableID=112, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000705f728000000000000001, reason=Optimistic [try again later]"] [2025/04/05 23:44:58.481 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=56] [error="previous statement: update x set c = c+1 where id = 1;: [kv:9007]Write conflict, txnStartTS=457152056115593234, conflictStartTS=457152056115593233, conflictCommitTS=457152056115593236, key={tableID=112, tableName=test.x, handle=1}, originalKey=7480000000000000705f728000000000000001, primary={tableID=112, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000705f728000000000000001, reason=Optimistic [try again later]"] [errorVerbose="[kv:9007]Write conflict, txnStartTS=457152056115593234, conflictStartTS=457152056115593233, conflictCommitTS=457152056115593236, key={tableID=112, tableName=test.x, handle=1}, originalKey=7480000000000000705f728000000000000001, primary={tableID=112, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000705f728000000000000001, reason=Optimistic [try again later]\nprevious statement: update x set c = c+1 where id = 1;\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:280\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestP0DirtyWrite\n\ttests/realtikvtest/txntest/isolation_test.go:64\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:44:58.493 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:44:58.493 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:58.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.880026ms] [gotSchemaVersion=57] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:58.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/05 23:44:58.518 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=8.91909ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.545 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.809895ms] [gotSchemaVersion=58] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:58.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/05 23:44:58.550 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=8.642971ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.563 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: x)"] [2025/04/05 23:44:58.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=895.32µs] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:58.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2025/04/05 23:44:58.579 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=7.120958ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.588 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/05 23:44:58.594 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2025/04/05 23:44:58.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/05 23:44:58.611 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:44:58.623 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:58.622 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:44:58.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.630 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 115, Table Name: x)"] [2025/04/05 23:44:58.643 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.349528ms] [gotSchemaVersion=60] [phyTblIDs="[115]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:58.646 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/05 23:44:58.648 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=7.685383ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.657 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.667 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/05 23:44:58.668 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:44:58.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056167759883] [2025/04/05 23:44:58.697 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:58.697 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:44:58.703 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.836048ms] [gotSchemaVersion=61] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:58.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2025/04/05 23:44:58.723 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=8.849304ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.746 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.774962ms] [gotSchemaVersion=62] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:58.750 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/05 23:44:58.751 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=8.414596ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.759 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.764 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 115, Old Table Name: x)"] [2025/04/05 23:44:58.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=949.395µs] [gotSchemaVersion=63] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:58.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2025/04/05 23:44:58.780 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=7.051786ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.789 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[115]"] [comment="drop table: table ID"] [2025/04/05 23:44:58.792 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2025/04/05 23:44:58.793 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.808 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 23:44:58.809 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:44:58.820 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:44:58.820 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:58.825 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.830 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: x)"] [2025/04/05 23:44:58.842 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.343226ms] [gotSchemaVersion=64] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:58.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=64] [2025/04/05 23:44:58.847 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=7.85959ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:58.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:58.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:58.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 23:44:58.868 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:44:58.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056220450827] [2025/04/05 23:44:58.882 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [] [2025/04/05 23:44:58.882 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:44:58.882 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:44:58.882 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.882 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:44:58.882 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:44:58.882 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=39.848µs] [2025/04/05 23:44:58.882 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=33.33µs] [2025/04/05 23:44:58.882 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=28.585µs] [2025/04/05 23:44:58.882 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=25.719µs] [2025/04/05 23:44:58.882 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=25.679µs] [2025/04/05 23:44:58.882 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.882 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.883 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:44:58.883 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:44:58.884 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] ["take time"=2.842891ms] [2025/04/05 23:44:58.884 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.885 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:44:58.885 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5542ebaa-c57b-4258-acd6-27ceb548545d] [2025/04/05 23:44:58.885 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ttl-worker=task-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [originalCount=4] [newCount=0] [2025/04/05 23:44:58.885 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:58.885 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:58.885 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:58.885 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:58.885 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [ttl-worker=task-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [originalCount=4] [newCount=0] [2025/04/05 23:44:58.887 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:58.887 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:58.887 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:58.887 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:58.890 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.890 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:44:58.890 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1913] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [] [2025/04/05 23:44:58.891 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:44:58.891 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.892 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:44:58.891 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:44:58.891 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:58.892 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.892 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:44:58.892 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.893 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [] [2025/04/05 23:44:58.893 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e005ffcf-4535-49ee-acce-fb6428c28875] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:58.893 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.893 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:44:58.893 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:44:58.893 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:44:58.893 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:44:58.893 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.893 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:44:58.893 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:44:58.893 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:44:58.893 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:44:58.893 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [2025/04/05 23:44:58.893 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:44:58.893 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:44:58.893 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [error="context canceled"] [2025/04/05 23:44:58.893 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=fb5804ca-b00d-4cbf-bbf3-7ca3eea7901f] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:44:58.907 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:44:58.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:44:58.954 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:44:58.954 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:44:58.964 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.828516ms] [2025/04/05 23:44:58.967 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:44:58.967 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:44:58.967 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:44:58.967 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:44:58.967 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:44:58.967 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:44:58.967 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:44:58.967 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:44:58.967 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:44:58.967 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:44:58.967 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:44:58.967 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:44:58.968 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestP0DirtyWrite (6.03s) === NAME === RUN TestP1DirtyRead [2025/04/05 23:44:58.973 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:44:58.974 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:44:58.974 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:44:58.975 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:44:58.975 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:44:58.975 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:44:58.975 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:44:58.975 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:44:58.975 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:44:58.976 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:44:58.976 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:44:58.979 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:44:58.985 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:44:58.985 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:44:58.986 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:44:58.996 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:44:59.005 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:44:59.042 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1152] ["lease id"=2231960856612f6b] [2025/04/05 23:44:59.045 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:44:59.132 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=84.20949ms] [2025/04/05 23:44:59.132 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:44:59.134 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:44:59.140 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d84966af-7851-4136-84f9-acabe028515c] [runWorker=true] [jobVersion=v2] [2025/04/05 23:44:59.140 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:44:59.142 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.143 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:44:59.144 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183031250944/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:44:59.144 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:44:59.144 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:59.144 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [2025/04/05 23:44:59.146 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612f70] [ownerID=d84966af-7851-4136-84f9-acabe028515c] [op=none] [2025/04/05 23:44:59.146 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.146 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [ownerKey=/tidb/ddl/fg/owner/2231960856612f70] [currRev=310] [2025/04/05 23:44:59.146 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:44:59.146 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:59.147 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:44:59.147 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613064] [ownerID=625093d5-db5d-4e4b-bfe7-d069315dcd26] [op=none] [2025/04/05 23:44:59.147 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [2025/04/05 23:44:59.147 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [ownerKey=/tidb/br-stream/owner/6f18960856613064] [currRev=311] [2025/04/05 23:44:59.148 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612f70] [ownerID=d84966af-7851-4136-84f9-acabe028515c] [op=none] [2025/04/05 23:44:59.148 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [op=none] [2025/04/05 23:44:59.148 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:44:59.151 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:44:59.152 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:44:59.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:44:59.167 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:44:59.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:44:59.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:44:59.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:44:59.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:44:59.172 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:44:59.172 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:44:59.172 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:44:59.172 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:44:59.172 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:44:59.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:44:59.172 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:44:59.174 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:44:59.174 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:44:59.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:44:59.176 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960856612f78] [ownerID=d84966af-7851-4136-84f9-acabe028515c] [op=none] [2025/04/05 23:44:59.176 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.176 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [ownerKey=/tidb/stats/owner/2231960856612f78] [currRev=313] [2025/04/05 23:44:59.176 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:44:59.178 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/245ee465-4d39-4216-a058-5dcd510bf864] [2025/04/05 23:44:59.178 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [ttl-worker=task-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [originalCount=0] [newCount=4] [2025/04/05 23:44:59.178 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [ttl-worker=task-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [originalCount=0] [newCount=4] [2025/04/05 23:44:59.178 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.179 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:44:59.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:44:59.183 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:44:59.183 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896699183612134 [2025/04/05 23:44:59.184 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:44:59.191 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.083481ms] [2025/04/05 23:44:59.191 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:44:59.191 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:44:59.206 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:44:59.209 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=64] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:44:59.222 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`"] [2025/04/05 23:44:59.222 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:59.228 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=4] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.244 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.789605ms] [gotSchemaVersion=65] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.249 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=65] [2025/04/05 23:44:59.251 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=10.778283ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=4] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.276 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.748917ms] [gotSchemaVersion=66] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.279 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=66] [2025/04/05 23:44:59.280 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.467256ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=4] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.294 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: x)"] [2025/04/05 23:44:59.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.361279ms] [gotSchemaVersion=67] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=67] [2025/04/05 23:44:59.312 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=8.499445ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.322 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/05 23:44:59.330 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/05 23:44:59.331 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=4] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.349 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/05 23:44:59.349 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=67] [cur_db=test] [sql="drop table `x`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896699349608851 testkit.go:123: RefreshSession rand seed: 1743896699352024351 [2025/04/05 23:44:59.356 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=67] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:44:59.369 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:59.369 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:44:59.374 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=5] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.378 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: x)"] [2025/04/05 23:44:59.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.381379ms] [gotSchemaVersion=68] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:59.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=68] [2025/04/05 23:44:59.397 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=8.565044ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.411 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=5] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 23:44:59.423 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=68] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:44:59.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056364367887] [2025/04/05 23:44:59.449 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:59.449 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:44:59.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=5] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.469 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.705247ms] [gotSchemaVersion=69] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.472 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=69] [2025/04/05 23:44:59.474 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=8.670626ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.483 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=5] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.498 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.800902ms] [gotSchemaVersion=70] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.501 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=70] [2025/04/05 23:44:59.503 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=8.76543ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.513 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=5] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.520 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: x)"] [2025/04/05 23:44:59.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.17069ms] [gotSchemaVersion=71] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=71] [2025/04/05 23:44:59.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=8.737723ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.549 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/05 23:44:59.554 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2025/04/05 23:44:59.555 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=5] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.575 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 23:44:59.575 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=71] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:44:59.590 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:59.590 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:44:59.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=5] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.601 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 124, Table Name: x)"] [2025/04/05 23:44:59.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.70233ms] [gotSchemaVersion=72] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:59.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=72] [2025/04/05 23:44:59.624 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=9.958839ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.637 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=5] [job="ID:125, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.651 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 23:44:59.652 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=72] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:44:59.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056429903881] [2025/04/05 23:44:59.680 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:59.680 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:44:59.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=5] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.970737ms] [gotSchemaVersion=73] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=73] [2025/04/05 23:44:59.708 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=9.857996ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=5] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=2.03905ms] [gotSchemaVersion=74] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=74] [2025/04/05 23:44:59.748 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=11.162363ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=5] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.765 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 124, Old Table Name: x)"] [2025/04/05 23:44:59.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.055746ms] [gotSchemaVersion=75] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:44:59.785 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=75] [2025/04/05 23:44:59.786 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=9.187041ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.796 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[124]"] [comment="drop table: table ID"] [2025/04/05 23:44:59.799 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2025/04/05 23:44:59.800 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=5] [job="ID:126, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 23:44:59.816 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=75] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:44:59.835 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:44:59.835 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:44:59.843 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=5] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.849 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: x)"] [2025/04/05 23:44:59.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.506993ms] [gotSchemaVersion=76] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:44:59.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=76] [2025/04/05 23:44:59.873 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=9.881635ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:44:59.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.887 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=5] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:44:59.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:44:59.900 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 23:44:59.901 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=76] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:44:59.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056495439881] [2025/04/05 23:44:59.913 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:44:59.913 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:44:59.913 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [] [2025/04/05 23:44:59.913 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.913 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:44:59.913 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:44:59.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=48.224µs] [2025/04/05 23:44:59.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=30.219µs] [2025/04/05 23:44:59.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=32.096µs] [2025/04/05 23:44:59.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=32.025µs] [2025/04/05 23:44:59.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=29.698µs] [2025/04/05 23:44:59.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=26.883µs] [2025/04/05 23:44:59.914 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.914 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.915 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:44:59.915 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:44:59.918 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d84966af-7851-4136-84f9-acabe028515c] ["take time"=4.618127ms] [2025/04/05 23:44:59.918 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.918 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:44:59.918 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/245ee465-4d39-4216-a058-5dcd510bf864] [2025/04/05 23:44:59.918 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [ttl-worker=task-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [originalCount=4] [newCount=0] [2025/04/05 23:44:59.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:59.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:59.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:59.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:44:59.918 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [ttl-worker=task-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [originalCount=4] [newCount=0] [2025/04/05 23:44:59.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:59.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:59.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:59.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:44:59.924 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.924 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1152] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:44:59.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:44:59.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:44:59.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:44:59.926 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [2025/04/05 23:44:59.926 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:44:59.926 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:44:59.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:44:59.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:44:59.927 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [2025/04/05 23:44:59.927 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [2025/04/05 23:44:59.928 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:44:59.928 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:44:59.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:44:59.928 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:44:59.928 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=625093d5-db5d-4e4b-bfe7-d069315dcd26] [daemon-id=LogBackup::Advancer] [2025/04/05 23:44:59.928 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:44:59.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:44:59.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:44:59.928 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:44:59.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:44:59.928 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:44:59.929 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [error="context canceled"] [2025/04/05 23:44:59.929 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [2025/04/05 23:44:59.930 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [error="context canceled"] [2025/04/05 23:44:59.930 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d84966af-7851-4136-84f9-acabe028515c] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:44:59.949 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:44:59.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:44:59.995 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:44:59.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:00.006 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.909563ms] [2025/04/05 23:45:00.008 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:00.008 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:00.008 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:00.008 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:00.008 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:00.008 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:00.008 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:00.008 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:00.008 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:00.009 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:00.009 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:00.009 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:00.010 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestP1DirtyRead (1.04s) === NAME === RUN TestP2NonRepeatableRead [2025/04/05 23:45:00.015 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:00.015 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:00.016 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:00.017 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:00.017 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:00.017 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:00.017 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:00.017 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:00.017 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:00.018 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:00.018 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:00.022 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:00.027 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:00.027 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:00.028 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:00.039 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:00.050 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:00.085 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=355] ["lease id"=6f18960856613086] [2025/04/05 23:45:00.087 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:00.176 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=76] ["elapsed time"=86.053818ms] [2025/04/05 23:45:00.176 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:00.179 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:00.186 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:00.186 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:00.189 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:00.190 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:00.190 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183134457856/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:00.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:00.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:00.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:00.191 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:00.191 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:00.191 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:00.191 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [2025/04/05 23:45:00.193 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612f9e] [ownerID=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [op=none] [2025/04/05 23:45:00.193 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:00.193 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [ownerKey=/tidb/ddl/fg/owner/2231960856612f9e] [currRev=361] [2025/04/05 23:45:00.193 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:00.193 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:00.194 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:00.194 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612dfb] [ownerID=f519f877-4f92-4fd5-8a74-863148fa6483] [op=none] [2025/04/05 23:45:00.194 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [2025/04/05 23:45:00.194 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [ownerKey=/tidb/br-stream/owner/3eaa960856612dfb] [currRev=361] [2025/04/05 23:45:00.195 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856612f9e] [ownerID=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [op=none] [2025/04/05 23:45:00.195 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [op=none] [2025/04/05 23:45:00.195 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:00.199 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:00.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:00.200 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:00.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:00.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:00.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:00.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:00.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:00.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:00.223 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:00.223 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:00.223 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:00.223 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:00.223 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:00.224 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:00.224 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:00.226 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:00.226 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:00.226 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:00.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:00.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:00.229 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:00.229 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960856613090] [ownerID=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [op=none] [2025/04/05 23:45:00.229 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:00.229 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [ownerKey=/tidb/stats/owner/6f18960856613090] [currRev=363] [2025/04/05 23:45:00.231 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/39bd142e-bc6f-43a1-a9d7-61f147005164] [2025/04/05 23:45:00.231 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:00.231 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [ttl-worker=task-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [originalCount=0] [newCount=4] [2025/04/05 23:45:00.231 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [ttl-worker=task-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [originalCount=0] [newCount=4] [2025/04/05 23:45:00.231 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:00.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:00.232 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:00.232 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896700232763469 [2025/04/05 23:45:00.236 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:00.243 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.209474ms] [2025/04/05 23:45:00.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:00.243 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:00.247 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:00.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=76] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:00.263 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`"] [2025/04/05 23:45:00.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=7] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.289 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=2.789327ms] [gotSchemaVersion=77] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=77] [2025/04/05 23:45:00.296 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=12.470825ms] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.307 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=7] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=2.447472ms] [gotSchemaVersion=78] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=78] [2025/04/05 23:45:00.332 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=11.366766ms] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.341 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=7] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.348 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 127, Old Table Name: x)"] [2025/04/05 23:45:00.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.153717ms] [gotSchemaVersion=79] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.368 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=79] [2025/04/05 23:45:00.370 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=9.309849ms] [job="ID:129, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.382 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[127]"] [comment="drop table: table ID"] [2025/04/05 23:45:00.392 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop table"] [2025/04/05 23:45:00.393 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=7] [job="ID:129, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 23:45:00.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=79] [cur_db=test] [sql="drop table `x`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896700414073328 [2025/04/05 23:45:00.434 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743896700436263382 [2025/04/05 23:45:00.441 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=79] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:00.442 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=79] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:00.457 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.457 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:00.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.469 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 130, Table Name: x)"] [2025/04/05 23:45:00.488 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.688783ms] [gotSchemaVersion=80] [phyTblIDs="[130]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:00.491 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=80] [2025/04/05 23:45:00.493 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=9.724072ms] [job="ID:131, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.508 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.519 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 23:45:00.519 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=80] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:00.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056652726282] [2025/04/05 23:45:00.536 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.536 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:00.542 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=8] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.548 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: y)"] [2025/04/05 23:45:00.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.77971ms] [gotSchemaVersion=81] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:00.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=81] [2025/04/05 23:45:00.570 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=9.621774ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.582 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=8] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/05 23:45:00.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=81] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:00.598 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056678940678] [2025/04/05 23:45:00.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:00.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=8] [job="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.895932ms] [gotSchemaVersion=82] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.653 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=82] [2025/04/05 23:45:00.655 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=9.106729ms] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.667 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=8] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.920813ms] [gotSchemaVersion=83] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=83] [2025/04/05 23:45:00.688 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=9.307663ms] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=8] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.704 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 130, Old Table Name: x)"] [2025/04/05 23:45:00.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.090433ms] [gotSchemaVersion=84] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=84] [2025/04/05 23:45:00.723 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=8.108955ms] [job="ID:134, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.731 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[130]"] [comment="drop table: table ID"] [2025/04/05 23:45:00.735 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="drop table"] [2025/04/05 23:45:00.736 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=8] [job="ID:134, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.752 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 23:45:00.752 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=84] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:00.764 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.764 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists y;"] [2025/04/05 23:45:00.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=8] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.783 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.756845ms] [gotSchemaVersion=85] [phyTblIDs="[132]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.786 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=85] [2025/04/05 23:45:00.787 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=8.235532ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.796 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=8] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.787688ms] [gotSchemaVersion=86] [phyTblIDs="[132]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=86] [2025/04/05 23:45:00.814 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=8.118492ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=8] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.827 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 132, Old Table Name: y)"] [2025/04/05 23:45:00.839 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.015892ms] [gotSchemaVersion=87] [phyTblIDs="[132]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:00.842 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=87] [2025/04/05 23:45:00.844 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=7.748596ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.853 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=135] [tableIDs="[132]"] [comment="drop table: table ID"] [2025/04/05 23:45:00.856 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2025/04/05 23:45:00.857 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=8] [job="ID:135, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.873 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/05 23:45:00.873 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=87] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:00.884 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:00.884 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=8] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.893 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 136, Table Name: x)"] [2025/04/05 23:45:00.907 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.400404ms] [gotSchemaVersion=88] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:00.910 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=88] [2025/04/05 23:45:00.912 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=7.740746ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.922 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=8] [job="ID:137, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 23:45:00.932 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=88] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:00.934 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056757846031] [2025/04/05 23:45:00.947 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:00.947 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:00.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=8] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.959 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 138, Table Name: y)"] [2025/04/05 23:45:00.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.565987ms] [gotSchemaVersion=89] [phyTblIDs="[138]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:00.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=89] [2025/04/05 23:45:00.979 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=8.68423ms] [job="ID:139, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:00.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=8] [job="ID:139, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.005 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/05 23:45:01.005 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=89] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:01.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056784060423] [2025/04/05 23:45:01.033 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:01.033 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:01.038 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=8] [job="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.90692ms] [gotSchemaVersion=90] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=90] [2025/04/05 23:45:01.059 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=8.966654ms] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=8] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.085 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=2.479318ms] [gotSchemaVersion=91] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=91] [2025/04/05 23:45:01.092 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=10.827535ms] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=8] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.108 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 136, Old Table Name: x)"] [2025/04/05 23:45:01.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.063014ms] [gotSchemaVersion=92] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=92] [2025/04/05 23:45:01.126 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=7.987351ms] [job="ID:140, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.135 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[136]"] [comment="drop table: table ID"] [2025/04/05 23:45:01.139 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop table"] [2025/04/05 23:45:01.140 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=8] [job="ID:140, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.157 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 23:45:01.158 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=92] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:01.169 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:01.169 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists y;"] [2025/04/05 23:45:01.174 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=8] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.189 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.904761ms] [gotSchemaVersion=93] [phyTblIDs="[138]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=93] [2025/04/05 23:45:01.194 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=9.049119ms] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.199 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:01.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:01.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:01.199 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:01.204 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=8] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.933837ms] [gotSchemaVersion=94] [phyTblIDs="[138]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=94] [2025/04/05 23:45:01.224 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=8.858537ms] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.231 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:01.231 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:01.231 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/39bd142e-bc6f-43a1-a9d7-61f147005164] [watcherID=0e2d2ddd-4ec3-4f65-8dd1-88396abd4332] [2025/04/05 23:45:01.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=8] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.232 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:01.237 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:01.237 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:01.237 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:01.237 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:01.238 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 138, Old Table Name: y)"] [2025/04/05 23:45:01.251 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.126606ms] [gotSchemaVersion=95] [phyTblIDs="[138]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=95] [2025/04/05 23:45:01.256 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=7.849419ms] [job="ID:141, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.266 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=141] [tableIDs="[138]"] [comment="drop table: table ID"] [2025/04/05 23:45:01.270 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=141] [jobType="drop table"] [2025/04/05 23:45:01.272 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=8] [job="ID:141, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.289 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/05 23:45:01.289 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=95] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:01.303 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:01.303 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:01.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=8] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.314 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 142, Table Name: x)"] [2025/04/05 23:45:01.328 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.58259ms] [gotSchemaVersion=96] [phyTblIDs="[142]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:01.332 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=96] [2025/04/05 23:45:01.334 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=9.506243ms] [job="ID:143, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.347 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=8] [job="ID:143, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.359 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/05 23:45:01.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=96] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:01.362 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056875548680] [2025/04/05 23:45:01.376 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:01.376 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:01.382 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=145] [conn=8] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.387 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 144, Table Name: y)"] [2025/04/05 23:45:01.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=1.599069ms] [gotSchemaVersion=97] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:01.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=145] [version=97] [2025/04/05 23:45:01.408 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=9.025203ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.420 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=145] [conn=8] [job="ID:145, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.431 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=145] [2025/04/05 23:45:01.431 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=97] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:01.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056888655885] [2025/04/05 23:45:01.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152056888655890] [2025/04/05 23:45:01.452 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:01.452 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [] [2025/04/05 23:45:01.452 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:01.452 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.452 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:01.452 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:01.452 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=45.999µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=30.277µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=34.473µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=33.306µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=29.64µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=35.234µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=29.28µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=31.267µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=35.677µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=28.715µs] [2025/04/05 23:45:01.453 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.453 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.454 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:01.454 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:01.457 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] ["take time"=5.152281ms] [2025/04/05 23:45:01.457 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.457 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:01.458 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/39bd142e-bc6f-43a1-a9d7-61f147005164] [watcherID=0e2d2ddd-4ec3-4f65-8dd1-88396abd4332] [2025/04/05 23:45:01.458 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:01.458 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/39bd142e-bc6f-43a1-a9d7-61f147005164] [2025/04/05 23:45:01.458 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [ttl-worker=task-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [originalCount=4] [newCount=0] [2025/04/05 23:45:01.458 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:01.458 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:01.458 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:01.458 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:01.458 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [ttl-worker=task-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [originalCount=4] [newCount=0] [2025/04/05 23:45:01.460 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:01.460 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:01.461 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:01.461 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:01.463 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.463 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=355] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:01.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:01.465 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:01.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.465 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:01.464 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:01.465 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:01.465 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:01.464 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:01.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:01.464 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:01.464 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.465 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:01.465 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:01.465 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.465 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.465 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:01.465 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:01.465 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:01.465 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:01.465 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:01.465 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f519f877-4f92-4fd5-8a74-863148fa6483] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:01.465 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:01.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:01.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:01.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:01.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:01.465 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:01.466 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:01.466 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [error="context canceled"] [2025/04/05 23:45:01.466 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:01.466 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:01.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:01.467 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [error="context canceled"] [2025/04/05 23:45:01.467 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [2025/04/05 23:45:01.467 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [error="context canceled"] [2025/04/05 23:45:01.467 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=4f31e2d8-2fb8-4f14-a9d4-cd2f043ee650] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:01.485 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:01.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:01.526 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:01.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:01.535 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.387207ms] [2025/04/05 23:45:01.538 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:01.538 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:01.538 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:01.538 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:01.538 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:01.538 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:01.538 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:01.538 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:01.538 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:01.538 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:01.538 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:01.538 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:01.539 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestP2NonRepeatableRead (1.53s) === NAME === RUN TestP3Phantom [2025/04/05 23:45:01.544 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:01.544 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:01.545 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:01.545 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:01.545 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:01.545 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:01.546 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:01.546 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:01.546 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:01.546 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:01.546 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:01.550 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:01.555 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:01.555 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:01.556 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:01.565 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:01.575 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:01.608 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=504] ["lease id"=3eaa960856612e2a] [2025/04/05 23:45:01.609 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:01.695 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=97] ["elapsed time"=82.764713ms] [2025/04/05 23:45:01.695 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:01.697 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:01.703 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=213e9260-5023-45b6-befd-d1565aaa4799] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:01.703 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:01.705 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:01.706 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:01.706 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183211921408/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:01.706 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:01.706 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:01.706 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [2025/04/05 23:45:01.708 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612e2f] [ownerID=213e9260-5023-45b6-befd-d1565aaa4799] [op=none] [2025/04/05 23:45:01.708 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:01.708 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [ownerKey=/tidb/ddl/fg/owner/3eaa960856612e2f] [currRev=433] [2025/04/05 23:45:01.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:01.709 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:01.709 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:01.709 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960856612fd0] [ownerID=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [op=none] [2025/04/05 23:45:01.709 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [2025/04/05 23:45:01.709 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [ownerKey=/tidb/br-stream/owner/2231960856612fd0] [currRev=434] [2025/04/05 23:45:01.710 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612e2f] [ownerID=213e9260-5023-45b6-befd-d1565aaa4799] [op=none] [2025/04/05 23:45:01.710 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [op=none] [2025/04/05 23:45:01.710 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:01.713 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:01.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:01.714 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:01.723 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:01.730 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:01.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:01.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:01.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:01.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:01.734 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:01.734 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:01.734 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:01.734 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:01.734 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:01.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:01.735 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:01.736 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:01.736 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:01.736 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:01.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:01.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:01.738 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:01.738 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856612e37] [ownerID=213e9260-5023-45b6-befd-d1565aaa4799] [op=none] [2025/04/05 23:45:01.738 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:01.738 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [ownerKey=/tidb/stats/owner/3eaa960856612e37] [currRev=436] [2025/04/05 23:45:01.740 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c2fc53fc-7442-4d31-b40c-86e7f8539c4a] [2025/04/05 23:45:01.741 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [ttl-worker=task-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [originalCount=0] [newCount=4] [2025/04/05 23:45:01.741 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [ttl-worker=task-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [originalCount=0] [newCount=4] [2025/04/05 23:45:01.741 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:01.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:01.741 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:01.741 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:45:01.741 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743896701741716827 [2025/04/05 23:45:01.746 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:01.752 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.268745ms] [2025/04/05 23:45:01.752 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:01.752 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:01.756 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:01.759 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=97] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:01.760 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=97] [cur_db=test] [sql="alter table `y` nocache"] [user=] [2025/04/05 23:45:01.773 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:01.773 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`y`"] [2025/04/05 23:45:01.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=10] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=2.133656ms] [gotSchemaVersion=98] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=98] [2025/04/05 23:45:01.799 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=9.746458ms] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=10] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.822 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.651518ms] [gotSchemaVersion=99] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.825 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=99] [2025/04/05 23:45:01.827 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=8.016619ms] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.834 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=10] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.840 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 142, Old Table Name: x)"] [2025/04/05 23:45:01.851 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=910.214µs] [gotSchemaVersion=100] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.854 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=100] [2025/04/05 23:45:01.856 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=6.925732ms] [job="ID:146, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.864 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[142]"] [comment="drop table: table ID"] [2025/04/05 23:45:01.870 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="drop table"] [2025/04/05 23:45:01.871 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=10] [job="ID:146, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.887 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 23:45:01.896 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:01.896 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`y`"] [2025/04/05 23:45:01.901 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=10] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.667872ms] [gotSchemaVersion=101] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.917 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=101] [2025/04/05 23:45:01.919 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=7.856642ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=10] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.941 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.694005ms] [gotSchemaVersion=102] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.944 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=102] [2025/04/05 23:45:01.946 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=7.82951ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.953 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=10] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.958 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: y)"] [2025/04/05 23:45:01.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=978.586µs] [gotSchemaVersion=103] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:01.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=103] [2025/04/05 23:45:01.976 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=7.168786ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:01.984 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=147] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/05 23:45:01.988 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2025/04/05 23:45:01.989 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=147] [conn=10] [job="ID:147, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.006 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=147] [2025/04/05 23:45:02.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=103] [cur_db=test] [sql="drop table `x`,`y`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896702006961847 testkit.go:123: RefreshSession rand seed: 1743896702009091990 [2025/04/05 23:45:02.020 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:02.026 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=103] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:02.027 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=103] [cur_db=test] [sql="drop table if exists z;"] [user=] [2025/04/05 23:45:02.040 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.040 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:02.045 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=11] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.050 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 148, Table Name: x)"] [2025/04/05 23:45:02.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.345582ms] [gotSchemaVersion=104] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:02.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=104] [2025/04/05 23:45:02.072 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=7.561254ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:01.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.083 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=11] [job="ID:149, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:01.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.093 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/05 23:45:02.093 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=104] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:02.096 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057072418819] [2025/04/05 23:45:02.109 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:151, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.109 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:151, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table z (id int primary key, c int);"] [2025/04/05 23:45:02.115 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=151] [conn=11] [job="ID:151, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:150, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.119 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 150, Table Name: z)"] [2025/04/05 23:45:02.133 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.379889ms] [gotSchemaVersion=105] [phyTblIDs="[150]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:02.136 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=151] [version=105] [2025/04/05 23:45:02.137 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=8.130888ms] [job="ID:151, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.151 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=151] [conn=11] [job="ID:151, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:150, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.163 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=151] [2025/04/05 23:45:02.163 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=105] [cur_db=test] [sql="create table z (id int primary key, c int);"] [user=] [2025/04/05 23:45:02.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057085263881] [2025/04/05 23:45:02.188 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.188 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:02.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=11] [job="ID:152, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.208 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.747523ms] [gotSchemaVersion=106] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=106] [2025/04/05 23:45:02.213 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=8.764175ms] [job="ID:152, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=11] [job="ID:152, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.237 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.90989ms] [gotSchemaVersion=107] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.241 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=107] [2025/04/05 23:45:02.242 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=8.441669ms] [job="ID:152, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=11] [job="ID:152, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.255 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 148, Old Table Name: x)"] [2025/04/05 23:45:02.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=977.332µs] [gotSchemaVersion=108] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=108] [2025/04/05 23:45:02.272 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=7.268372ms] [job="ID:152, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.280 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=152] [tableIDs="[148]"] [comment="drop table: table ID"] [2025/04/05 23:45:02.283 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=152] [jobType="drop table"] [2025/04/05 23:45:02.284 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=11] [job="ID:152, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.301 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 23:45:02.301 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=108] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:02.311 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.311 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists z;"] [2025/04/05 23:45:02.315 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=11] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:150, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.989395ms] [gotSchemaVersion=109] [phyTblIDs="[150]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.337 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=109] [2025/04/05 23:45:02.338 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=9.253609ms] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.348 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=11] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:150, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.931573ms] [gotSchemaVersion=110] [phyTblIDs="[150]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=110] [2025/04/05 23:45:02.369 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=8.704132ms] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.376 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=11] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:150, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.382 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 150, Old Table Name: z)"] [2025/04/05 23:45:02.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.153103ms] [gotSchemaVersion=111] [phyTblIDs="[150]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.399 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=111] [2025/04/05 23:45:02.400 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=8.145783ms] [job="ID:153, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.410 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[150]"] [comment="drop table: table ID"] [2025/04/05 23:45:02.414 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop table"] [2025/04/05 23:45:02.415 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=11] [job="ID:153, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:150, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/05 23:45:02.432 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="drop table if exists z;"] [user=] [2025/04/05 23:45:02.445 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.445 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:02.450 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=11] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.455 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 154, Table Name: x)"] [2025/04/05 23:45:02.470 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=1.536706ms] [gotSchemaVersion=112] [phyTblIDs="[154]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:02.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=112] [2025/04/05 23:45:02.475 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=8.34976ms] [job="ID:155, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.487 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=11] [job="ID:155, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 23:45:02.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=112] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:02.500 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057177276421] [2025/04/05 23:45:02.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table z (id int primary key, c int);"] [2025/04/05 23:45:02.520 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=11] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.525 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 156, Table Name: z)"] [2025/04/05 23:45:02.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.494325ms] [gotSchemaVersion=113] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:02.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=113] [2025/04/05 23:45:02.544 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=8.255618ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.554 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=11] [job="ID:157, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.565 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/05 23:45:02.565 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=113] [cur_db=test] [sql="create table z (id int primary key, c int);"] [user=] [2025/04/05 23:45:02.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057190383626] [2025/04/05 23:45:02.594 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.594 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:02.599 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=11] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.772984ms] [gotSchemaVersion=114] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=114] [2025/04/05 23:45:02.619 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=8.664824ms] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.628 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=11] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.693737ms] [gotSchemaVersion=115] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.645 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=115] [2025/04/05 23:45:02.647 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=8.417521ms] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.655 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=11] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.661 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 154, Old Table Name: x)"] [2025/04/05 23:45:02.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=976.165µs] [gotSchemaVersion=116] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=116] [2025/04/05 23:45:02.679 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=7.679483ms] [job="ID:158, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.687 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=158] [tableIDs="[154]"] [comment="drop table: table ID"] [2025/04/05 23:45:02.691 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop table"] [2025/04/05 23:45:02.692 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=11] [job="ID:158, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.709 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 23:45:02.709 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=116] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:02.713 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:02.713 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:02.713 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:02.713 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:02.722 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.722 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists z;"] [2025/04/05 23:45:02.727 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=11] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.740 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:02.740 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:02.741 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c2fc53fc-7442-4d31-b40c-86e7f8539c4a] [watcherID=e57f422a-ec47-4461-a70f-af9016e4f68e] [2025/04/05 23:45:02.741 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:02.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.797052ms] [gotSchemaVersion=117] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=117] [2025/04/05 23:45:02.747 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:02.747 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:02.747 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:02.747 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:02.748 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=9.678852ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=11] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.993537ms] [gotSchemaVersion=118] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.778 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=118] [2025/04/05 23:45:02.779 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=9.114341ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.788 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=11] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.794 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 156, Old Table Name: z)"] [2025/04/05 23:45:02.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.180541ms] [gotSchemaVersion=119] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:02.811 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=119] [2025/04/05 23:45:02.812 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=8.493517ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.821 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=159] [tableIDs="[156]"] [comment="drop table: table ID"] [2025/04/05 23:45:02.825 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2025/04/05 23:45:02.826 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=11] [job="ID:159, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.842 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/05 23:45:02.842 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=119] [cur_db=test] [sql="drop table if exists z;"] [user=] [2025/04/05 23:45:02.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:02.854 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=11] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.864 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: x)"] [2025/04/05 23:45:02.879 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.34887ms] [gotSchemaVersion=120] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:02.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=120] [2025/04/05 23:45:02.884 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=8.06923ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.894 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=11] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.904 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/05 23:45:02.904 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=120] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:02.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057281871878] [2025/04/05 23:45:02.919 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:02.919 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table z (id int primary key, c int);"] [2025/04/05 23:45:02.924 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=11] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.929 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 162, Table Name: z)"] [2025/04/05 23:45:02.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.42413ms] [gotSchemaVersion=121] [phyTblIDs="[162]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:02.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=121] [2025/04/05 23:45:02.948 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=8.157196ms] [job="ID:163, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.958 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=11] [job="ID:163, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:02.968 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/05 23:45:02.969 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=121] [cur_db=test] [sql="create table z (id int primary key, c int);"] [user=] [2025/04/05 23:45:02.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057295241232] [2025/04/05 23:45:02.985 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:02.986 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [] [2025/04/05 23:45:02.986 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.986 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:02.986 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=42.61µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=39.139µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=27.588µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=33.609µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=35.307µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=31.339µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=30.803µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=27.603µs] [2025/04/05 23:45:02.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=29.77µs] [2025/04/05 23:45:02.987 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=25.716µs] [2025/04/05 23:45:02.987 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.987 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.987 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:02.987 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:02.990 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=213e9260-5023-45b6-befd-d1565aaa4799] ["take time"=5.035739ms] [2025/04/05 23:45:02.991 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.991 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:02.991 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:02.991 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c2fc53fc-7442-4d31-b40c-86e7f8539c4a] [watcherID=e57f422a-ec47-4461-a70f-af9016e4f68e] [2025/04/05 23:45:02.991 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c2fc53fc-7442-4d31-b40c-86e7f8539c4a] [2025/04/05 23:45:02.991 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [ttl-worker=task-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [originalCount=4] [newCount=0] [2025/04/05 23:45:02.991 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:02.991 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:02.991 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:02.991 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:02.991 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [ttl-worker=task-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [originalCount=4] [newCount=0] [2025/04/05 23:45:02.993 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:02.993 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:02.993 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:02.993 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:02.995 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.995 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=504] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:02.996 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [2025/04/05 23:45:02.996 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:02.997 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:02.996 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:02.996 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:02.997 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:02.997 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:02.997 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:02.998 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:02.999 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:02.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:02.999 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7c3584d9-e99e-4a02-a549-8cd15fb8c9d2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:02.999 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:02.999 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:02.999 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:02.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:02.999 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:02.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:02.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:03.000 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [error="context canceled"] [2025/04/05 23:45:03.000 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [2025/04/05 23:45:03.017 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:03.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:03.060 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=213e9260-5023-45b6-befd-d1565aaa4799] [error="context canceled"] [2025/04/05 23:45:03.060 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:03.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:03.069 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.969129ms] [2025/04/05 23:45:03.072 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:03.072 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:03.072 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:03.072 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:03.072 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:03.072 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:03.072 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:03.072 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:03.072 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:03.072 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:03.072 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:03.072 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:03.073 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestP3Phantom (1.53s) === NAME === RUN TestP4LostUpdate [2025/04/05 23:45:03.078 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:03.078 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:03.079 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:03.079 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:03.079 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:03.079 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:03.080 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:03.080 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:03.080 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:03.080 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:03.080 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:03.084 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:03.088 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:03.089 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:03.090 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:03.098 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:03.107 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:03.140 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1603] ["lease id"=3eaa960856612e69] [2025/04/05 23:45:03.142 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:03.229 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=121] ["elapsed time"=85.085233ms] [2025/04/05 23:45:03.230 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:03.232 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:03.245 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c487d29b-2aef-4d6e-9f0d-884479983018] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:03.245 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:03.247 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:03.248 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:03.248 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183238721536/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:03.248 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:03.248 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:03.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:03.249 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:03.249 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [2025/04/05 23:45:03.250 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613008] [ownerID=c487d29b-2aef-4d6e-9f0d-884479983018] [op=none] [2025/04/05 23:45:03.250 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:03.250 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [ownerKey=/tidb/ddl/fg/owner/2231960856613008] [currRev=514] [2025/04/05 23:45:03.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:03.251 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:03.252 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:03.252 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196085661300a] [ownerID=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [op=none] [2025/04/05 23:45:03.252 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [2025/04/05 23:45:03.252 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [ownerKey=/tidb/br-stream/owner/223196085661300a] [currRev=515] [2025/04/05 23:45:03.252 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613008] [ownerID=c487d29b-2aef-4d6e-9f0d-884479983018] [op=none] [2025/04/05 23:45:03.252 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [op=none] [2025/04/05 23:45:03.252 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:03.256 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:03.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:03.257 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:03.266 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:03.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:03.277 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:03.277 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:03.277 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:03.277 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:03.277 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:03.277 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:03.277 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:03.278 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:03.278 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:03.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:03.278 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:03.280 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:03.280 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:03.280 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:03.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:03.282 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856612e73] [ownerID=c487d29b-2aef-4d6e-9f0d-884479983018] [op=none] [2025/04/05 23:45:03.282 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:03.282 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [ownerKey=/tidb/stats/owner/3eaa960856612e73] [currRev=517] [2025/04/05 23:45:03.282 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:03.284 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a2e1cd97-bb99-4f40-b966-23a4b97c8d0a] [2025/04/05 23:45:03.285 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [ttl-worker=task-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [originalCount=0] [newCount=4] [2025/04/05 23:45:03.285 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [ttl-worker=task-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [originalCount=0] [newCount=4] [2025/04/05 23:45:03.285 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:03.285 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:03.286 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:03.286 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:03.286 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896703286494912 [2025/04/05 23:45:03.289 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:03.296 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.492698ms] [2025/04/05 23:45:03.296 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:03.296 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:03.300 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:03.305 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=121] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:03.307 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=121] [cur_db=test] [sql="alter table `z` nocache"] [user=] [2025/04/05 23:45:03.372 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=55.791838ms] [2025/04/05 23:45:03.381 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:03.381 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`z`"] [2025/04/05 23:45:03.386 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=13] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.842319ms] [gotSchemaVersion=122] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=122] [2025/04/05 23:45:03.408 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=10.00699ms] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=13] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=1.906134ms] [gotSchemaVersion=123] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.437 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=123] [2025/04/05 23:45:03.439 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=9.356274ms] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=13] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.453 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 160, Old Table Name: x)"] [2025/04/05 23:45:03.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.016666ms] [gotSchemaVersion=124] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=124] [2025/04/05 23:45:03.471 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=7.807127ms] [job="ID:164, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.480 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=164] [tableIDs="[160]"] [comment="drop table: table ID"] [2025/04/05 23:45:03.487 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=164] [jobType="drop table"] [2025/04/05 23:45:03.488 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=13] [job="ID:164, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.506 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/05 23:45:03.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:03.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`z`"] [2025/04/05 23:45:03.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=13] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.539 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.914777ms] [gotSchemaVersion=125] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=125] [2025/04/05 23:45:03.543 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=8.928314ms] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=13] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.569 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.919084ms] [gotSchemaVersion=126] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.573 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=126] [2025/04/05 23:45:03.575 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=9.492275ms] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.584 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=13] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.590 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 162, Old Table Name: z)"] [2025/04/05 23:45:03.603 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=986.885µs] [gotSchemaVersion=127] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=127] [2025/04/05 23:45:03.608 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=7.915276ms] [job="ID:165, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.617 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[162]"] [comment="drop table: table ID"] [2025/04/05 23:45:03.621 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="drop table"] [2025/04/05 23:45:03.622 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=13] [job="ID:165, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/05 23:45:03.638 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 13\n# Query_time: 0.329834934\n# Parse_time: 0.000104843\n# Compile_time: 0.000313845\n# Rewrite_time: 0.000005246\n# Optimize_time: 0.000071557\n# Wait_TS: 0.000967769\n# DB: test\n# Is_internal: false\n# Digest: 80e633cc6206b7d03bc1b2513b668ce405ea6ce0ade8845a9ad995d8c1a1d244\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `x`,`z`;"] [2025/04/05 23:45:03.638 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=127] [cur_db=test] [sql="drop table `x`,`z`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896703638650242 testkit.go:123: RefreshSession rand seed: 1743896703640793528 [2025/04/05 23:45:03.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=127] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:03.657 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:03.657 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:03.662 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=14] [job="ID:167, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.666 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 166, Table Name: x)"] [2025/04/05 23:45:03.679 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.386114ms] [gotSchemaVersion=128] [phyTblIDs="[166]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:03.683 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=128] [2025/04/05 23:45:03.684 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=8.070663ms] [job="ID:167, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.696 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=14] [job="ID:167, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.706 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/05 23:45:03.706 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=128] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:03.708 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057491587080] [2025/04/05 23:45:03.719 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457152057491587083, conflictStartTS=457152057491587084, conflictCommitTS=457152057491587086, key={tableID=166, tableName=test.x, handle=1}, originalKey=7480000000000000a65f728000000000000001, primary={tableID=166, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000a65f728000000000000001, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:45:03.719 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=457152057491587083, conflictStartTS=457152057491587084, conflictCommitTS=457152057491587086, key={tableID=166, tableName=test.x, handle=1}, originalKey=7480000000000000a65f728000000000000001, primary={tableID=166, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000a65f728000000000000001, reason=Optimistic [try again later]"] [2025/04/05 23:45:03.719 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=128] [error="previous statement: update x set c = c+1 where id = 1;: [kv:9007]Write conflict, txnStartTS=457152057491587083, conflictStartTS=457152057491587084, conflictCommitTS=457152057491587086, key={tableID=166, tableName=test.x, handle=1}, originalKey=7480000000000000a65f728000000000000001, primary={tableID=166, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000a65f728000000000000001, reason=Optimistic [try again later]"] [errorVerbose="[kv:9007]Write conflict, txnStartTS=457152057491587083, conflictStartTS=457152057491587084, conflictCommitTS=457152057491587086, key={tableID=166, tableName=test.x, handle=1}, originalKey=7480000000000000a65f728000000000000001, primary={tableID=166, tableName=test.x, handle=1}, originalPrimaryKey=7480000000000000a65f728000000000000001, reason=Optimistic [try again later]\nprevious statement: update x set c = c+1 where id = 1;\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:280\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestP4LostUpdate\n\ttests/realtikvtest/txntest/isolation_test.go:310\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:45:03.730 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:03.731 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:03.735 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=14] [job="ID:168, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.707472ms] [gotSchemaVersion=129] [phyTblIDs="[166]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=129] [2025/04/05 23:45:03.754 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=8.33874ms] [job="ID:168, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.764 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=14] [job="ID:168, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=1.7857ms] [gotSchemaVersion=130] [phyTblIDs="[166]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=130] [2025/04/05 23:45:03.786 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=8.476809ms] [job="ID:168, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.794 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=14] [job="ID:168, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.800 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 166, Old Table Name: x)"] [2025/04/05 23:45:03.813 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=950.694µs] [gotSchemaVersion=131] [phyTblIDs="[166]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=131] [2025/04/05 23:45:03.818 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=7.863779ms] [job="ID:168, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.827 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=168] [tableIDs="[166]"] [comment="drop table: table ID"] [2025/04/05 23:45:03.831 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=168] [jobType="drop table"] [2025/04/05 23:45:03.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=14] [job="ID:168, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.849 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/05 23:45:03.850 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=131] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:03.862 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:03.862 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:03.868 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=14] [job="ID:170, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:169, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.872 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 169, Table Name: x)"] [2025/04/05 23:45:03.887 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.595676ms] [gotSchemaVersion=132] [phyTblIDs="[169]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:03.890 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=132] [2025/04/05 23:45:03.892 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=8.892844ms] [job="ID:170, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.904 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=14] [job="ID:170, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:169, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.914 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 23:45:03.915 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=132] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:03.917 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057544015881] [2025/04/05 23:45:03.944 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:171, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:03.944 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:171, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:03.948 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=171] [conn=14] [job="ID:171, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:169, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=1.801099ms] [gotSchemaVersion=133] [phyTblIDs="[169]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=171] [version=133] [2025/04/05 23:45:03.968 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=8.883776ms] [job="ID:171, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.978 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=171] [conn=14] [job="ID:171, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:169, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:03.992 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=1.751923ms] [gotSchemaVersion=134] [phyTblIDs="[169]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:03.995 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=171] [version=134] [2025/04/05 23:45:03.997 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=8.213977ms] [job="ID:171, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.005 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=171] [conn=14] [job="ID:171, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:169, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.011 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 169, Old Table Name: x)"] [2025/04/05 23:45:04.023 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=983.979µs] [gotSchemaVersion=135] [phyTblIDs="[169]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.027 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=171] [version=135] [2025/04/05 23:45:04.028 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=7.632282ms] [job="ID:171, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.040 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=171] [tableIDs="[169]"] [comment="drop table: table ID"] [2025/04/05 23:45:04.044 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=171] [jobType="drop table"] [2025/04/05 23:45:04.045 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=171] [conn=14] [job="ID:171, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:169, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:03.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.063 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=171] [2025/04/05 23:45:04.063 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=135] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:04.075 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:04.075 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:04.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=14] [job="ID:173, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.086 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 172, Table Name: x)"] [2025/04/05 23:45:04.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.569504ms] [gotSchemaVersion=136] [phyTblIDs="[172]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:04.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=136] [2025/04/05 23:45:04.105 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=8.49799ms] [job="ID:173, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.116 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=14] [job="ID:173, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.127 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/05 23:45:04.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=136] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:04.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057596706829] [2025/04/05 23:45:04.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057596706834] [2025/04/05 23:45:04.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057596706832] [2025/04/05 23:45:04.150 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:04.150 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [] [2025/04/05 23:45:04.150 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.150 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:04.150 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=47.62µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=31.253µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=29.62µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=27.453µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=33.709µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=24.928µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=37.685µs] [2025/04/05 23:45:04.150 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.151 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.151 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:04.151 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:04.153 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c487d29b-2aef-4d6e-9f0d-884479983018] ["take time"=3.780026ms] [2025/04/05 23:45:04.153 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.153 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:04.153 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a2e1cd97-bb99-4f40-b966-23a4b97c8d0a] [2025/04/05 23:45:04.154 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [ttl-worker=task-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [originalCount=4] [newCount=0] [2025/04/05 23:45:04.154 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:04.154 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:04.154 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:04.154 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:04.154 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [ttl-worker=task-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [originalCount=4] [newCount=0] [2025/04/05 23:45:04.157 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:04.157 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:04.157 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:04.157 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:04.159 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.160 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1603] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:04.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:04.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:04.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:04.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [2025/04/05 23:45:04.162 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [2025/04/05 23:45:04.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:04.161 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.162 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.163 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:04.163 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:04.163 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:04.164 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6ea83359-6196-4c21-b1c4-2ae4b61bcb5e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:04.164 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:04.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:04.164 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:04.164 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:04.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:04.164 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:04.164 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:04.165 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [error="context canceled"] [2025/04/05 23:45:04.165 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [2025/04/05 23:45:04.165 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [error="context canceled"] [2025/04/05 23:45:04.166 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c487d29b-2aef-4d6e-9f0d-884479983018] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:04.180 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:04.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:04.223 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:04.223 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:04.236 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.302307ms] [2025/04/05 23:45:04.238 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:04.238 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:04.238 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:04.238 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:04.238 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:04.238 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:04.238 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:04.238 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:04.238 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:04.238 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:04.238 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:04.238 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:04.240 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestP4LostUpdate (1.17s) === NAME === RUN TestP4CLostUpdate --- PASS: TestP4CLostUpdate (0.00s) === NAME === RUN TestA3Phantom [2025/04/05 23:45:04.246 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:04.246 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:04.247 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:04.248 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:04.248 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:04.248 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:04.248 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:04.248 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:04.248 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:04.248 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:04.249 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:04.253 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:04.259 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:04.260 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:04.260 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:04.270 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:04.280 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:04.315 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1873] ["lease id"=2231960856613034] [2025/04/05 23:45:04.317 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:04.404 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=136] ["elapsed time"=84.406598ms] [2025/04/05 23:45:04.404 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:04.406 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:04.411 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=140a67f2-4666-4766-bfd0-0f854e8b8a32] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:04.412 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:04.413 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:04.414 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:04.415 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183238750208/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:04.415 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:04.415 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:04.415 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [2025/04/05 23:45:04.417 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612ea5] [ownerID=140a67f2-4666-4766-bfd0-0f854e8b8a32] [op=none] [2025/04/05 23:45:04.417 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:04.417 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [ownerKey=/tidb/ddl/fg/owner/3eaa960856612ea5] [currRev=570] [2025/04/05 23:45:04.418 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:04.418 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=433e423e-c926-437c-9919-faab8b898840] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:04.418 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:04.418 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613129] [ownerID=433e423e-c926-437c-9919-faab8b898840] [op=none] [2025/04/05 23:45:04.418 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [2025/04/05 23:45:04.419 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [ownerKey=/tidb/br-stream/owner/6f18960856613129] [currRev=571] [2025/04/05 23:45:04.419 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612ea5] [ownerID=140a67f2-4666-4766-bfd0-0f854e8b8a32] [op=none] [2025/04/05 23:45:04.419 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [op=none] [2025/04/05 23:45:04.419 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:04.424 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:04.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:04.425 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:04.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:04.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:04.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:04.446 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:04.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:04.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:04.446 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:04.446 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:04.446 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:04.446 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:04.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:04.448 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:04.449 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:04.449 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:04.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:04.451 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:04.451 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196085661303e] [ownerID=140a67f2-4666-4766-bfd0-0f854e8b8a32] [op=none] [2025/04/05 23:45:04.451 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:04.451 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [ownerKey=/tidb/stats/owner/223196085661303e] [currRev=573] [2025/04/05 23:45:04.453 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8e5469df-3111-4d6d-afae-52e938f19467] [2025/04/05 23:45:04.453 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [ttl-worker=task-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [originalCount=0] [newCount=4] [2025/04/05 23:45:04.453 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [ttl-worker=task-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [originalCount=0] [newCount=4] [2025/04/05 23:45:04.453 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:04.453 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:04.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:04.454 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:04.454 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896704454658603 [2025/04/05 23:45:04.458 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:04.465 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.536848ms] [2025/04/05 23:45:04.465 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:04.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:04.468 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:04.470 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=136] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:04.483 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:04.483 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`"] [2025/04/05 23:45:04.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=16] [job="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.503 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.899158ms] [gotSchemaVersion=137] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.506 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=137] [2025/04/05 23:45:04.508 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=8.75164ms] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=16] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.532 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=1.886622ms] [gotSchemaVersion=138] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.535 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=138] [2025/04/05 23:45:04.538 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=9.144958ms] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.552 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=16] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.558 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 172, Old Table Name: x)"] [2025/04/05 23:45:04.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=1.186596ms] [gotSchemaVersion=139] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=139] [2025/04/05 23:45:04.577 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=9.043522ms] [job="ID:174, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.586 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=174] [tableIDs="[172]"] [comment="drop table: table ID"] [2025/04/05 23:45:04.593 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=174] [jobType="drop table"] [2025/04/05 23:45:04.594 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=174] [conn=16] [job="ID:174, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.613 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=174] [2025/04/05 23:45:04.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=139] [cur_db=test] [sql="drop table `x`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896704613841439 testkit.go:123: RefreshSession rand seed: 1743896704616045400 [2025/04/05 23:45:04.620 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=139] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:04.633 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:04.633 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:04.639 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=17] [job="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.643 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 175, Table Name: x)"] [2025/04/05 23:45:04.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=1.398439ms] [gotSchemaVersion=140] [phyTblIDs="[175]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:04.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=140] [2025/04/05 23:45:04.662 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=8.08257ms] [job="ID:176, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.673 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=17] [job="ID:176, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/05 23:45:04.685 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=140] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:04.687 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057740623890] [2025/04/05 23:45:04.710 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:04.710 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:04.715 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=17] [job="ID:177, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.935215ms] [gotSchemaVersion=141] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=141] [2025/04/05 23:45:04.735 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=8.85507ms] [job="ID:177, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.745 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=17] [job="ID:177, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.948578ms] [gotSchemaVersion=142] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.764 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=142] [2025/04/05 23:45:04.765 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=8.973508ms] [job="ID:177, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.774 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=17] [job="ID:177, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.780 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 175, Old Table Name: x)"] [2025/04/05 23:45:04.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=931.878µs] [gotSchemaVersion=143] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=143] [2025/04/05 23:45:04.797 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=7.525687ms] [job="ID:177, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.805 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=177] [tableIDs="[175]"] [comment="drop table: table ID"] [2025/04/05 23:45:04.809 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=177] [jobType="drop table"] [2025/04/05 23:45:04.810 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=17] [job="ID:177, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/05 23:45:04.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=143] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:04.839 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:04.839 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:04.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=17] [job="ID:179, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:178, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.849 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 178, Table Name: x)"] [2025/04/05 23:45:04.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.595174ms] [gotSchemaVersion=144] [phyTblIDs="[178]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:04.867 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=144] [2025/04/05 23:45:04.868 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=8.355899ms] [job="ID:179, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.880 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=17] [job="ID:179, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:178, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.892 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/05 23:45:04.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=144] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:04.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057806422019] [2025/04/05 23:45:04.920 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:04.920 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:04.925 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=17] [job="ID:180, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:178, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=2.445913ms] [gotSchemaVersion=145] [phyTblIDs="[178]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=145] [2025/04/05 23:45:04.959 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=145] ["take time"=11.997338ms] [job="ID:180, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=17] [job="ID:180, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:178, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:04.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=2.022611ms] [gotSchemaVersion=146] [phyTblIDs="[178]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:04.992 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=146] [2025/04/05 23:45:04.994 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=9.487362ms] [job="ID:180, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.003 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=17] [job="ID:180, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:178, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.009 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 178, Old Table Name: x)"] [2025/04/05 23:45:05.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=1.087354ms] [gotSchemaVersion=147] [phyTblIDs="[178]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:05.028 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=147] [2025/04/05 23:45:05.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=8.573682ms] [job="ID:180, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.040 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=180] [tableIDs="[178]"] [comment="drop table: table ID"] [2025/04/05 23:45:05.045 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=180] [jobType="drop table"] [2025/04/05 23:45:05.046 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=17] [job="ID:180, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:178, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:04.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/05 23:45:05.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=147] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:05.078 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:182, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:05.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:05.078 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:182, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:05.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:05.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=182] [conn=17] [job="ID:182, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:05.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.090 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 181, Table Name: x)"] [2025/04/05 23:45:05.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.631828ms] [gotSchemaVersion=148] [phyTblIDs="[181]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:05.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=182] [version=148] [2025/04/05 23:45:05.113 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=148] ["take time"=9.32526ms] [job="ID:182, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:05.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.127 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=182] [conn=17] [job="ID:182, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:05.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:05.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=182] [2025/04/05 23:45:05.140 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=148] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:05.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152057871695873] [2025/04/05 23:45:05.155 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:05.155 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [] [2025/04/05 23:45:05.155 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:05.155 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.155 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:05.155 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:05.155 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=51.16µs] [2025/04/05 23:45:05.155 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=47.541µs] [2025/04/05 23:45:05.156 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=59.368µs] [2025/04/05 23:45:05.156 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=48.07µs] [2025/04/05 23:45:05.156 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=39.021µs] [2025/04/05 23:45:05.156 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=35.336µs] [2025/04/05 23:45:05.156 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.156 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.157 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:05.157 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:05.159 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=140a67f2-4666-4766-bfd0-0f854e8b8a32] ["take time"=4.177677ms] [2025/04/05 23:45:05.159 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.159 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:05.159 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8e5469df-3111-4d6d-afae-52e938f19467] [2025/04/05 23:45:05.159 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [ttl-worker=task-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [originalCount=4] [newCount=0] [2025/04/05 23:45:05.160 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:05.160 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:05.160 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:05.160 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:05.160 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [ttl-worker=task-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [originalCount=4] [newCount=0] [2025/04/05 23:45:05.162 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:05.162 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:05.163 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:05.163 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:05.165 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.165 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:05.166 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1873] [2025/04/05 23:45:05.166 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:05.166 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:05.166 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:05.166 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:05.166 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=433e423e-c926-437c-9919-faab8b898840] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:05.167 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:05.167 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:05.167 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:05.167 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [] [2025/04/05 23:45:05.168 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.168 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.168 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.169 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:05.169 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:05.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:05.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:05.169 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:05.169 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [error="context canceled"] [2025/04/05 23:45:05.169 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=433e423e-c926-437c-9919-faab8b898840] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:05.169 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:05.169 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:05.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:05.169 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:05.169 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:05.170 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [error="context canceled"] [2025/04/05 23:45:05.170 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [2025/04/05 23:45:05.170 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [error="context canceled"] [2025/04/05 23:45:05.170 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=140a67f2-4666-4766-bfd0-0f854e8b8a32] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.170 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.173 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.173 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.176 +00:00] [WARN] [domain.go:1163] ["reload schema in loop, schema syncer need rewatch"] [2025/04/05 23:45:05.176 +00:00] [INFO] [watcher.go:78] ["syncer rewatch global info finished"] [category=ddl] [2025/04/05 23:45:05.178 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.180 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.180 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.180 +00:00] [INFO] [domain.go:1169] ["reload schema in loop, schema syncer need restart"] [2025/04/05 23:45:05.180 +00:00] [INFO] [schema_validator.go:101] ["the schema validator stops"] [2025/04/05 23:45:05.180 +00:00] [INFO] [domain.go:1243] ["domain is closed"] [2025/04/05 23:45:05.180 +00:00] [ERROR] [domain.go:1179] ["reload schema in loop, schema syncer restart failed"] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).Restart\n\tpkg/ddl/schemaver/syncer.go:252\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).mustRestartSyncer\n\tpkg/domain/domain.go:1208\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1179\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.183 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.184 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.185 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.185 +00:00] [INFO] [domain.go:1169] ["reload schema in loop, schema syncer need restart"] [2025/04/05 23:45:05.185 +00:00] [INFO] [schema_validator.go:101] ["the schema validator stops"] [2025/04/05 23:45:05.185 +00:00] [INFO] [domain.go:1243] ["domain is closed"] [2025/04/05 23:45:05.185 +00:00] [ERROR] [domain.go:1179] ["reload schema in loop, schema syncer restart failed"] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).Restart\n\tpkg/ddl/schemaver/syncer.go:252\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).mustRestartSyncer\n\tpkg/domain/domain.go:1208\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1179\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.186 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:05.187 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.189 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.190 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.190 +00:00] [INFO] [domain.go:1169] ["reload schema in loop, schema syncer need restart"] [2025/04/05 23:45:05.190 +00:00] [INFO] [schema_validator.go:101] ["the schema validator stops"] [2025/04/05 23:45:05.190 +00:00] [INFO] [domain.go:1243] ["domain is closed"] [2025/04/05 23:45:05.190 +00:00] [ERROR] [domain.go:1179] ["reload schema in loop, schema syncer restart failed"] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).Restart\n\tpkg/ddl/schemaver/syncer.go:252\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).mustRestartSyncer\n\tpkg/domain/domain.go:1208\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1179\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.194 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.196 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.197 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.197 +00:00] [INFO] [domain.go:1169] ["reload schema in loop, schema syncer need restart"] [2025/04/05 23:45:05.198 +00:00] [INFO] [schema_validator.go:101] ["the schema validator stops"] [2025/04/05 23:45:05.198 +00:00] [INFO] [domain.go:1243] ["domain is closed"] [2025/04/05 23:45:05.198 +00:00] [ERROR] [domain.go:1179] ["reload schema in loop, schema syncer restart failed"] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).Restart\n\tpkg/ddl/schemaver/syncer.go:252\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).mustRestartSyncer\n\tpkg/domain/domain.go:1208\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1179\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.200 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.202 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.202 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.202 +00:00] [INFO] [domain.go:1169] ["reload schema in loop, schema syncer need restart"] [2025/04/05 23:45:05.202 +00:00] [INFO] [schema_validator.go:101] ["the schema validator stops"] [2025/04/05 23:45:05.202 +00:00] [INFO] [domain.go:1243] ["domain is closed"] [2025/04/05 23:45:05.202 +00:00] [ERROR] [domain.go:1179] ["reload schema in loop, schema syncer restart failed"] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).Restart\n\tpkg/ddl/schemaver/syncer.go:252\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).mustRestartSyncer\n\tpkg/domain/domain.go:1208\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1179\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.204 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeTableReader\n\tpkg/executor/builder.go:3623\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildTableReader\n\tpkg/executor/builder.go:3775\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:291\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.206 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:45:05.206 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:05.207 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:05.207 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:05.238 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:05.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:05.686 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:06.187 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:06.254 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:45:06.687 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:07.188 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:07.678 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152057871695906] [newTTL=7500] [isPipelinedTxn=false] [2025/04/05 23:45:07.689 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:08.190 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:08.691 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:09.192 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:09.692 +00:00] [INFO] [schema_validator.go:241] ["the schema validator stopped before checking"] [2025/04/05 23:45:10.179 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152057871695906] [newTTL=10000] [isPipelinedTxn=false] [2025/04/05 23:45:10.193 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=internal] [error="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:2092\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1917\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=true] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:45:10.194 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:2092\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1917\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:10.195 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152057871695906\n# Query_time: 5.011629445\n# Parse_time: 0\n# Compile_time: 0.000291223\n# Rewrite_time: 0.000001862\n# Optimize_time: 0.003099019\n# Wait_TS: 0\n# Prewrite_time: 0.001136383 Get_commit_ts_time: 0.000431752 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 66µs, total_suspend_time: 328.9µs, tikv_grpc_process_time: 16.2µs, tikv_grpc_wait_time: 24.3µs, tikv_wall_time: 441.5µs}, scan_detail: {get_snapshot_time: 9.85µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 15.8µs, propose_send_wait: 0s, persist_log: {total: 54.5µs, write_leader_wait: 33ns, sync_log: 26.7µs, write_memtable: 480ns}, commit_log: 175.3µs, apply_batch_wait: 20.7µs, apply: {total:77.6µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 25.7µs, write_memtable: 14.3µs}, scheduler: {process: 349.7µs, latch_wait: 1.91µs}}} Write_keys: 3 Write_size: 122 Prewrite_region: 1\n# Is_internal: true\n# Digest: 9505cacb7c710ed17125fcc6cb3669e8ddca6c8cd8af6a31f6b3cd64604c3098\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0.000872891\n# PD_total: 0.000415182\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 326\n# Unpacked_bytes_received_tikv_total: 78\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Resource_group: default\n# Prev_stmt: insert into mysql.stats_meta (version, table_id, modify_count, count) values (457152057871695906, 181, 2, 2) on duplicate key update version = values(version), modify_count = modify_count + values(modify_count), count = count + values(count)\nCOMMIT;"] [2025/04/05 23:45:10.195 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=148] [error="previous statement: insert into mysql.stats_meta (version, table_id, modify_count, count) values (457152057871695906, 181, 2, 2) on duplicate key update version = values(version), modify_count = modify_count + values(modify_count), count = count + values(count): [domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:2092\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1917\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\nprevious statement: insert into mysql.stats_meta (version, table_id, modify_count, count) values (457152057871695906, 181, 2, 2) on duplicate key update version = values(version), modify_count = modify_count + values(modify_count), count = count + values(count)"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 23:45:10.196 +00:00] [ERROR] [handle.go:237] ["dump stats delta fail"] [category=stats] [error="previous statement: insert into mysql.stats_meta (version, table_id, modify_count, count) values (457152057871695906, 181, 2, 2) on duplicate key update version = values(version), modify_count = modify_count + values(modify_count), count = count + values(count): [domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:2092\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1917\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRowsWithCtx\n\tpkg/statistics/handle/util/util.go:261\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:242\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:65\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:205\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:208\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:105\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:129\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:236\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\nprevious statement: insert into mysql.stats_meta (version, table_id, modify_count, count) values (457152057871695906, 181, 2, 2) on duplicate key update version = values(version), modify_count = modify_count + values(modify_count), count = count + values(count)"] [stack="github.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:237\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2757"] [2025/04/05 23:45:10.197 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:10.197 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:10.207 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=5.052300622s] [2025/04/05 23:45:10.210 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:10.210 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:10.210 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:10.210 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:10.210 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:10.210 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:10.210 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:10.210 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:10.210 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:10.210 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:10.210 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:10.210 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:10.211 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestA3Phantom (5.97s) === NAME === RUN TestA5AReadSkew [2025/04/05 23:45:10.216 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:10.217 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:10.218 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:10.218 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:10.219 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:10.219 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:10.219 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:10.219 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:10.219 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:10.220 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:10.220 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:10.225 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:10.230 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:10.231 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:10.232 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:10.242 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:10.254 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:10.289 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=434] ["lease id"=6f18960856613154] [2025/04/05 23:45:10.292 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:10.382 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=148] ["elapsed time"=87.196349ms] [2025/04/05 23:45:10.382 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:10.384 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:10.391 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:10.391 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:10.394 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:10.395 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:10.395 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183411187712/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:10.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:10.395 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:10.396 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:10.396 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:10.396 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:10.396 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [2025/04/05 23:45:10.398 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613159] [ownerID=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [op=none] [2025/04/05 23:45:10.398 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:10.398 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [ownerKey=/tidb/ddl/fg/owner/6f18960856613159] [currRev=623] [2025/04/05 23:45:10.398 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:10.398 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:10.399 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:10.399 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612ed5] [ownerID=afd29b8d-729b-43f3-b873-681c23adfddb] [op=none] [2025/04/05 23:45:10.399 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [2025/04/05 23:45:10.399 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [ownerKey=/tidb/br-stream/owner/3eaa960856612ed5] [currRev=623] [2025/04/05 23:45:10.400 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613159] [ownerID=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [op=none] [2025/04/05 23:45:10.400 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [op=none] [2025/04/05 23:45:10.400 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:10.405 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:10.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:10.406 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:10.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:10.422 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:10.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:10.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:10.427 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:10.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:10.427 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:10.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:10.427 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:10.427 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:10.427 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:10.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:10.428 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:10.429 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:10.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:10.429 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:10.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:10.430 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:10.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:10.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:10.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:10.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:10.432 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960856613161] [ownerID=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [op=none] [2025/04/05 23:45:10.432 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:10.432 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [ownerKey=/tidb/stats/owner/6f18960856613161] [currRev=625] [2025/04/05 23:45:10.432 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:10.434 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:10.434 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2795b462-2139-4b60-90e4-ae1a458fabbe] [2025/04/05 23:45:10.434 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [ttl-worker=task-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [originalCount=0] [newCount=4] [2025/04/05 23:45:10.434 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [ttl-worker=task-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [originalCount=0] [newCount=4] [2025/04/05 23:45:10.434 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:10.436 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:10.436 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:10.436 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896710436392424 [2025/04/05 23:45:10.438 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:10.445 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.504567ms] [2025/04/05 23:45:10.445 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:10.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:10.457 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:10.459 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=148] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:10.472 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`"] [2025/04/05 23:45:10.472 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:10.477 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=19] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.492 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.754565ms] [gotSchemaVersion=149] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:10.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=149] [2025/04/05 23:45:10.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=9.345813ms] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=19] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.528 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=2.061019ms] [gotSchemaVersion=150] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:10.532 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=150] [2025/04/05 23:45:10.534 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=10.847378ms] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=19] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.552 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 181, Old Table Name: x)"] [2025/04/05 23:45:10.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.325727ms] [gotSchemaVersion=151] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:10.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=151] [2025/04/05 23:45:10.571 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=9.10011ms] [job="ID:183, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.583 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=183] [tableIDs="[181]"] [comment="drop table: table ID"] [2025/04/05 23:45:10.594 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=183] [jobType="drop table"] [2025/04/05 23:45:10.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=19] [job="ID:183, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.621 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 23:45:10.621 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=151] [cur_db=test] [sql="drop table `x`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896710621929153 testkit.go:123: RefreshSession rand seed: 1743896710624183492 [2025/04/05 23:45:10.648 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:10.653 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=151] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:10.654 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=151] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:10.670 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:185, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:10.670 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:185, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:10.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=185] [conn=20] [job="ID:185, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.686 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 184, Table Name: x)"] [2025/04/05 23:45:10.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.661553ms] [gotSchemaVersion=152] [phyTblIDs="[184]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:10.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=185] [version=152] [2025/04/05 23:45:10.711 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=152] ["take time"=10.126094ms] [job="ID:185, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.725 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=185] [conn=20] [job="ID:185, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.739 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=185] [2025/04/05 23:45:10.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=152] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:10.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059339702273] [2025/04/05 23:45:10.760 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:10.760 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:10.767 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=20] [job="ID:187, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:186, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.773 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 186, Table Name: y)"] [2025/04/05 23:45:10.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=2.001304ms] [gotSchemaVersion=153] [phyTblIDs="[186]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:10.796 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=153] [2025/04/05 23:45:10.798 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=10.96777ms] [job="ID:187, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.813 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=20] [job="ID:187, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:186, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 23:45:10.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=153] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:10.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059353071627] [2025/04/05 23:45:10.841 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059353071631] [2025/04/05 23:45:10.860 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:10.860 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:10.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=20] [job="ID:188, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.015877ms] [gotSchemaVersion=154] [phyTblIDs="[184]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:10.890 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=154] [2025/04/05 23:45:10.891 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=154] ["take time"=10.168002ms] [job="ID:188, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.903 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=20] [job="ID:188, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.923 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=2.040438ms] [gotSchemaVersion=155] [phyTblIDs="[184]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:10.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=155] [2025/04/05 23:45:10.929 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=10.168319ms] [job="ID:188, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=20] [job="ID:188, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.947 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 184, Old Table Name: x)"] [2025/04/05 23:45:10.962 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=1.189713ms] [gotSchemaVersion=156] [phyTblIDs="[184]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:10.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=156] [2025/04/05 23:45:10.968 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=9.434222ms] [job="ID:188, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:10.982 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=188] [tableIDs="[184]"] [comment="drop table: table ID"] [2025/04/05 23:45:10.987 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=188] [jobType="drop table"] [2025/04/05 23:45:10.988 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=20] [job="ID:188, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/05 23:45:11.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=156] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:11.024 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.024 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists y;"] [2025/04/05 23:45:11.031 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=20] [job="ID:189, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:186, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.052 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=2.136131ms] [gotSchemaVersion=157] [phyTblIDs="[186]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.056 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=157] [2025/04/05 23:45:11.058 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=10.634863ms] [job="ID:189, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=20] [job="ID:189, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:186, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.087 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=2.199339ms] [gotSchemaVersion=158] [phyTblIDs="[186]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.093 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=158] [2025/04/05 23:45:11.095 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=12.272493ms] [job="ID:189, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=20] [job="ID:189, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:186, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.111 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 186, Old Table Name: y)"] [2025/04/05 23:45:11.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.593971ms] [gotSchemaVersion=159] [phyTblIDs="[186]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=159] [2025/04/05 23:45:11.136 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=159] ["take time"=11.657381ms] [job="ID:189, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.149 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=189] [tableIDs="[186]"] [comment="drop table: table ID"] [2025/04/05 23:45:11.156 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=189] [jobType="drop table"] [2025/04/05 23:45:11.158 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=20] [job="ID:189, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:186, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:10.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.179 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/05 23:45:11.179 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=159] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:11.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.192 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:11.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=20] [job="ID:191, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.202 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 190, Table Name: x)"] [2025/04/05 23:45:11.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=2.091196ms] [gotSchemaVersion=160] [phyTblIDs="[190]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:11.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=160] [2025/04/05 23:45:11.224 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=160] ["take time"=11.47702ms] [job="ID:191, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.239 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=20] [job="ID:191, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.253 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/05 23:45:11.253 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=160] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:11.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059470774278] [2025/04/05 23:45:11.271 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.271 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:11.277 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=20] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.282 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 192, Table Name: y)"] [2025/04/05 23:45:11.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=1.467577ms] [gotSchemaVersion=161] [phyTblIDs="[192]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:11.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=161] [2025/04/05 23:45:11.304 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=8.725634ms] [job="ID:193, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.316 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=20] [job="ID:193, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.332 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/05 23:45:11.333 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=161] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:11.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059483881485] [2025/04/05 23:45:11.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:194, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:11.380 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=20] [job="ID:194, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=1.904576ms] [gotSchemaVersion=162] [phyTblIDs="[190]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=162] [2025/04/05 23:45:11.402 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=9.64484ms] [job="ID:194, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.404 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:11.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:11.405 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:11.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:11.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=20] [job="ID:194, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=2.908516ms] [gotSchemaVersion=163] [phyTblIDs="[190]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.434 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:11.434 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:11.435 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2795b462-2139-4b60-90e4-ae1a458fabbe] [watcherID=cd875e91-f9bc-45ee-bebe-3693ea1a089f] [2025/04/05 23:45:11.436 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:11.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=163] [2025/04/05 23:45:11.441 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=13.955573ms] [job="ID:194, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.444 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:11.444 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:11.444 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:11.444 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:11.455 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=20] [job="ID:194, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.462 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 190, Old Table Name: x)"] [2025/04/05 23:45:11.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.161279ms] [gotSchemaVersion=164] [phyTblIDs="[190]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=164] [2025/04/05 23:45:11.481 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=8.726884ms] [job="ID:194, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.490 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=194] [tableIDs="[190]"] [comment="drop table: table ID"] [2025/04/05 23:45:11.495 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop table"] [2025/04/05 23:45:11.496 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=194] [conn=20] [job="ID:194, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=194] [2025/04/05 23:45:11.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=164] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:11.529 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:195, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists y;"] [2025/04/05 23:45:11.529 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:195, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.536 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=195] [conn=20] [job="ID:195, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=2.770286ms] [gotSchemaVersion=165] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.564 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=195] [version=165] [2025/04/05 23:45:11.566 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=12.449575ms] [job="ID:195, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.577 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=195] [conn=20] [job="ID:195, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.593 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.908076ms] [gotSchemaVersion=166] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.597 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=195] [version=166] [2025/04/05 23:45:11.598 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=166] ["take time"=9.386041ms] [job="ID:195, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.607 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=195] [conn=20] [job="ID:195, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.613 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 192, Old Table Name: y)"] [2025/04/05 23:45:11.631 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=1.376223ms] [gotSchemaVersion=167] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:11.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=195] [version=167] [2025/04/05 23:45:11.638 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=11.259587ms] [job="ID:195, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.652 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=195] [tableIDs="[192]"] [comment="drop table: table ID"] [2025/04/05 23:45:11.657 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=195] [jobType="drop table"] [2025/04/05 23:45:11.658 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=195] [conn=20] [job="ID:195, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.675 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=195] [2025/04/05 23:45:11.676 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=167] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:11.689 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:197, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.690 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:197, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:11.696 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=197] [conn=20] [job="ID:197, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.700 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 196, Table Name: x)"] [2025/04/05 23:45:11.714 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=1.535494ms] [gotSchemaVersion=168] [phyTblIDs="[196]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:11.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=197] [version=168] [2025/04/05 23:45:11.720 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=8.936715ms] [job="ID:197, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.733 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=197] [conn=20] [job="ID:197, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.747 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=197] [2025/04/05 23:45:11.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=168] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:11.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059601846277] [2025/04/05 23:45:11.770 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:11.770 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:11.777 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=20] [job="ID:199, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.783 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 198, Table Name: y)"] [2025/04/05 23:45:11.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.644798ms] [gotSchemaVersion=169] [phyTblIDs="[198]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:11.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=169] [2025/04/05 23:45:11.807 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=9.830947ms] [job="ID:199, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:11.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.819 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=20] [job="ID:199, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:11.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:11.834 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/05 23:45:11.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=169] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:11.837 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059614953485] [2025/04/05 23:45:11.852 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [] [2025/04/05 23:45:11.852 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.851 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:11.853 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:11.853 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:11.853 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=46.315µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=59.091µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=47.527µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=47.397µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=37.08µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=38.789µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=40.576µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=46.883µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=30.336µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=34.761µs] [2025/04/05 23:45:11.854 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.854 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.856 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:11.856 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:11.860 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8b3499a8-5f61-4cef-be90-654dacb5e5c3] ["take time"=8.666223ms] [2025/04/05 23:45:11.860 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.860 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:11.860 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:11.860 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2795b462-2139-4b60-90e4-ae1a458fabbe] [watcherID=cd875e91-f9bc-45ee-bebe-3693ea1a089f] [2025/04/05 23:45:11.860 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2795b462-2139-4b60-90e4-ae1a458fabbe] [2025/04/05 23:45:11.861 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [ttl-worker=task-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [originalCount=4] [newCount=0] [2025/04/05 23:45:11.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:11.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:11.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:11.861 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:11.861 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [ttl-worker=task-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [originalCount=4] [newCount=0] [2025/04/05 23:45:11.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:11.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:11.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:11.864 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:11.867 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.867 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=434] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:11.869 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:11.869 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:11.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:11.869 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:11.869 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:11.869 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:11.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:11.869 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [2025/04/05 23:45:11.870 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.870 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:11.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:11.870 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [2025/04/05 23:45:11.870 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:11.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:11.870 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.870 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:11.870 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:11.870 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:11.870 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.871 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=afd29b8d-729b-43f3-b873-681c23adfddb] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:11.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:11.872 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:11.872 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:11.872 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:11.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:11.872 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:11.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:11.872 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:11.872 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:11.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:11.873 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [error="context canceled"] [2025/04/05 23:45:11.873 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [2025/04/05 23:45:11.873 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [error="context canceled"] [2025/04/05 23:45:11.873 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=8b3499a8-5f61-4cef-be90-654dacb5e5c3] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:11.893 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:11.893 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:11.933 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:11.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:11.946 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=94.492106ms] [2025/04/05 23:45:11.949 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:11.949 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:11.949 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:11.949 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:11.949 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:11.949 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:11.949 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:11.949 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:11.949 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:11.949 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:11.949 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:11.949 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:11.950 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestA5AReadSkew (1.74s) === NAME === RUN TestA5BWriteSkew [2025/04/05 23:45:11.956 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:11.956 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:11.957 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:11.958 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:11.958 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:11.958 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:11.958 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:11.958 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:11.958 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:11.958 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:11.959 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:11.963 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:11.968 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:11.969 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:11.969 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:11.979 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:11.989 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:12.022 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1192] ["lease id"=3eaa960856612f07] [2025/04/05 23:45:12.024 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:12.113 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=169] ["elapsed time"=85.789753ms] [2025/04/05 23:45:12.113 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:12.115 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:12.120 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=69e33b71-165e-4342-ac84-4133bec2d149] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:12.121 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:12.122 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:12.123 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:12.123 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183641714688/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:12.124 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:12.124 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:12.124 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [2025/04/05 23:45:12.126 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612f0e] [ownerID=69e33b71-165e-4342-ac84-4133bec2d149] [op=none] [2025/04/05 23:45:12.126 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:12.126 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [ownerKey=/tidb/ddl/fg/owner/3eaa960856612f0e] [currRev=696] [2025/04/05 23:45:12.127 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:12.127 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:12.127 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:12.127 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196085661309f] [ownerID=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [op=none] [2025/04/05 23:45:12.127 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [2025/04/05 23:45:12.127 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [ownerKey=/tidb/br-stream/owner/223196085661309f] [currRev=697] [2025/04/05 23:45:12.128 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612f0e] [ownerID=69e33b71-165e-4342-ac84-4133bec2d149] [op=none] [2025/04/05 23:45:12.128 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [op=none] [2025/04/05 23:45:12.128 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:12.133 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:12.134 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:12.134 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:12.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:12.149 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:12.154 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:12.154 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:12.154 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:12.154 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:12.154 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:12.154 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:12.154 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:12.154 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:12.154 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:12.155 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:12.155 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:12.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:12.157 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:12.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:12.159 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:12.159 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856612f16] [ownerID=69e33b71-165e-4342-ac84-4133bec2d149] [op=none] [2025/04/05 23:45:12.159 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:12.159 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [ownerKey=/tidb/stats/owner/3eaa960856612f16] [currRev=699] [2025/04/05 23:45:12.161 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/10c59ca6-a917-4937-beaf-4b3ec9680233] [2025/04/05 23:45:12.161 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [ttl-worker=task-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [originalCount=0] [newCount=4] [2025/04/05 23:45:12.161 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [ttl-worker=task-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [originalCount=0] [newCount=4] [2025/04/05 23:45:12.162 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:12.162 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:12.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:12.162 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:12.162 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896712162749598 [2025/04/05 23:45:12.167 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:12.174 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.395434ms] [2025/04/05 23:45:12.174 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:12.174 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:12.177 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:12.179 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=169] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:12.181 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=169] [cur_db=test] [sql="alter table `y` nocache"] [user=] [2025/04/05 23:45:12.195 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:12.195 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`y`"] [2025/04/05 23:45:12.200 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=22] [job="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=1.942291ms] [gotSchemaVersion=170] [phyTblIDs="[196]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=170] [2025/04/05 23:45:12.224 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=10.215203ms] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.234 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=22] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.250 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=2.048342ms] [gotSchemaVersion=171] [phyTblIDs="[196]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.254 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=171] [2025/04/05 23:45:12.257 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=10.991311ms] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.272 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=22] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.279 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 196, Old Table Name: x)"] [2025/04/05 23:45:12.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.001288ms] [gotSchemaVersion=172] [phyTblIDs="[196]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.297 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=172] [2025/04/05 23:45:12.299 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=8.988126ms] [job="ID:200, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.310 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=200] [tableIDs="[196]"] [comment="drop table: table ID"] [2025/04/05 23:45:12.317 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop table"] [2025/04/05 23:45:12.318 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=200] [conn=22] [job="ID:200, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.338 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=200] [2025/04/05 23:45:12.351 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:12.351 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`y`"] [2025/04/05 23:45:12.356 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=22] [job="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.20674ms] [gotSchemaVersion=173] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.377 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=173] [2025/04/05 23:45:12.379 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=10.133259ms] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.391 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=22] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=2.240064ms] [gotSchemaVersion=174] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=174] [2025/04/05 23:45:12.417 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=10.384241ms] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.426 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=22] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.432 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 198, Old Table Name: y)"] [2025/04/05 23:45:12.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=1.024015ms] [gotSchemaVersion=175] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=175] [2025/04/05 23:45:12.451 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=7.910903ms] [job="ID:201, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.461 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=201] [tableIDs="[198]"] [comment="drop table: table ID"] [2025/04/05 23:45:12.465 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=201] [jobType="drop table"] [2025/04/05 23:45:12.466 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=22] [job="ID:201, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.483 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/05 23:45:12.483 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.302180451\n# Parse_time: 0.000064958\n# Compile_time: 0.000229155\n# Rewrite_time: 0.000003379\n# Optimize_time: 0.000050476\n# Wait_TS: 0.00060184\n# DB: test\n# Is_internal: false\n# Digest: 270f63d980c59810bbf749e490d30629c755b5e2a120eae74696cfd103243f07\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `x`,`y`;"] [2025/04/05 23:45:12.483 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=175] [cur_db=test] [sql="drop table `x`,`y`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896712483982336 testkit.go:123: RefreshSession rand seed: 1743896712486089577 [2025/04/05 23:45:12.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=175] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:12.491 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=175] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:12.506 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:12.506 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:12.512 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=23] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.516 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: x)"] [2025/04/05 23:45:12.530 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=1.430059ms] [gotSchemaVersion=176] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:12.534 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=176] [2025/04/05 23:45:12.536 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=8.570036ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.548 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=23] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/05 23:45:12.561 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=176] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:12.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059811823623] [2025/04/05 23:45:12.581 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:12.581 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:12.592 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=23] [job="ID:205, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.597 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 204, Table Name: y)"] [2025/04/05 23:45:12.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=1.672982ms] [gotSchemaVersion=177] [phyTblIDs="[204]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:12.621 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=177] [2025/04/05 23:45:12.623 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=10.305424ms] [job="ID:205, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.637 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=23] [job="ID:205, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.648 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/05 23:45:12.649 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=177] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:12.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059838038021] [2025/04/05 23:45:12.681 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:206, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:12.681 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:206, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:12.692 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=206] [conn=23] [job="ID:206, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=2.079622ms] [gotSchemaVersion=178] [phyTblIDs="[202]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=206] [version=178] [2025/04/05 23:45:12.716 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=178] ["take time"=10.383117ms] [job="ID:206, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=206] [conn=23] [job="ID:206, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.747 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=2.151434ms] [gotSchemaVersion=179] [phyTblIDs="[202]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.751 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=206] [version=179] [2025/04/05 23:45:12.753 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=10.341382ms] [job="ID:206, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.762 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=206] [conn=23] [job="ID:206, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.769 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 202, Old Table Name: x)"] [2025/04/05 23:45:12.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.2332ms] [gotSchemaVersion=180] [phyTblIDs="[202]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=206] [version=180] [2025/04/05 23:45:12.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=180] ["take time"=10.574591ms] [job="ID:206, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.802 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=206] [tableIDs="[202]"] [comment="drop table: table ID"] [2025/04/05 23:45:12.807 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=206] [jobType="drop table"] [2025/04/05 23:45:12.808 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=206] [conn=23] [job="ID:206, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.828 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=206] [2025/04/05 23:45:12.828 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=180] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:12.843 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists y;"] [2025/04/05 23:45:12.843 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:12.852 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=23] [job="ID:207, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=3.050528ms] [gotSchemaVersion=181] [phyTblIDs="[204]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=181] [2025/04/05 23:45:12.883 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=12.598604ms] [job="ID:207, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.894 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=23] [job="ID:207, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.921 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=2.15914ms] [gotSchemaVersion=182] [phyTblIDs="[204]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.925 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=182] [2025/04/05 23:45:12.927 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=11.082856ms] [job="ID:207, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=23] [job="ID:207, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.945 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 204, Old Table Name: y)"] [2025/04/05 23:45:12.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.325551ms] [gotSchemaVersion=183] [phyTblIDs="[204]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:12.967 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=183] [2025/04/05 23:45:12.969 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=9.431335ms] [job="ID:207, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:12.980 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=207] [tableIDs="[204]"] [comment="drop table: table ID"] [2025/04/05 23:45:12.985 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=207] [jobType="drop table"] [2025/04/05 23:45:12.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=23] [job="ID:207, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/05 23:45:13.004 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=183] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:13.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:13.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:13.023 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=209] [conn=23] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.028 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 208, Table Name: x)"] [2025/04/05 23:45:13.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.726597ms] [gotSchemaVersion=184] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:13.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=209] [version=184] [2025/04/05 23:45:13.051 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=10.086301ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:12.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=209] [conn=23] [job="ID:209, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:12.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.084 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=209] [2025/04/05 23:45:13.085 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=184] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:13.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059942633486] [2025/04/05 23:45:13.102 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:13.102 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:13.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=23] [job="ID:211, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.112 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 210, Table Name: y)"] [2025/04/05 23:45:13.135 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:13.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:13.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:13.135 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:13.139 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.969768ms] [gotSchemaVersion=185] [phyTblIDs="[210]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:13.145 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=185] [2025/04/05 23:45:13.148 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=18.719331ms] [job="ID:211, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.161 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:13.161 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:13.162 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/10c59ca6-a917-4937-beaf-4b3ec9680233] [watcherID=35231615-0577-4af7-abe9-13fb58f3de13] [2025/04/05 23:45:13.162 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:13.163 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=23] [job="ID:211, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.168 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:13.168 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:13.168 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:13.168 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:13.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/05 23:45:13.178 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=185] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:13.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059968847907] [2025/04/05 23:45:13.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059968847911] [2025/04/05 23:45:13.195 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152059968847910] [2025/04/05 23:45:13.233 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:212, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:13.233 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:212, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:13.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=212] [conn=23] [job="ID:212, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.257 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=2.432955ms] [gotSchemaVersion=186] [phyTblIDs="[208]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:13.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=212] [version=186] [2025/04/05 23:45:13.265 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=11.899457ms] [job="ID:212, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=212] [conn=23] [job="ID:212, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.294 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=2.545786ms] [gotSchemaVersion=187] [phyTblIDs="[208]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:13.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=212] [version=187] [2025/04/05 23:45:13.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=187] ["take time"=11.819488ms] [job="ID:212, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=212] [conn=23] [job="ID:212, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.319 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 208, Old Table Name: x)"] [2025/04/05 23:45:13.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.304956ms] [gotSchemaVersion=188] [phyTblIDs="[208]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:13.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=212] [version=188] [2025/04/05 23:45:13.342 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=9.516153ms] [job="ID:212, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.356 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=212] [tableIDs="[208]"] [comment="drop table: table ID"] [2025/04/05 23:45:13.362 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=212] [jobType="drop table"] [2025/04/05 23:45:13.363 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=212] [conn=23] [job="ID:212, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.385 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=212] [2025/04/05 23:45:13.386 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=188] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:13.397 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:13.397 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists y;"] [2025/04/05 23:45:13.402 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=23] [job="ID:213, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=2.129779ms] [gotSchemaVersion=189] [phyTblIDs="[210]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:13.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=189] [2025/04/05 23:45:13.424 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=189] ["take time"=10.624999ms] [job="ID:213, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=23] [job="ID:213, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=2.009868ms] [gotSchemaVersion=190] [phyTblIDs="[210]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:13.456 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=190] [2025/04/05 23:45:13.458 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=190] ["take time"=10.392992ms] [job="ID:213, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=23] [job="ID:213, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.477 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 210, Old Table Name: y)"] [2025/04/05 23:45:13.495 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.12832ms] [gotSchemaVersion=191] [phyTblIDs="[210]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:13.499 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=191] [2025/04/05 23:45:13.501 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=9.850746ms] [job="ID:213, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.512 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=213] [tableIDs="[210]"] [comment="drop table: table ID"] [2025/04/05 23:45:13.516 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="drop table"] [2025/04/05 23:45:13.517 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=23] [job="ID:213, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.536 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/05 23:45:13.536 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=191] [cur_db=test] [sql="drop table if exists y;"] [user=] [2025/04/05 23:45:13.550 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:13.550 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:13.556 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=23] [job="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.561 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 214, Table Name: x)"] [2025/04/05 23:45:13.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=1.672009ms] [gotSchemaVersion=192] [phyTblIDs="[214]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:13.580 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=192] [2025/04/05 23:45:13.582 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=192] ["take time"=9.398155ms] [job="ID:215, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=23] [job="ID:215, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/05 23:45:13.607 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=192] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:13.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060086812679] [2025/04/05 23:45:13.627 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:13.627 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table y (id int primary key, c int);"] [2025/04/05 23:45:13.635 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=23] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.640 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 216, Table Name: y)"] [2025/04/05 23:45:13.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=1.706786ms] [gotSchemaVersion=193] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:13.659 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=193] [2025/04/05 23:45:13.661 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=193] ["take time"=10.098572ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:13.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.673 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=23] [job="ID:217, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:13.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:13.685 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/05 23:45:13.686 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=193] [cur_db=test] [sql="create table y (id int primary key, c int);"] [user=] [2025/04/05 23:45:13.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060099919887] [2025/04/05 23:45:13.731 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:13.731 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [] [2025/04/05 23:45:13.731 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.731 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:13.731 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:13.731 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:13.731 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=38.864µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=34.164µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=28.019µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=29.91µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=27.118µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=30.608µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 73, tp general"] ["take time"=33.167µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 74, tp general"] ["take time"=30.224µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=24.906µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=28.636µs] [2025/04/05 23:45:13.732 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.732 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.733 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:13.733 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:13.736 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=69e33b71-165e-4342-ac84-4133bec2d149] ["take time"=5.875504ms] [2025/04/05 23:45:13.737 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.737 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:13.737 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/10c59ca6-a917-4937-beaf-4b3ec9680233] [watcherID=35231615-0577-4af7-abe9-13fb58f3de13] [2025/04/05 23:45:13.737 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:13.737 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/10c59ca6-a917-4937-beaf-4b3ec9680233] [2025/04/05 23:45:13.737 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [ttl-worker=task-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [originalCount=4] [newCount=0] [2025/04/05 23:45:13.737 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:13.737 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:13.737 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:13.737 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:13.737 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [ttl-worker=task-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [originalCount=4] [newCount=0] [2025/04/05 23:45:13.739 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:13.739 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:13.739 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:13.739 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:13.741 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.741 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1192] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.743 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:13.743 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:13.743 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:13.743 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:13.742 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [] [2025/04/05 23:45:13.743 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:13.742 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:13.743 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:13.742 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:13.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:13.743 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:13.743 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:13.743 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [2025/04/05 23:45:13.743 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:13.743 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:13.743 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:13.743 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:13.743 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:13.743 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:13.743 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:13.743 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:13.744 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:13.743 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:13.744 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:13.744 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:13.744 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:13.744 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:13.744 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:13.745 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:13.745 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=cb43fc76-ebf5-423c-b6cf-6579d9f0bc9b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:13.745 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:13.745 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:13.745 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:13.745 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:13.745 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:13.745 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:13.745 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:13.745 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:13.745 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:13.746 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [error="context canceled"] [2025/04/05 23:45:13.746 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [2025/04/05 23:45:13.764 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:13.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:13.810 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=69e33b71-165e-4342-ac84-4133bec2d149] [error="context canceled"] [2025/04/05 23:45:13.810 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:13.810 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:13.822 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.967048ms] [2025/04/05 23:45:13.824 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:13.824 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:13.824 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:13.824 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:13.824 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:13.824 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:13.824 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:13.824 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:13.825 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:13.825 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:13.824 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:13.825 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:13.826 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestA5BWriteSkew (1.88s) === NAME === RUN TestReadAfterWrite [2025/04/05 23:45:13.832 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:13.832 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:13.833 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:13.834 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:13.834 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:13.834 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:13.834 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:13.834 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:13.834 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:13.835 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:13.835 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:13.839 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:13.844 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:13.844 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:13.845 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:13.854 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:13.864 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:13.900 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=246] ["lease id"=3eaa960856612f50] [2025/04/05 23:45:13.902 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:13.991 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=193] ["elapsed time"=85.949947ms] [2025/04/05 23:45:13.991 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:13.993 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:13.999 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8887eafc-fb67-4bac-87d9-5f3213963378] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:13.999 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:14.001 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.002 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:14.002 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183830659072/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:14.002 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:14.002 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [2025/04/05 23:45:14.004 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566130d7] [ownerID=8887eafc-fb67-4bac-87d9-5f3213963378] [op=none] [2025/04/05 23:45:14.004 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.004 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [ownerKey=/tidb/ddl/fg/owner/22319608566130d7] [currRev=775] [2025/04/05 23:45:14.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:14.006 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:14.006 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:14.006 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319608566130d9] [ownerID=5f452181-1372-4127-8dda-07eb906ad5bb] [op=none] [2025/04/05 23:45:14.006 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [2025/04/05 23:45:14.006 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [ownerKey=/tidb/br-stream/owner/22319608566130d9] [currRev=776] [2025/04/05 23:45:14.006 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566130d7] [ownerID=8887eafc-fb67-4bac-87d9-5f3213963378] [op=none] [2025/04/05 23:45:14.006 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [op=none] [2025/04/05 23:45:14.006 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:14.010 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.011 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:14.011 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:14.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:14.028 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:14.032 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:14.032 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:14.032 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:14.032 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:14.032 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:14.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:14.033 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:14.033 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:14.033 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:14.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:14.034 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:14.035 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:14.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:14.037 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856612f5a] [ownerID=8887eafc-fb67-4bac-87d9-5f3213963378] [op=none] [2025/04/05 23:45:14.037 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.037 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:14.037 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [ownerKey=/tidb/stats/owner/3eaa960856612f5a] [currRev=778] [2025/04/05 23:45:14.039 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ffd1baa1-b5a1-4f58-b795-9004beffa05b] [2025/04/05 23:45:14.040 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [ttl-worker=task-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [originalCount=0] [newCount=4] [2025/04/05 23:45:14.040 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:14.040 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [ttl-worker=task-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [originalCount=0] [newCount=4] [2025/04/05 23:45:14.040 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.040 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:14.040 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:14.040 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896714041042801 [2025/04/05 23:45:14.045 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:14.052 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.986089ms] [2025/04/05 23:45:14.052 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:14.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:14.053 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:14.070 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:14.072 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=193] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:14.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=193] [cur_db=test] [sql="alter table `y` nocache"] [user=] [2025/04/05 23:45:14.087 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:218, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.087 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:218, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`y`"] [2025/04/05 23:45:14.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=218] [conn=25] [job="ID:218, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.110 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=1.968775ms] [gotSchemaVersion=194] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.114 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=218] [version=194] [2025/04/05 23:45:14.116 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=9.632706ms] [job="ID:218, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=218] [conn=25] [job="ID:218, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.140 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=1.872248ms] [gotSchemaVersion=195] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.144 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=218] [version=195] [2025/04/05 23:45:14.145 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=195] ["take time"=8.666861ms] [job="ID:218, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.154 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=218] [conn=25] [job="ID:218, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.160 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 214, Old Table Name: x)"] [2025/04/05 23:45:14.173 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=1.084416ms] [gotSchemaVersion=196] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=218] [version=196] [2025/04/05 23:45:14.179 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=8.165816ms] [job="ID:218, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.188 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=218] [tableIDs="[214]"] [comment="drop table: table ID"] [2025/04/05 23:45:14.195 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=218] [jobType="drop table"] [2025/04/05 23:45:14.196 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=218] [conn=25] [job="ID:218, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=218] [2025/04/05 23:45:14.230 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.230 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`,`y`"] [2025/04/05 23:45:14.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=25] [job="ID:219, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=1.845164ms] [gotSchemaVersion=197] [phyTblIDs="[216]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.256 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=197] [2025/04/05 23:45:14.258 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=197] ["take time"=9.148273ms] [job="ID:219, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=25] [job="ID:219, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=1.949901ms] [gotSchemaVersion=198] [phyTblIDs="[216]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.290 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=198] [2025/04/05 23:45:14.291 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=9.748031ms] [job="ID:219, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.300 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=25] [job="ID:219, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.308 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 216, Old Table Name: y)"] [2025/04/05 23:45:14.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.275443ms] [gotSchemaVersion=199] [phyTblIDs="[216]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=199] [2025/04/05 23:45:14.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=199] ["take time"=9.307968ms] [job="ID:219, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.336 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=219] [tableIDs="[216]"] [comment="drop table: table ID"] [2025/04/05 23:45:14.340 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=219] [jobType="drop table"] [2025/04/05 23:45:14.341 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=25] [job="ID:219, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.360 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/05 23:45:14.360 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=199] [cur_db=test] [sql="drop table `x`,`y`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896714360726286 testkit.go:123: RefreshSession rand seed: 1743896714363233495 [2025/04/05 23:45:14.376 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:14.380 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=199] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:14.394 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.394 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:14.399 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=26] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.404 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: x)"] [2025/04/05 23:45:14.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.418862ms] [gotSchemaVersion=200] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:14.421 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=200] [2025/04/05 23:45:14.423 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=8.419849ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=26] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.445 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/05 23:45:14.445 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=200] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:14.448 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060309897220] [2025/04/05 23:45:14.467 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:14.468 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=26] [job="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.488 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=1.850621ms] [gotSchemaVersion=201] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=201] [2025/04/05 23:45:14.494 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=9.18111ms] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.503 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=26] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.518 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=1.780158ms] [gotSchemaVersion=202] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=202] [2025/04/05 23:45:14.524 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=202] ["take time"=8.964798ms] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=26] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.541 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 220, Old Table Name: x)"] [2025/04/05 23:45:14.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.008317ms] [gotSchemaVersion=203] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.558 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=203] [2025/04/05 23:45:14.560 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=203] ["take time"=8.797929ms] [job="ID:222, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.569 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=222] [tableIDs="[220]"] [comment="drop table: table ID"] [2025/04/05 23:45:14.573 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="drop table"] [2025/04/05 23:45:14.574 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=222] [conn=26] [job="ID:222, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.592 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=222] [2025/04/05 23:45:14.592 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=203] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:14.604 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:224, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:14.604 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:224, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.609 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=224] [conn=26] [job="ID:224, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:223, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.613 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 223, Table Name: x)"] [2025/04/05 23:45:14.627 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.435042ms] [gotSchemaVersion=204] [phyTblIDs="[223]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:14.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=224] [version=204] [2025/04/05 23:45:14.633 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=204] ["take time"=9.656365ms] [job="ID:224, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.646 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=224] [conn=26] [job="ID:224, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:223, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.657 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=224] [2025/04/05 23:45:14.658 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=204] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:14.660 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060362326024] [2025/04/05 23:45:14.682 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:14.682 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=26] [job="ID:225, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:223, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=1.796308ms] [gotSchemaVersion=205] [phyTblIDs="[223]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=205] [2025/04/05 23:45:14.709 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=205] ["take time"=8.912271ms] [job="ID:225, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.718 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=26] [job="ID:225, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:223, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=1.882094ms] [gotSchemaVersion=206] [phyTblIDs="[223]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.737 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=206] [2025/04/05 23:45:14.739 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=9.711833ms] [job="ID:225, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.750 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=26] [job="ID:225, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:223, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.756 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 223, Old Table Name: x)"] [2025/04/05 23:45:14.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=1.704492ms] [gotSchemaVersion=207] [phyTblIDs="[223]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:14.776 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=207] [2025/04/05 23:45:14.778 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=207] ["take time"=10.885711ms] [job="ID:225, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.788 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=225] [tableIDs="[223]"] [comment="drop table: table ID"] [2025/04/05 23:45:14.792 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="drop table"] [2025/04/05 23:45:14.793 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=26] [job="ID:225, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:223, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.812 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/05 23:45:14.813 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=207] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:14.825 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:14.825 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:14.831 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=26] [job="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.836 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 226, Table Name: x)"] [2025/04/05 23:45:14.851 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=1.512135ms] [gotSchemaVersion=208] [phyTblIDs="[226]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:14.854 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=208] [2025/04/05 23:45:14.856 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=8.786881ms] [job="ID:227, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:14.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.867 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=26] [job="ID:227, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:14.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:14.878 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/05 23:45:14.879 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=208] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:14.881 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060414492685] [2025/04/05 23:45:14.890 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:14.890 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [] [2025/04/05 23:45:14.890 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:14.890 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.890 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:14.890 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:14.890 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 75, tp general"] ["take time"=43.861µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 76, tp general"] ["take time"=31.55µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 77, tp general"] ["take time"=37.079µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 78, tp general"] ["take time"=34.799µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 79, tp general"] ["take time"=29.115µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 80, tp general"] ["take time"=28.778µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 81, tp general"] ["take time"=32.386µs] [2025/04/05 23:45:14.891 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.891 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.892 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:14.892 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:14.894 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8887eafc-fb67-4bac-87d9-5f3213963378] ["take time"=4.02881ms] [2025/04/05 23:45:14.894 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.894 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:14.894 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ffd1baa1-b5a1-4f58-b795-9004beffa05b] [2025/04/05 23:45:14.894 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [ttl-worker=task-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [originalCount=4] [newCount=0] [2025/04/05 23:45:14.894 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:14.894 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:14.894 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:14.894 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:14.895 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [ttl-worker=task-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [originalCount=4] [newCount=0] [2025/04/05 23:45:14.897 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:14.897 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:14.897 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:14.897 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=246] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:14.900 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:14.900 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:14.900 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:14.900 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:14.900 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:14.900 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:14.901 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.901 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:14.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:14.902 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [2025/04/05 23:45:14.901 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:14.902 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [2025/04/05 23:45:14.902 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:14.902 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:14.903 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:14.903 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:14.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:14.903 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5f452181-1372-4127-8dda-07eb906ad5bb] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:14.903 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:14.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:14.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:14.903 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:14.903 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:14.903 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:14.903 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:14.904 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [error="context canceled"] [2025/04/05 23:45:14.904 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [2025/04/05 23:45:14.904 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [error="context canceled"] [2025/04/05 23:45:14.904 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=8887eafc-fb67-4bac-87d9-5f3213963378] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:14.920 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:14.920 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:14.966 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:14.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:14.976 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.058586ms] [2025/04/05 23:45:14.978 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:14.978 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:14.979 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:14.979 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:14.979 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:14.979 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:14.979 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:14.979 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:14.979 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:14.979 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:14.979 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:14.979 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:14.980 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReadAfterWrite (1.15s) === NAME === RUN TestPhantomReadInInnodb [2025/04/05 23:45:14.987 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:14.988 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:14.989 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:14.990 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:14.990 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:14.990 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:14.990 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:14.990 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:14.990 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:14.990 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:14.991 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:14.994 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:15.000 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:15.000 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:15.001 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:15.011 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:15.021 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:15.056 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1847] ["lease id"=6f189608566131f4] [2025/04/05 23:45:15.058 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:15.146 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=208] ["elapsed time"=85.119126ms] [2025/04/05 23:45:15.146 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:15.149 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:15.154 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=bc60a0fd-cd30-4348-ae58-5a5829d46777] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:15.154 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:15.156 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.157 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:15.157 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183860039680/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:15.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:15.158 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:15.158 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [2025/04/05 23:45:15.160 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612f86] [ownerID=bc60a0fd-cd30-4348-ae58-5a5829d46777] [op=none] [2025/04/05 23:45:15.160 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.160 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [ownerKey=/tidb/ddl/fg/owner/3eaa960856612f86] [currRev=834] [2025/04/05 23:45:15.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:15.160 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:15.161 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612f88] [ownerID=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [op=none] [2025/04/05 23:45:15.161 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [2025/04/05 23:45:15.161 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:15.161 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [ownerKey=/tidb/br-stream/owner/3eaa960856612f88] [currRev=835] [2025/04/05 23:45:15.162 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856612f86] [ownerID=bc60a0fd-cd30-4348-ae58-5a5829d46777] [op=none] [2025/04/05 23:45:15.162 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [op=none] [2025/04/05 23:45:15.162 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:15.165 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.166 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:15.166 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:15.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:15.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:15.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:15.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:15.185 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:15.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:15.186 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:15.186 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:15.186 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:15.186 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:15.186 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:15.186 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:15.187 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.187 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:15.188 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:15.188 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:15.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:15.190 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:15.190 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960856613200] [ownerID=bc60a0fd-cd30-4348-ae58-5a5829d46777] [op=none] [2025/04/05 23:45:15.190 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.190 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [ownerKey=/tidb/stats/owner/6f18960856613200] [currRev=837] [2025/04/05 23:45:15.192 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/588e173c-1bbd-4d17-ad02-107207805b17] [2025/04/05 23:45:15.192 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [ttl-worker=task-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [originalCount=0] [newCount=4] [2025/04/05 23:45:15.192 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [ttl-worker=task-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [originalCount=0] [newCount=4] [2025/04/05 23:45:15.192 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.193 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:15.193 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:15.193 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:15.193 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896715193687597 [2025/04/05 23:45:15.198 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:15.204 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.575851ms] [2025/04/05 23:45:15.204 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:15.204 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:15.208 +00:00] [INFO] [set.go:172] ["set global var"] [conn=28] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:15.211 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=208] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:15.224 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:15.224 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`"] [2025/04/05 23:45:15.230 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=28] [job="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.245 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.834401ms] [gotSchemaVersion=209] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.249 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=209] [2025/04/05 23:45:15.251 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=8.964669ms] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=28] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=2.277933ms] [gotSchemaVersion=210] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.283 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=210] [2025/04/05 23:45:15.285 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=9.979843ms] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.294 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=28] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.300 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 226, Old Table Name: x)"] [2025/04/05 23:45:15.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=1.098373ms] [gotSchemaVersion=211] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=211] [2025/04/05 23:45:15.319 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=8.507901ms] [job="ID:228, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.328 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[226]"] [comment="drop table: table ID"] [2025/04/05 23:45:15.335 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop table"] [2025/04/05 23:45:15.336 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=28] [job="ID:228, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.355 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/05 23:45:15.355 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=211] [cur_db=test] [sql="drop table `x`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896715355906942 testkit.go:123: RefreshSession rand seed: 1743896715359064434 [2025/04/05 23:45:15.365 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=29] [schemaVersion=211] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:15.378 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:15.378 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:230, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:15.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=230] [conn=29] [job="ID:230, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:229, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.389 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 229, Table Name: x)"] [2025/04/05 23:45:15.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.570683ms] [gotSchemaVersion=212] [phyTblIDs="[229]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:15.407 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=230] [version=212] [2025/04/05 23:45:15.409 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=212] ["take time"=9.186363ms] [job="ID:230, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.421 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=230] [conn=29] [job="ID:230, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:229, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.431 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=230] [2025/04/05 23:45:15.431 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=29] [schemaVersion=212] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:15.434 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060558671888] [2025/04/05 23:45:15.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060558671892] [2025/04/05 23:45:15.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060558671891] [2025/04/05 23:45:15.462 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:231, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:15.462 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:231, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:15.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=231] [conn=29] [job="ID:231, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:229, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=1.803393ms] [gotSchemaVersion=213] [phyTblIDs="[229]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=231] [version=213] [2025/04/05 23:45:15.487 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=8.754477ms] [job="ID:231, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.497 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=231] [conn=29] [job="ID:231, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:229, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.511 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.785632ms] [gotSchemaVersion=214] [phyTblIDs="[229]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.515 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=231] [version=214] [2025/04/05 23:45:15.516 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=214] ["take time"=8.386723ms] [job="ID:231, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=231] [conn=29] [job="ID:231, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:229, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.529 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 229, Old Table Name: x)"] [2025/04/05 23:45:15.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=936.163µs] [gotSchemaVersion=215] [phyTblIDs="[229]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=231] [version=215] [2025/04/05 23:45:15.546 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=7.732941ms] [job="ID:231, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.555 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=231] [tableIDs="[229]"] [comment="drop table: table ID"] [2025/04/05 23:45:15.559 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=231] [jobType="drop table"] [2025/04/05 23:45:15.560 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=231] [conn=29] [job="ID:231, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:229, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.577 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=231] [2025/04/05 23:45:15.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=29] [schemaVersion=215] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:15.591 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:15.591 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:15.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=233] [conn=29] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.600 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 232, Table Name: x)"] [2025/04/05 23:45:15.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=2.046934ms] [gotSchemaVersion=216] [phyTblIDs="[232]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:15.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=233] [version=216] [2025/04/05 23:45:15.623 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=11.059123ms] [job="ID:233, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.637 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=233] [conn=29] [job="ID:233, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=233] [2025/04/05 23:45:15.650 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=29] [schemaVersion=216] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:15.652 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060624470021] [2025/04/05 23:45:15.689 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists x;"] [2025/04/05 23:45:15.689 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:15.695 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=29] [job="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=2.040771ms] [gotSchemaVersion=217] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.716 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=217] [2025/04/05 23:45:15.717 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=217] ["take time"=10.093719ms] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=29] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.747 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=2.503829ms] [gotSchemaVersion=218] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=218] [2025/04/05 23:45:15.755 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=218] ["take time"=12.06431ms] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.765 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=29] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.773 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 232, Old Table Name: x)"] [2025/04/05 23:45:15.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.317369ms] [gotSchemaVersion=219] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:15.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=219] [2025/04/05 23:45:15.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=219] ["take time"=11.004626ms] [job="ID:234, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.806 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=234] [tableIDs="[232]"] [comment="drop table: table ID"] [2025/04/05 23:45:15.811 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=234] [jobType="drop table"] [2025/04/05 23:45:15.812 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=29] [job="ID:234, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.830 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/05 23:45:15.830 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=29] [schemaVersion=219] [cur_db=test] [sql="drop table if exists x;"] [user=] [2025/04/05 23:45:15.848 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:236, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:15.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:236, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table x (id int primary key, c int);"] [2025/04/05 23:45:15.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=236] [conn=29] [job="ID:236, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:235, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.860 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 235, Table Name: x)"] [2025/04/05 23:45:15.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.565234ms] [gotSchemaVersion=220] [phyTblIDs="[235]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:15.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=236] [version=220] [2025/04/05 23:45:15.883 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=220] ["take time"=9.591683ms] [job="ID:236, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:15.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=236] [conn=29] [job="ID:236, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:235, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:15.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:15.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=236] [2025/04/05 23:45:15.908 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=29] [schemaVersion=220] [cur_db=test] [sql="create table x (id int primary key, c int);"] [user=] [2025/04/05 23:45:15.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152060689743879] [2025/04/05 23:45:15.929 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:15.929 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [] [2025/04/05 23:45:15.929 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.929 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:15.929 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 82, tp general"] ["take time"=43.088µs] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 83, tp general"] ["take time"=57.805µs] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 84, tp general"] ["take time"=43.671µs] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 85, tp general"] ["take time"=39.963µs] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 86, tp general"] ["take time"=43.923µs] [2025/04/05 23:45:15.929 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 87, tp general"] ["take time"=38.15µs] [2025/04/05 23:45:15.930 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.930 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.931 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:15.931 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:15.933 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=bc60a0fd-cd30-4348-ae58-5a5829d46777] ["take time"=4.16449ms] [2025/04/05 23:45:15.933 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.933 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:15.933 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/588e173c-1bbd-4d17-ad02-107207805b17] [2025/04/05 23:45:15.933 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [ttl-worker=task-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [originalCount=4] [newCount=0] [2025/04/05 23:45:15.933 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:15.933 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:15.933 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:15.933 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:15.933 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [ttl-worker=task-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [originalCount=4] [newCount=0] [2025/04/05 23:45:15.935 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:15.935 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:15.936 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:15.936 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:15.938 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.938 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1847] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:15.939 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [] [2025/04/05 23:45:15.939 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [2025/04/05 23:45:15.939 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:15.939 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [2025/04/05 23:45:15.940 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:15.940 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [] [2025/04/05 23:45:15.940 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:15.940 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:15.940 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.940 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:15.940 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:15.939 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:15.940 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:15.940 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:15.939 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:15.940 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:15.939 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:15.940 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:15.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:15.940 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [2025/04/05 23:45:15.941 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:15.941 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:15.941 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:15.941 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:15.941 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ea8b279d-7a2f-4a38-a77d-7c04f2643931] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:15.942 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:15.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:15.942 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:15.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:15.942 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:15.942 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:15.943 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [error="context canceled"] [2025/04/05 23:45:15.943 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [2025/04/05 23:45:15.961 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:15.961 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:16.005 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=bc60a0fd-cd30-4348-ae58-5a5829d46777] [error="context canceled"] [2025/04/05 23:45:16.005 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:16.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:16.016 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.26453ms] [2025/04/05 23:45:16.018 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:16.018 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:16.018 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:16.018 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:16.018 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:16.018 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:16.018 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:16.018 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:16.018 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:16.018 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:16.018 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:16.019 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:16.020 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPhantomReadInInnodb (1.04s) === NAME === RUN TestTxnScopeAndValidateReadTs [2025/04/05 23:45:16.025 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:16.026 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:16.026 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:16.027 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:16.027 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:16.027 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:16.027 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:16.027 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:16.027 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:16.028 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:16.028 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:16.033 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:16.040 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:16.040 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:16.041 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:16.050 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:16.060 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:16.096 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1526] ["lease id"=3eaa960856612fab] [2025/04/05 23:45:16.098 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:16.184 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=220] ["elapsed time"=83.49551ms] [2025/04/05 23:45:16.184 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:16.186 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:16.191 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:16.192 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:16.193 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:16.195 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:16.195 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183866822656/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:16.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:16.195 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:16.195 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [2025/04/05 23:45:16.197 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613223] [ownerID=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [op=none] [2025/04/05 23:45:16.197 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:16.197 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [ownerKey=/tidb/ddl/fg/owner/6f18960856613223] [currRev=883] [2025/04/05 23:45:16.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:16.198 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:16.198 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196085661312e] [ownerID=d155ab84-b112-4e56-9ef5-ea80227def11] [op=none] [2025/04/05 23:45:16.198 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [2025/04/05 23:45:16.198 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [ownerKey=/tidb/br-stream/owner/223196085661312e] [currRev=884] [2025/04/05 23:45:16.198 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:16.199 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613223] [ownerID=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [op=none] [2025/04/05 23:45:16.199 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [op=none] [2025/04/05 23:45:16.199 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:16.203 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:16.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:16.204 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:16.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:16.221 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:16.225 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:16.225 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:16.225 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:16.225 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:16.225 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:16.225 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:16.225 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:16.225 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:16.225 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:16.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:16.226 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:16.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:16.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:16.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:16.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:16.227 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:16.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:16.227 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:16.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:16.228 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:16.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:16.228 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:16.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:16.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:16.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:16.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:16.230 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856612fb6] [ownerID=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [op=none] [2025/04/05 23:45:16.230 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:16.230 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [ownerKey=/tidb/stats/owner/3eaa960856612fb6] [currRev=886] [2025/04/05 23:45:16.230 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:16.232 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fd007177-1ff6-4542-b95c-fca820f45a40] [2025/04/05 23:45:16.232 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [ttl-worker=task-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [originalCount=0] [newCount=4] [2025/04/05 23:45:16.232 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [ttl-worker=task-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [originalCount=0] [newCount=4] [2025/04/05 23:45:16.233 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:16.233 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:16.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:16.233 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:16.233 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896716233755148 [2025/04/05 23:45:16.237 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:16.244 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.50819ms] [2025/04/05 23:45:16.244 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:16.244 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:16.254 +00:00] [INFO] [set.go:172] ["set global var"] [conn=31] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:16.257 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=220] [cur_db=test] [sql="alter table `x` nocache"] [user=] [2025/04/05 23:45:16.271 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:16.271 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `x`"] [2025/04/05 23:45:16.277 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=31] [job="ID:237, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:235, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=1.764713ms] [gotSchemaVersion=221] [phyTblIDs="[235]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:16.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=221] [2025/04/05 23:45:16.298 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=9.362245ms] [job="ID:237, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.307 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=31] [job="ID:237, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:235, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.322 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.855572ms] [gotSchemaVersion=222] [phyTblIDs="[235]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:16.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=222] [2025/04/05 23:45:16.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=222] ["take time"=8.739008ms] [job="ID:237, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=31] [job="ID:237, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:235, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.342 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 235, Old Table Name: x)"] [2025/04/05 23:45:16.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.010506ms] [gotSchemaVersion=223] [phyTblIDs="[235]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:16.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=223] [2025/04/05 23:45:16.359 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=7.841443ms] [job="ID:237, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.368 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=237] [tableIDs="[235]"] [comment="drop table: table ID"] [2025/04/05 23:45:16.374 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=237] [jobType="drop table"] [2025/04/05 23:45:16.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=31] [job="ID:237, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:235, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/05 23:45:16.392 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=223] [cur_db=test] [sql="drop table `x`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896716392654828 [2025/04/05 23:45:16.403 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:16.417 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (id int primary key);"] [2025/04/05 23:45:16.417 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:16.422 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=32] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:16.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.427 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t1)"] [2025/04/05 23:45:16.440 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=1.319814ms] [gotSchemaVersion=224] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:16.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=224] [2025/04/05 23:45:16.445 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=8.29268ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:16.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.456 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=32] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:16.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:16.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/05 23:45:16.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=224] [cur_db=test] [sql="create table t1 (id int primary key);"] [user=] [2025/04/05 23:45:17.205 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:17.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:17.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:17.205 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:17.232 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:17.232 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:17.233 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fd007177-1ff6-4542-b95c-fca820f45a40] [watcherID=02007589-d3da-4976-b936-b78985700680] [2025/04/05 23:45:17.233 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:17.239 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:17.239 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:17.239 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:17.239 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:17.467 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=454ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:17.489 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [] [2025/04/05 23:45:17.489 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.489 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:17.489 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:17.489 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:17.489 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:17.489 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 88, tp general"] ["take time"=56.762µs] [2025/04/05 23:45:17.489 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 89, tp general"] ["take time"=32.241µs] [2025/04/05 23:45:17.489 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.489 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.490 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:17.491 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:17.491 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] ["take time"=2.629ms] [2025/04/05 23:45:17.491 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.491 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:17.491 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:17.492 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fd007177-1ff6-4542-b95c-fca820f45a40] [watcherID=02007589-d3da-4976-b936-b78985700680] [2025/04/05 23:45:17.492 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fd007177-1ff6-4542-b95c-fca820f45a40] [2025/04/05 23:45:17.492 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [ttl-worker=task-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [originalCount=4] [newCount=0] [2025/04/05 23:45:17.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:17.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:17.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:17.492 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:17.492 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [ttl-worker=task-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [originalCount=4] [newCount=0] [2025/04/05 23:45:17.494 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:17.494 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:17.494 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:17.494 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:17.497 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.497 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:17.497 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1526] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:17.498 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:17.498 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:17.498 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:17.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:17.499 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:17.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.498 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:17.499 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.499 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d155ab84-b112-4e56-9ef5-ea80227def11] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:17.499 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:17.499 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [error="context canceled"] [2025/04/05 23:45:17.499 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:17.499 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:17.500 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:17.500 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:17.500 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [error="context canceled"] [2025/04/05 23:45:17.500 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [2025/04/05 23:45:17.561 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9dbc6166-f09b-48a8-a13c-f1f11a3b1bf8] [error="context canceled"] [2025/04/05 23:45:17.561 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:17.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:17.577 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.909697ms] [2025/04/05 23:45:17.580 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:17.580 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:17.580 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:17.580 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:17.580 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:17.580 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:17.580 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:17.580 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:17.580 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:17.580 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:17.580 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:17.580 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:17.582 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestTxnScopeAndValidateReadTs (1.57s) === NAME === RUN TestExactStalenessTransaction [2025/04/05 23:45:17.592 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:17.593 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:17.594 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:17.594 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:17.594 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:17.595 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:17.595 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:17.595 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:17.595 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:17.595 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:17.595 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:17.599 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:17.605 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:17.605 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:17.606 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:17.617 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:17.629 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:17.664 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1351] ["lease id"=6f18960856613239] [2025/04/05 23:45:17.666 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:17.757 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=224] ["elapsed time"=86.962115ms] [2025/04/05 23:45:17.757 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:17.760 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:17.766 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:17.766 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:17.769 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:17.770 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:17.770 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183889801216/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:17.770 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:17.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:17.770 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [2025/04/05 23:45:17.772 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896085661323e] [ownerID=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [op=none] [2025/04/05 23:45:17.772 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:17.772 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [ownerKey=/tidb/ddl/fg/owner/6f1896085661323e] [currRev=912] [2025/04/05 23:45:17.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:17.773 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:17.774 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612fcc] [ownerID=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [op=none] [2025/04/05 23:45:17.774 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:17.774 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [2025/04/05 23:45:17.774 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [ownerKey=/tidb/br-stream/owner/3eaa960856612fcc] [currRev=913] [2025/04/05 23:45:17.774 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896085661323e] [ownerID=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [op=none] [2025/04/05 23:45:17.774 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [op=none] [2025/04/05 23:45:17.774 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:17.778 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:17.779 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:17.779 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:17.791 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:17.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:17.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:17.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:17.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:17.804 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:17.804 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:17.804 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:17.804 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:17.804 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:17.804 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:17.805 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:17.805 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:17.806 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:17.806 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:17.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:17.806 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:17.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:17.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:17.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:17.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:17.809 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:17.811 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/55da625c-a1c3-4153-adea-74dc4bd801d2] [2025/04/05 23:45:17.812 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [ttl-worker=task-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [originalCount=0] [newCount=4] [2025/04/05 23:45:17.812 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [ttl-worker=task-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [originalCount=0] [newCount=4] [2025/04/05 23:45:17.812 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:17.812 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:17.812 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:17.812 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:17.812 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896717812914921 [2025/04/05 23:45:17.818 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:17.825 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.490215ms] [2025/04/05 23:45:17.825 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:17.825 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:17.832 +00:00] [INFO] [set.go:172] ["set global var"] [conn=33] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:17.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=224] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:45:17.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:45:17.849 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:17.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=33] [job="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=1.80076ms] [gotSchemaVersion=225] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:17.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=225] [2025/04/05 23:45:17.878 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=225] ["take time"=9.825475ms] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.890 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=33] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.906 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=2.038137ms] [gotSchemaVersion=226] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:17.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=226] [2025/04/05 23:45:17.912 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=226] ["take time"=10.565773ms] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.922 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=33] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.929 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 238, Old Table Name: t1)"] [2025/04/05 23:45:17.942 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=1.021242ms] [gotSchemaVersion=227] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:17.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=227] [2025/04/05 23:45:17.948 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=227] ["take time"=8.483169ms] [job="ID:240, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.958 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=240] [tableIDs="[238]"] [comment="drop table: table ID"] [2025/04/05 23:45:17.965 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="drop table"] [2025/04/05 23:45:17.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=240] [conn=33] [job="ID:240, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:17.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:17.985 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=240] [2025/04/05 23:45:17.985 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=227] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896717986289767 stale_read_test.go:121: AsOfTimestamp [2025/04/05 23:45:17.990 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=227] [txnStartTS=457152061240246273] [txnScope=global] [2025/04/05 23:45:17.991 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1080\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestExactStalenessTransaction\n\ttests/realtikvtest/txntest/stale_read_test.go:124\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:17.998 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=227] [neededSchemaVersion=0] ["elapsed time"=5.952474ms] stale_read_test.go:121: begin after AsOfTimestamp [2025/04/05 23:45:18.001 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestExactStalenessTransaction\n\ttests/realtikvtest/txntest/stale_read_test.go:123\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:18.001 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=0] [txnStartTS=419260111257600000] [txnScope=global] stale_read_test.go:121: AsOfTimestamp with tidb_bounded_staleness [2025/04/05 23:45:18.004 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=227] [txnStartTS=457152061240246275] [txnScope=global] [2025/04/05 23:45:18.006 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1080\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestExactStalenessTransaction\n\ttests/realtikvtest/txntest/stale_read_test.go:124\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] stale_read_test.go:121: begin after AsOfTimestamp with tidb_bounded_staleness [2025/04/05 23:45:18.009 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestExactStalenessTransaction\n\ttests/realtikvtest/txntest/stale_read_test.go:123\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:18.010 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=0] [txnStartTS=378219795841024000] [txnScope=global] [2025/04/05 23:45:18.011 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:18.011 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [] [2025/04/05 23:45:18.011 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.011 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:18.011 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:18.012 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:18.012 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 90, tp general"] ["take time"=47.515µs] [2025/04/05 23:45:18.012 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.012 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.013 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:18.013 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:18.013 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] ["take time"=2.199636ms] [2025/04/05 23:45:18.013 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.014 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:18.014 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/55da625c-a1c3-4153-adea-74dc4bd801d2] [2025/04/05 23:45:18.014 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [ttl-worker=task-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [originalCount=4] [newCount=0] [2025/04/05 23:45:18.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:18.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:18.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:18.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:18.014 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [ttl-worker=task-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [originalCount=4] [newCount=0] [2025/04/05 23:45:18.016 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:18.016 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:18.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:18.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:18.019 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.019 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1351] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:18.020 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:18.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:18.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:18.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:18.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:18.020 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:18.020 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:18.021 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:18.021 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [2025/04/05 23:45:18.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:18.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:18.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:18.020 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:18.021 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [2025/04/05 23:45:18.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:18.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:18.020 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:18.021 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:18.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:18.021 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [error="context canceled"] [2025/04/05 23:45:18.021 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.022 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b49f1e2c-d953-481e-8a18-f2f1a16f8989] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:18.022 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:18.022 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:18.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:18.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:18.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:18.022 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:18.022 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [error="context canceled"] [2025/04/05 23:45:18.022 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:18.022 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:18.022 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:18.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:18.023 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [error="context canceled"] [2025/04/05 23:45:18.023 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [2025/04/05 23:45:18.085 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5b2a84dd-ffd3-4fcb-a0be-4ba422beebe4] [error="context canceled"] [2025/04/05 23:45:18.085 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:18.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:18.095 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.592134ms] [2025/04/05 23:45:18.097 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:18.097 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:18.097 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:18.097 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:18.097 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:18.097 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:18.097 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:18.097 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:18.097 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:18.097 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:18.097 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:18.097 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:18.098 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestExactStalenessTransaction (0.51s) === NAME === RUN TestSelectAsOf [2025/04/05 23:45:18.104 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:18.104 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:18.105 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:18.106 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:18.106 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:18.106 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:18.106 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:18.106 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:18.106 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:18.106 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:18.107 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:18.110 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:18.116 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:18.116 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:18.117 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:18.135 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:18.144 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:18.182 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=376] ["lease id"=6f18960856613256] [2025/04/05 23:45:18.184 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:18.272 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=227] ["elapsed time"=85.23151ms] [2025/04/05 23:45:18.272 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:18.275 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:18.281 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=98b8c157-fd5e-4c78-80db-882fd957e09f] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:18.281 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:18.284 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:18.285 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:18.285 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183927455744/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:18.285 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:18.286 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:18.286 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [2025/04/05 23:45:18.287 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613164] [ownerID=98b8c157-fd5e-4c78-80db-882fd957e09f] [op=none] [2025/04/05 23:45:18.288 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:18.288 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:18.288 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:18.288 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [ownerKey=/tidb/ddl/fg/owner/2231960856613164] [currRev=940] [2025/04/05 23:45:18.288 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856612fe3] [ownerID=0b137717-1406-45b8-9853-b1e1c4c8ff77] [op=none] [2025/04/05 23:45:18.288 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [2025/04/05 23:45:18.289 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [ownerKey=/tidb/br-stream/owner/3eaa960856612fe3] [currRev=940] [2025/04/05 23:45:18.289 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:18.290 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613164] [ownerID=98b8c157-fd5e-4c78-80db-882fd957e09f] [op=none] [2025/04/05 23:45:18.290 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [op=none] [2025/04/05 23:45:18.290 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:18.294 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:18.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:18.296 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:18.311 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:18.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:18.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:18.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:18.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:18.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:18.324 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:18.324 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:18.324 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:18.324 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:18.324 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:18.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:18.325 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:18.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:18.327 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:18.327 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:18.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:18.329 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:18.331 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/dfd405a4-4926-4749-ba2e-3f352c588fb4] [2025/04/05 23:45:18.331 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [ttl-worker=task-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [originalCount=0] [newCount=4] [2025/04/05 23:45:18.331 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [ttl-worker=task-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [originalCount=0] [newCount=4] [2025/04/05 23:45:18.332 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:18.332 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:18.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:18.333 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:18.333 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896718333889839 [2025/04/05 23:45:18.337 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:18.343 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.630793ms] [2025/04/05 23:45:18.343 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:18.343 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:18.355 +00:00] [INFO] [set.go:172] ["set global var"] [conn=35] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896718356555585 [2025/04/05 23:45:18.367 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=227] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:18.368 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=227] [cur_db=test] [sql="drop table if exists b"] [user=] [2025/04/05 23:45:18.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:242, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:18.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:18.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:242, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:18.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:18.388 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=242] [conn=36] [job="ID:242, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:241, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:18.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:18.393 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 241, Table Name: t)"] [2025/04/05 23:45:18.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=1.405039ms] [gotSchemaVersion=228] [phyTblIDs="[241]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:18.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=242] [version=228] [2025/04/05 23:45:18.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=228] ["take time"=9.08245ms] [job="ID:242, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:18.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:18.424 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=242] [conn=36] [job="ID:242, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:241, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:18.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:18.436 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=242] [2025/04/05 23:45:18.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=228] [cur_db=test] [sql="create table t (id int primary key);"] [user=] [2025/04/05 23:45:18.449 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:18.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:18.449 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:244, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:18.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table b (pid int primary key);"] [2025/04/05 23:45:18.455 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=36] [job="ID:244, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:243, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:18.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:18.459 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 243, Table Name: b)"] [2025/04/05 23:45:18.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=1.357181ms] [gotSchemaVersion=229] [phyTblIDs="[243]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:18.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=229] [2025/04/05 23:45:18.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=8.531373ms] [job="ID:244, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:18.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:18.490 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=244] [conn=36] [job="ID:244, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:243, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:18.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:18.501 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=244] [2025/04/05 23:45:18.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=229] [cur_db=test] [sql="create table b (pid int primary key);"] [user=] [2025/04/05 23:45:19.294 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:19.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:19.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:19.294 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:19.332 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:19.332 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:19.333 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/dfd405a4-4926-4749-ba2e-3f352c588fb4] [watcherID=3a175775-07d8-4d78-8607-ccbc67e31a10] [2025/04/05 23:45:19.333 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:19.338 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:19.338 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:19.338 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:19.338 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:20.111 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:45:20.286 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:21.330 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=30] [indexID=1] [2025/04/05 23:45:21.331 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=235] [columnID=1] stale_read_test.go:195: set transaction as of [2025/04/05 23:45:21.504 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=36] [SnapshotTS=457152062029824000] [2025/04/05 23:45:21.504 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=499ms] [prevState=normal] [newState=adapting] [2025/04/05 23:45:21.505 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=36] [schemaVersion=229] stale_read_test.go:195: set transaction as of, expect error [2025/04/05 23:45:21.506 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=36] [SnapshotTS=457152062029824000] [2025/04/05 23:45:21.506 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: can't use select as of while already set transaction as of"] [errorVerbose="[planner:8135]invalid as of timestamp: can't use select as of while already set transaction as of\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestSelectAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:200\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp '2025-4-5 23:45:21';"] stale_read_test.go:195: TimestampExactRead1 stale_read_test.go:195: TimestampExactRead2 stale_read_test.go:271: TimestampExactRead3 stale_read_test.go:271: TimestampExactRead4 stale_read_test.go:271: TimestampExactRead5 stale_read_test.go:271: TimestampExactRead6 [2025/04/05 23:45:21.516 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]can not set different time in the as of"] [errorVerbose="[planner:8135]can not set different time in the as of\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*staleReadProcessor).OnSelectTable\n\tpkg/sessiontxn/staleread/processor.go:182\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1629\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:635\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:450\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableSource).Accept\n\tpkg/parser/ast/dml.go:606\ngithub.com/pingcap/tidb/pkg/parser/ast.(*Join).Accept\n\tpkg/parser/ast/dml.go:250\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableRefsClause).Accept\n\tpkg/parser/ast/dml.go:829\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SelectStmt).Accept\n\tpkg/parser/ast/dml.go:1501\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:145\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestSelectAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:276\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp TIMESTAMP(NOW() - INTERVAL 1 SECOND), b as of timestamp TIMESTAMP('2020-09-06 00:00:00');"] stale_read_test.go:271: TimestampExactRead7 [2025/04/05 23:45:21.517 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]can not set different time in the as of"] [errorVerbose="[planner:8135]can not set different time in the as of\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*staleReadProcessor).OnSelectTable\n\tpkg/sessiontxn/staleread/processor.go:182\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1629\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:635\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:454\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableSource).Accept\n\tpkg/parser/ast/dml.go:606\ngithub.com/pingcap/tidb/pkg/parser/ast.(*Join).Accept\n\tpkg/parser/ast/dml.go:250\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableRefsClause).Accept\n\tpkg/parser/ast/dml.go:829\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SelectStmt).Accept\n\tpkg/parser/ast/dml.go:1501\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:145\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestSelectAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:276\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp TIMESTAMP(NOW() - INTERVAL 1 SECOND), b;"] stale_read_test.go:271: TimestampExactRead8 [2025/04/05 23:45:21.518 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]can not set different time in the as of"] [errorVerbose="[planner:8135]can not set different time in the as of\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*staleReadProcessor).OnSelectTable\n\tpkg/sessiontxn/staleread/processor.go:182\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1629\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:635\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:450\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableSource).Accept\n\tpkg/parser/ast/dml.go:606\ngithub.com/pingcap/tidb/pkg/parser/ast.(*Join).Accept\n\tpkg/parser/ast/dml.go:250\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableRefsClause).Accept\n\tpkg/parser/ast/dml.go:829\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SelectStmt).Accept\n\tpkg/parser/ast/dml.go:1501\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:145\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestSelectAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:276\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t, b as of timestamp TIMESTAMP(NOW() - INTERVAL 1 SECOND);"] stale_read_test.go:271: TimestampExactRead9 [2025/04/05 23:45:21.519 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]can not set different time in the as of"] [errorVerbose="[planner:8135]can not set different time in the as of\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*staleReadProcessor).OnSelectTable\n\tpkg/sessiontxn/staleread/processor.go:182\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1629\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:635\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:454\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableSource).Accept\n\tpkg/parser/ast/dml.go:606\ngithub.com/pingcap/tidb/pkg/parser/ast.(*Join).Accept\n\tpkg/parser/ast/dml.go:250\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableRefsClause).Accept\n\tpkg/parser/ast/dml.go:829\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SelectStmt).Accept\n\tpkg/parser/ast/dml.go:1501\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:145\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestSelectAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:276\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from (select * from t as of timestamp TIMESTAMP(NOW() - INTERVAL 1 SECOND), b as of timestamp TIMESTAMP(NOW() - INTERVAL 1 SECOND)) as c, b;"] stale_read_test.go:271: TimestampExactRead10 stale_read_test.go:271: TimestampExactRead11 [2025/04/05 23:45:21.523 +00:00] [WARN] [session.go:1594] ["parse SQL failed"] [error="[parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 153 near \"of timestamp Now();\" "] [errorVerbose="[parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 153 near \"of timestamp Now();\" \ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/util.SyntaxError\n\tpkg/util/misc.go:163\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1589\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:406\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestSelectAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:276\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from (select * from t as of timestamp TIMESTAMP(NOW() - INTERVAL 20 SECOND), b as of timestamp TIMESTAMP(NOW() - INTERVAL 20 SECOND)) as c as of timestamp Now();"] [2025/04/05 23:45:21.535 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:245, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:21.535 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:245, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists b"] [2025/04/05 23:45:21.541 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=245] [conn=36] [job="ID:245, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:243, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.556 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=1.653004ms] [gotSchemaVersion=230] [phyTblIDs="[243]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:21.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=245] [version=230] [2025/04/05 23:45:21.560 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=7.891251ms] [job="ID:245, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.569 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=245] [conn=36] [job="ID:245, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:243, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=1.593276ms] [gotSchemaVersion=231] [phyTblIDs="[243]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:21.587 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=245] [version=231] [2025/04/05 23:45:21.588 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=8.236337ms] [job="ID:245, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=245] [conn=36] [job="ID:245, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:243, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.602 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 243, Old Table Name: b)"] [2025/04/05 23:45:21.614 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=1.02587ms] [gotSchemaVersion=232] [phyTblIDs="[243]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:21.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=245] [version=232] [2025/04/05 23:45:21.618 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=232] ["take time"=7.546218ms] [job="ID:245, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.627 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=245] [tableIDs="[243]"] [comment="drop table: table ID"] [2025/04/05 23:45:21.633 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=245] [jobType="drop table"] [2025/04/05 23:45:21.634 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=245] [conn=36] [job="ID:245, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:243, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.651 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=245] [2025/04/05 23:45:21.651 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=232] [cur_db=test] [sql="drop table if exists b"] [user=] [2025/04/05 23:45:21.661 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:246, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:21.661 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:21.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=36] [job="ID:246, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:241, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.679 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.492971ms] [gotSchemaVersion=233] [phyTblIDs="[241]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:21.682 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=233] [2025/04/05 23:45:21.684 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=233] ["take time"=7.630738ms] [job="ID:246, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.693 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=36] [job="ID:246, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:241, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.542244ms] [gotSchemaVersion=234] [phyTblIDs="[241]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:21.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=234] [2025/04/05 23:45:21.712 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=234] ["take time"=8.532739ms] [job="ID:246, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=36] [job="ID:246, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:241, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.728 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 241, Old Table Name: t)"] [2025/04/05 23:45:21.740 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.151473ms] [gotSchemaVersion=235] [phyTblIDs="[241]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:21.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=235] [2025/04/05 23:45:21.745 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=7.89879ms] [job="ID:246, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.754 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=246] [tableIDs="[241]"] [comment="drop table: table ID"] [2025/04/05 23:45:21.758 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=246] [jobType="drop table"] [2025/04/05 23:45:21.759 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=246] [conn=36] [job="ID:246, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:241, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:21.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:21.778 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=246] [2025/04/05 23:45:21.778 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=235] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:21.778 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:21.778 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [] [2025/04/05 23:45:21.778 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:21.778 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.778 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:21.779 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:21.779 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 91, tp general"] ["take time"=61.882µs] [2025/04/05 23:45:21.779 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 92, tp general"] ["take time"=37.589µs] [2025/04/05 23:45:21.779 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 93, tp general"] ["take time"=42.427µs] [2025/04/05 23:45:21.779 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 94, tp general"] ["take time"=45.356µs] [2025/04/05 23:45:21.779 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.779 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.780 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:21.780 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:21.923 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=98b8c157-fd5e-4c78-80db-882fd957e09f] ["take time"=144.965489ms] [2025/04/05 23:45:21.923 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.923 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:21.923 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/dfd405a4-4926-4749-ba2e-3f352c588fb4] [watcherID=3a175775-07d8-4d78-8607-ccbc67e31a10] [2025/04/05 23:45:21.923 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:21.924 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/dfd405a4-4926-4749-ba2e-3f352c588fb4] [2025/04/05 23:45:21.924 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [ttl-worker=task-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [originalCount=4] [newCount=0] [2025/04/05 23:45:21.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:21.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:21.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:21.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:21.924 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [ttl-worker=task-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [originalCount=4] [newCount=0] [2025/04/05 23:45:21.928 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:21.928 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:21.928 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:21.928 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:21.930 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.930 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=376] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:21.932 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [2025/04/05 23:45:21.933 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:21.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:21.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:21.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:21.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:21.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:21.933 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:21.933 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:21.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:21.932 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:21.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:21.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:21.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:21.933 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:21.933 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:21.933 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:21.933 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.933 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:21.933 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:21.933 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:21.934 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:21.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:21.934 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [error="context canceled"] [2025/04/05 23:45:21.934 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.934 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0b137717-1406-45b8-9853-b1e1c4c8ff77] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:21.934 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:21.934 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:21.934 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:21.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:21.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:21.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:21.934 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:21.934 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [error="context canceled"] [2025/04/05 23:45:21.934 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:21.934 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:21.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:21.935 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [error="context canceled"] [2025/04/05 23:45:21.935 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [2025/04/05 23:45:21.935 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:21.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:21.992 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=98b8c157-fd5e-4c78-80db-882fd957e09f] [error="context canceled"] [2025/04/05 23:45:21.992 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:21.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:22.002 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=224.448933ms] [2025/04/05 23:45:22.005 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:22.005 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:22.005 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:22.005 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:22.005 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:22.005 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:22.005 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:22.005 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:22.005 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:22.005 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:22.005 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:22.005 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:22.007 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestSelectAsOf (3.91s) === NAME === RUN TestStaleReadKVRequest [2025/04/05 23:45:22.012 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:22.013 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:22.013 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:22.014 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:22.014 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:22.014 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:22.014 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:22.014 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:22.014 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:22.015 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:22.015 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:22.019 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:22.026 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:22.027 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:22.028 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:22.038 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:22.047 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:22.082 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=425] ["lease id"=6f1896085661327d] [2025/04/05 23:45:22.084 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:22.170 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=235] ["elapsed time"=83.180971ms] [2025/04/05 23:45:22.170 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:22.172 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:22.177 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d6faea69-f30d-4390-a936-3cf2712a6cfd] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:22.177 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:22.179 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:22.180 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:22.180 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184170987520/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:22.181 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:22.181 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [2025/04/05 23:45:22.182 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856613005] [ownerID=d6faea69-f30d-4390-a936-3cf2712a6cfd] [op=none] [2025/04/05 23:45:22.182 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:22.183 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [ownerKey=/tidb/ddl/fg/owner/3eaa960856613005] [currRev=979] [2025/04/05 23:45:22.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:22.183 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:22.184 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:22.184 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856613007] [ownerID=b451c4ef-de96-4209-a1fe-04ae64377e79] [op=none] [2025/04/05 23:45:22.184 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [2025/04/05 23:45:22.184 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [ownerKey=/tidb/br-stream/owner/3eaa960856613007] [currRev=980] [2025/04/05 23:45:22.184 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856613005] [ownerID=d6faea69-f30d-4390-a936-3cf2712a6cfd] [op=none] [2025/04/05 23:45:22.184 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [op=none] [2025/04/05 23:45:22.185 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:22.188 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:22.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:22.189 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:22.197 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:22.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:22.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:22.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:22.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:22.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:22.209 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:22.209 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:22.209 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:22.209 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:22.209 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:22.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:22.210 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:22.211 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:22.211 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:22.211 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:22.211 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:22.212 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:22.213 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:22.216 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/94e2fbbf-29b3-4d66-b7c3-397e3e571113] [2025/04/05 23:45:22.216 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:22.216 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [ttl-worker=task-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [originalCount=0] [newCount=4] [2025/04/05 23:45:22.216 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [ttl-worker=task-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [originalCount=0] [newCount=4] [2025/04/05 23:45:22.216 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:22.217 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:22.217 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:22.217 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896722217579228 [2025/04/05 23:45:22.221 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:22.227 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.200755ms] [2025/04/05 23:45:22.227 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:22.227 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:22.238 +00:00] [INFO] [set.go:172] ["set global var"] [conn=37] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896722239874596 [2025/04/05 23:45:22.252 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:22.258 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=235] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:22.259 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=235] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 23:45:22.260 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=235] [cur_db=test] [sql="drop table if exists t2"] [user=] [2025/04/05 23:45:22.273 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:22.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:22.273 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:22.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:22.279 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=248] [conn=38] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:22.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:22.283 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 247, Table Name: t)"] [2025/04/05 23:45:22.297 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.300567ms] [gotSchemaVersion=236] [phyTblIDs="[247]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:22.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=248] [version=236] [2025/04/05 23:45:22.302 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=236] ["take time"=7.648838ms] [job="ID:248, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:22.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:22.312 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=248] [conn=38] [job="ID:248, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:22.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:22.323 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=248] [2025/04/05 23:45:22.323 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=236] [cur_db=test] [sql="create table t (id int primary key);"] [user=] [2025/04/05 23:45:22.336 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:45:22.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:22.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:22.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (c int primary key, d int,e int,index idx_d(d),index idx_e(e))"] [2025/04/05 23:45:22.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=38] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:22.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:22.344 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 249, Table Name: t1)"] [2025/04/05 23:45:22.360 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.553622ms] [gotSchemaVersion=237] [phyTblIDs="[249]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:22.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=237] [2025/04/05 23:45:22.364 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=7.893868ms] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:22.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:22.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=38] [job="ID:250, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:22.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:22.386 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/05 23:45:22.386 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=237] [cur_db=test] [sql="create table t1 (c int primary key, d int,e int,index idx_d(d),index idx_e(e))"] [user=] [2025/04/05 23:45:23.189 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:23.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:23.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:23.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:23.216 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:23.216 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:23.217 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/94e2fbbf-29b3-4d66-b7c3-397e3e571113] [watcherID=dd37db99-3627-4acb-9bfa-0328785c8be3] [2025/04/05 23:45:23.217 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:23.223 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:23.223 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:23.223 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:23.223 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:23.388 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=339ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:23.396 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=38] [SnapshotTS=457152062554112000] [2025/04/05 23:45:23.400 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=38] [SnapshotTS=457152062554112000] [2025/04/05 23:45:23.403 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=38] [SnapshotTS=457152062554112000] [2025/04/05 23:45:23.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152062655823880] [2025/04/05 23:45:23.416 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152062655823882] [2025/04/05 23:45:24.181 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:25.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152063180374019] [2025/04/05 23:45:25.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152063180374021] [2025/04/05 23:45:25.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152063180374024] [2025/04/05 23:45:25.464 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:25.464 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1"] [2025/04/05 23:45:25.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=38] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=2.387834ms] [gotSchemaVersion=238] [phyTblIDs="[249]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:25.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=238] [2025/04/05 23:45:25.491 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=9.042045ms] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.501 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=38] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=2.25021ms] [gotSchemaVersion=239] [phyTblIDs="[249]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:25.520 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=239] [2025/04/05 23:45:25.522 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=8.980612ms] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=38] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.536 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 249, Old Table Name: t1)"] [2025/04/05 23:45:25.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=988.05µs] [gotSchemaVersion=240] [phyTblIDs="[249]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:25.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=240] [2025/04/05 23:45:25.554 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=240] ["take time"=7.264352ms] [job="ID:251, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.563 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=251] [tableIDs="[249]"] [comment="drop table: table ID"] [2025/04/05 23:45:25.569 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=251] [jobType="drop table"] [2025/04/05 23:45:25.570 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=251] [conn=38] [job="ID:251, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.588 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=251] [2025/04/05 23:45:25.588 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=240] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 23:45:25.601 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:25.601 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:252, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:25.607 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=38] [job="ID:252, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=1.659128ms] [gotSchemaVersion=241] [phyTblIDs="[247]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:25.625 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=241] [2025/04/05 23:45:25.627 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=241] ["take time"=9.033375ms] [job="ID:252, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=38] [job="ID:252, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.652 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=1.710323ms] [gotSchemaVersion=242] [phyTblIDs="[247]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:25.656 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=242] [2025/04/05 23:45:25.658 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=8.876185ms] [job="ID:252, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=38] [job="ID:252, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.672 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 247, Old Table Name: t)"] [2025/04/05 23:45:25.684 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.108908ms] [gotSchemaVersion=243] [phyTblIDs="[247]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:25.688 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=243] [2025/04/05 23:45:25.689 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=7.768669ms] [job="ID:252, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.700 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=252] [tableIDs="[247]"] [comment="drop table: table ID"] [2025/04/05 23:45:25.704 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=252] [jobType="drop table"] [2025/04/05 23:45:25.704 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=252] [conn=38] [job="ID:252, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:25.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:25.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=252] [2025/04/05 23:45:25.721 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=243] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:25.721 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:25.721 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [] [2025/04/05 23:45:25.721 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:25.721 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.721 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:25.721 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:25.721 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 95, tp general"] ["take time"=65.214µs] [2025/04/05 23:45:25.721 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 96, tp general"] ["take time"=43.861µs] [2025/04/05 23:45:25.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 97, tp general"] ["take time"=28.308µs] [2025/04/05 23:45:25.722 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 98, tp general"] ["take time"=27.393µs] [2025/04/05 23:45:25.722 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.722 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.723 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:25.723 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:25.724 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d6faea69-f30d-4390-a936-3cf2712a6cfd] ["take time"=3.042902ms] [2025/04/05 23:45:25.724 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.724 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:25.724 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:25.724 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/94e2fbbf-29b3-4d66-b7c3-397e3e571113] [watcherID=dd37db99-3627-4acb-9bfa-0328785c8be3] [2025/04/05 23:45:25.724 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/94e2fbbf-29b3-4d66-b7c3-397e3e571113] [2025/04/05 23:45:25.724 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [ttl-worker=task-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [originalCount=4] [newCount=0] [2025/04/05 23:45:25.725 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:25.725 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:25.725 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:25.725 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:25.725 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [ttl-worker=task-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [originalCount=4] [newCount=0] [2025/04/05 23:45:25.727 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:25.727 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:25.727 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:25.727 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:25.729 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.729 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=425] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:25.730 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:25.730 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:25.730 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:25.730 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:25.731 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:25.730 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:25.730 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:25.731 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:25.731 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:25.731 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:25.731 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [] [2025/04/05 23:45:25.731 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [2025/04/05 23:45:25.731 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [2025/04/05 23:45:25.731 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:25.731 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:25.731 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:25.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.731 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:25.732 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:25.732 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:25.732 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:25.732 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [error="context canceled"] [2025/04/05 23:45:25.732 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:25.732 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.733 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:25.733 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b451c4ef-de96-4209-a1fe-04ae64377e79] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:25.733 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:25.733 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:25.733 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:25.733 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:25.733 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:25.733 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:25.733 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [error="context canceled"] [2025/04/05 23:45:25.733 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:25.733 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:25.733 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:25.734 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [error="context canceled"] [2025/04/05 23:45:25.734 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [2025/04/05 23:45:25.737 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:25.737 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:25.793 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d6faea69-f30d-4390-a936-3cf2712a6cfd] [error="context canceled"] [2025/04/05 23:45:25.793 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:25.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:25.804 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.219289ms] [2025/04/05 23:45:25.807 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:25.807 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:25.807 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:25.807 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:25.807 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:25.807 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:25.807 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:25.807 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:25.807 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:25.807 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:25.807 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:25.807 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:25.809 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadKVRequest (3.80s) === NAME === RUN TestStalenessAndHistoryRead [2025/04/05 23:45:25.816 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:25.817 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:25.818 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:25.818 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:25.818 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:25.818 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:25.818 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:25.818 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:25.818 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:25.819 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:25.819 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:25.822 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:25.828 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:25.828 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:25.829 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:25.860 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:25.871 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:25.914 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=304] ["lease id"=6f189608566132a3] [2025/04/05 23:45:25.916 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:26.004 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=243] ["elapsed time"=85.1762ms] [2025/04/05 23:45:26.004 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:26.007 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:26.012 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5ca58770-1273-4b99-b74e-91554d91b2ef] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:26.012 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:26.015 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:26.017 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:26.017 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184171016192/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:26.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:26.017 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:26.018 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [2025/04/05 23:45:26.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:26.018 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:26.021 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566132a8] [ownerID=5ca58770-1273-4b99-b74e-91554d91b2ef] [op=none] [2025/04/05 23:45:26.022 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:26.022 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [ownerKey=/tidb/ddl/fg/owner/6f189608566132a8] [currRev=1023] [2025/04/05 23:45:26.022 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:26.022 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:26.023 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856613033] [ownerID=f4a9a7f8-be92-4896-a275-92993c6254df] [op=none] [2025/04/05 23:45:26.023 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [2025/04/05 23:45:26.024 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [ownerKey=/tidb/br-stream/owner/3eaa960856613033] [currRev=1023] [2025/04/05 23:45:26.024 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:26.025 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566132a8] [ownerID=5ca58770-1273-4b99-b74e-91554d91b2ef] [op=none] [2025/04/05 23:45:26.025 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [op=none] [2025/04/05 23:45:26.025 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:26.033 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:26.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:26.035 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:26.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:26.053 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:26.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:26.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:26.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:26.057 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:26.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:26.057 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:26.057 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:26.057 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:26.057 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:26.059 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:26.059 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:26.060 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:26.060 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:26.060 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:26.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:26.061 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:26.062 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:26.065 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/97b5d602-d83b-4b93-b33d-8a2f795a707f] [2025/04/05 23:45:26.065 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:26.065 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:26.065 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:45:26.065 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [ttl-worker=task-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [originalCount=0] [newCount=4] testkit.go:123: RefreshSession rand seed: 1743896726065642244 [2025/04/05 23:45:26.065 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [ttl-worker=task-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [originalCount=0] [newCount=4] [2025/04/05 23:45:26.065 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:26.066 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:26.072 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:26.080 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.499048ms] [2025/04/05 23:45:26.081 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:26.081 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:26.086 +00:00] [INFO] [set.go:172] ["set global var"] [conn=39] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:26.106 +00:00] [INFO] [set.go:172] ["set global var"] [conn=39] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896726108546407 [2025/04/05 23:45:26.115 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=40] [schemaVersion=243] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:26.128 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:254, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:26.128 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:254, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:26.137 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=40] [job="ID:254, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:253, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.141 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 253, Table Name: t)"] [2025/04/05 23:45:26.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.474338ms] [gotSchemaVersion=244] [phyTblIDs="[253]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:26.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=244] [2025/04/05 23:45:26.161 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=8.710233ms] [job="ID:254, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=254] [conn=40] [job="ID:254, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:253, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:26.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.184 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=254] [2025/04/05 23:45:26.184 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=40] [schemaVersion=244] [cur_db=test] [sql="create table t (id int primary key);"] [user=] [2025/04/05 23:45:26.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:255, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:26.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:255, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:26.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=40] [job="ID:255, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:253, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.716384ms] [gotSchemaVersion=245] [phyTblIDs="[253]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:26.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=245] [2025/04/05 23:45:26.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=245] ["take time"=9.009899ms] [job="ID:255, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=40] [job="ID:255, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:253, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.246 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=1.771292ms] [gotSchemaVersion=246] [phyTblIDs="[253]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:26.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=246] [2025/04/05 23:45:26.253 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=10.337819ms] [job="ID:255, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.262 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=40] [job="ID:255, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:253, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.268 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 253, Old Table Name: t)"] [2025/04/05 23:45:26.281 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=1.069995ms] [gotSchemaVersion=247] [phyTblIDs="[253]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:26.284 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=247] [2025/04/05 23:45:26.286 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=8.13068ms] [job="ID:255, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.295 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=255] [tableIDs="[253]"] [comment="drop table: table ID"] [2025/04/05 23:45:26.303 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=255] [jobType="drop table"] [2025/04/05 23:45:26.303 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=255] [conn=40] [job="ID:255, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:253, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:26.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:26.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=255] [2025/04/05 23:45:26.321 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=40] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:27.026 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:27.026 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:27.027 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:27.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:27.065 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:27.065 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:27.065 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:27.065 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/97b5d602-d83b-4b93-b33d-8a2f795a707f] [watcherID=4024113f-2384-44ec-b431-de9737700d0f] [2025/04/05 23:45:27.070 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:27.070 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:27.070 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:27.070 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:27.326 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=40] [SnapshotTS=457152063370428416] [2025/04/05 23:45:27.326 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=40] [schemaVersion=243] [2025/04/05 23:45:27.326 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=40] [SnapshotTS=457152063556026368] [2025/04/05 23:45:27.326 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=468ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:27.327 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=40] [schemaVersion=247] [2025/04/05 23:45:27.327 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=40] [SnapshotTS=457152063370428416] [2025/04/05 23:45:27.327 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=40] [schemaVersion=243] [2025/04/05 23:45:27.330 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=40] [SnapshotTS=457152063556026368] [2025/04/05 23:45:27.331 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=40] [schemaVersion=247] [2025/04/05 23:45:27.333 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=40] [SnapshotTS=457152063370428416] [2025/04/05 23:45:27.334 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=40] [schemaVersion=243] [2025/04/05 23:45:27.336 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=247] [error="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress"] [errorVerbose="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:217\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStalenessAndHistoryRead\n\ttests/realtikvtest/txntest/stale_read_test.go:453\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 40,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152063556026368\",\n \"user\": null\n}"] [2025/04/05 23:45:27.339 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=247] [error="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress"] [errorVerbose="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:214\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1080\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStalenessAndHistoryRead\n\ttests/realtikvtest/txntest/stale_read_test.go:462\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 40,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152063678185485\",\n \"user\": null\n}"] [2025/04/05 23:45:27.340 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:27.340 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [] [2025/04/05 23:45:27.340 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:27.340 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.340 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:27.340 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:27.340 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 99, tp general"] ["take time"=50.502µs] [2025/04/05 23:45:27.340 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 100, tp general"] ["take time"=30.307µs] [2025/04/05 23:45:27.340 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.340 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.341 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:27.341 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:27.342 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5ca58770-1273-4b99-b74e-91554d91b2ef] ["take time"=2.470918ms] [2025/04/05 23:45:27.342 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.342 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:27.342 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/97b5d602-d83b-4b93-b33d-8a2f795a707f] [watcherID=4024113f-2384-44ec-b431-de9737700d0f] [2025/04/05 23:45:27.342 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:27.342 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/97b5d602-d83b-4b93-b33d-8a2f795a707f] [2025/04/05 23:45:27.342 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [ttl-worker=task-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [originalCount=4] [newCount=0] [2025/04/05 23:45:27.343 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:27.343 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:27.343 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:27.343 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:27.343 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [ttl-worker=task-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [originalCount=4] [newCount=0] [2025/04/05 23:45:27.345 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:27.345 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:27.345 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:27.345 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:27.347 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.347 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=304] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:27.348 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:27.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:27.348 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [] [2025/04/05 23:45:27.349 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:27.349 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [2025/04/05 23:45:27.349 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:27.349 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:27.348 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:27.349 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:27.348 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:27.349 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:27.349 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:27.349 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:27.349 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:27.349 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:27.349 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.349 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:27.349 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:27.349 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:27.349 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [error="context canceled"] [2025/04/05 23:45:27.350 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.350 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:27.350 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:27.350 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:27.350 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f4a9a7f8-be92-4896-a275-92993c6254df] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:27.350 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:27.350 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:27.350 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:27.350 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:27.350 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:27.350 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [error="context canceled"] [2025/04/05 23:45:27.350 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:27.350 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:27.350 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:27.350 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:27.351 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [error="context canceled"] [2025/04/05 23:45:27.351 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [2025/04/05 23:45:27.351 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [error="context canceled"] [2025/04/05 23:45:27.351 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=5ca58770-1273-4b99-b74e-91554d91b2ef] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:27.408 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:27.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:27.419 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=78.941957ms] [2025/04/05 23:45:27.421 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:27.421 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:27.421 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:27.421 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:27.421 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:27.421 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:27.421 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:27.421 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:27.421 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:27.421 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:27.421 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:27.421 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:27.422 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStalenessAndHistoryRead (1.61s) === NAME === RUN TestTimeBoundedStalenessTxn [2025/04/05 23:45:27.427 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:27.428 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:27.429 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:27.429 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:27.429 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:27.430 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:27.430 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:27.430 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:27.430 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:27.430 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:27.430 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:27.434 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:27.439 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:27.440 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:27.441 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:27.450 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:27.460 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:27.494 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1735] ["lease id"=3eaa96085661304c] [2025/04/05 23:45:27.496 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:27.583 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=247] ["elapsed time"=83.849774ms] [2025/04/05 23:45:27.583 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:27.585 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:27.590 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b389dfee-c874-45a3-b804-e187f07fd8b8] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:27.591 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:27.592 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:27.593 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:27.593 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184221048832/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:27.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:27.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:27.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:27.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:27.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:27.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:27.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:27.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:27.594 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:27.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:27.594 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:27.594 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:27.594 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [2025/04/05 23:45:27.595 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856613051] [ownerID=b389dfee-c874-45a3-b804-e187f07fd8b8] [op=none] [2025/04/05 23:45:27.595 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:27.596 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [ownerKey=/tidb/ddl/fg/owner/3eaa960856613051] [currRev=1054] [2025/04/05 23:45:27.596 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:27.596 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:27.597 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319608566131cd] [ownerID=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [op=none] [2025/04/05 23:45:27.597 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [2025/04/05 23:45:27.597 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [ownerKey=/tidb/br-stream/owner/22319608566131cd] [currRev=1054] [2025/04/05 23:45:27.597 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:27.597 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856613051] [ownerID=b389dfee-c874-45a3-b804-e187f07fd8b8] [op=none] [2025/04/05 23:45:27.597 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [op=none] [2025/04/05 23:45:27.598 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:27.603 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:27.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:27.604 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:27.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:27.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:27.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:27.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:27.624 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:27.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:27.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:27.625 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:27.625 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:27.625 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:27.625 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:27.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:27.626 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:27.627 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:27.627 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:27.627 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:27.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:27.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:27.630 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:27.631 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3c2fa111-8940-4020-a4ac-2bb3558d8f66] [2025/04/05 23:45:27.632 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [ttl-worker=task-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [originalCount=0] [newCount=4] [2025/04/05 23:45:27.632 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [ttl-worker=task-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [originalCount=0] [newCount=4] [2025/04/05 23:45:27.632 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:27.633 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:27.633 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:27.633 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:27.633 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896727633436074 [2025/04/05 23:45:27.638 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:27.645 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.458878ms] [2025/04/05 23:45:27.645 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:27.645 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:27.646 +00:00] [INFO] [set.go:172] ["set global var"] [conn=41] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896727648472635 [2025/04/05 23:45:27.668 +00:00] [INFO] [set.go:172] ["set global var"] [conn=42] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:27.671 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=42] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:27.684 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:27.684 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:27.689 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=42] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:27.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:27.694 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 256, Table Name: t)"] [2025/04/05 23:45:27.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.407446ms] [gotSchemaVersion=248] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:27.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=248] [2025/04/05 23:45:27.713 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=248] ["take time"=8.571841ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:27.724 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=42] [job="ID:257, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:27.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:27.734 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/05 23:45:27.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=42] [schemaVersion=248] [cur_db=test] [sql="create table t (id int primary key);"] [user=] stale_read_test.go:514: 20 seconds ago to now, safeTS 10 secs ago [2025/04/05 23:45:27.820 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=224] ["elapsed time"=82.600493ms] stale_read_test.go:514: 10 seconds ago to now, safeTS 20 secs ago stale_read_test.go:514: 20 seconds ago to 10 seconds ago, safeTS 5 secs ago stale_read_test.go:514: exact timestamp 5 seconds ago, safeTS 10 secs ago [2025/04/05 23:45:27.913 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=235] ["elapsed time"=83.433114ms] stale_read_test.go:514: exact timestamp 10 seconds ago, safeTS 5 secs ago [2025/04/05 23:45:27.930 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:258, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:27.930 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:258, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:27.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=258] [conn=42] [job="ID:258, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:27.959 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.81418ms] [gotSchemaVersion=249] [phyTblIDs="[256]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:27.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=258] [version=249] [2025/04/05 23:45:27.965 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=9.771609ms] [job="ID:258, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:27.975 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=258] [conn=42] [job="ID:258, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:27.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.737519ms] [gotSchemaVersion=250] [phyTblIDs="[256]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:27.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=258] [version=250] [2025/04/05 23:45:27.996 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=250] ["take time"=9.309397ms] [job="ID:258, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.005 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=258] [conn=42] [job="ID:258, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.011 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 256, Old Table Name: t)"] [2025/04/05 23:45:28.024 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.23322ms] [gotSchemaVersion=251] [phyTblIDs="[256]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:28.028 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=258] [version=251] [2025/04/05 23:45:28.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=8.611735ms] [job="ID:258, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.039 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=258] [tableIDs="[256]"] [comment="drop table: table ID"] [2025/04/05 23:45:28.047 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=258] [jobType="drop table"] [2025/04/05 23:45:28.048 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=258] [conn=42] [job="ID:258, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:27.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.067 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=258] [2025/04/05 23:45:28.067 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=42] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:28.067 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:28.067 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:28.067 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [] [2025/04/05 23:45:28.067 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.067 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:28.067 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:28.068 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 101, tp general"] ["take time"=83.754µs] [2025/04/05 23:45:28.068 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 102, tp general"] ["take time"=46.155µs] [2025/04/05 23:45:28.068 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.068 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.069 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:28.069 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:28.070 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b389dfee-c874-45a3-b804-e187f07fd8b8] ["take time"=3.179694ms] [2025/04/05 23:45:28.070 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.070 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:28.071 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3c2fa111-8940-4020-a4ac-2bb3558d8f66] [2025/04/05 23:45:28.071 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [ttl-worker=task-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [originalCount=4] [newCount=0] [2025/04/05 23:45:28.071 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:28.071 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:28.071 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:28.071 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:28.071 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [ttl-worker=task-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [originalCount=4] [newCount=0] [2025/04/05 23:45:28.073 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:28.074 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:28.074 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:28.074 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:28.076 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.076 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1735] [2025/04/05 23:45:28.077 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:28.078 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:28.078 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:28.078 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:28.077 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:28.077 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:28.077 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:28.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:28.078 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:28.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:28.078 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [error="context canceled"] [2025/04/05 23:45:28.078 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.079 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7a46a316-0fb6-4252-8a1b-cf8d5a921a0c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:28.079 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:28.079 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:28.079 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:28.079 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:28.079 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [error="context canceled"] [2025/04/05 23:45:28.079 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:28.079 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:28.079 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:28.079 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:28.079 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:28.079 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:28.080 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [error="context canceled"] [2025/04/05 23:45:28.080 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [2025/04/05 23:45:28.080 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [error="context canceled"] [2025/04/05 23:45:28.080 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=b389dfee-c874-45a3-b804-e187f07fd8b8] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:28.158 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:28.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:28.173 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=105.803656ms] [2025/04/05 23:45:28.176 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:28.176 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:28.176 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:28.176 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:28.176 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:28.176 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:28.176 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:28.176 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:28.176 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:28.176 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:28.176 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:28.176 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:28.178 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestTimeBoundedStalenessTxn (0.76s) === NAME === RUN TestStalenessTransactionSchemaVer [2025/04/05 23:45:28.184 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:28.185 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:28.186 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:28.186 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:28.186 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:28.187 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:28.187 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:28.187 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:28.187 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:28.187 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:28.187 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:28.192 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:28.199 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:28.199 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:28.200 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:28.210 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:28.221 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:28.262 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=613] ["lease id"=6f189608566132df] [2025/04/05 23:45:28.265 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:28.361 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=251] ["elapsed time"=93.183564ms] [2025/04/05 23:45:28.361 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:28.364 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:28.372 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d6652688-6953-48bc-adc5-bca2512f3e25] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:28.372 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:28.374 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:28.375 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:28.376 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184271106048/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:28.376 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:28.376 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [2025/04/05 23:45:28.378 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566132e4] [ownerID=d6652688-6953-48bc-adc5-bca2512f3e25] [op=none] [2025/04/05 23:45:28.378 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:28.378 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [ownerKey=/tidb/ddl/fg/owner/6f189608566132e4] [currRev=1083] [2025/04/05 23:45:28.378 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:28.378 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:28.379 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856613074] [ownerID=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [op=none] [2025/04/05 23:45:28.379 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:28.379 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [2025/04/05 23:45:28.379 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [ownerKey=/tidb/br-stream/owner/3eaa960856613074] [currRev=1084] [2025/04/05 23:45:28.380 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566132e4] [ownerID=d6652688-6953-48bc-adc5-bca2512f3e25] [op=none] [2025/04/05 23:45:28.380 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [op=none] [2025/04/05 23:45:28.380 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:28.385 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:28.386 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:28.386 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:28.395 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:28.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:28.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:28.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:28.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:28.408 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:28.408 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:28.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:28.408 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:28.408 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:28.408 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:28.410 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:28.410 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:28.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:28.411 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:28.412 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:28.412 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:28.412 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:28.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:28.414 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:28.416 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/83d3adfc-ca5c-4d27-b7fe-4cae4205f64b] [2025/04/05 23:45:28.416 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [ttl-worker=task-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [originalCount=0] [newCount=4] [2025/04/05 23:45:28.416 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [ttl-worker=task-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [originalCount=0] [newCount=4] [2025/04/05 23:45:28.417 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:28.417 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:28.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:28.417 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:28.417 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896728417760006 [2025/04/05 23:45:28.421 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:28.430 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.220743ms] [2025/04/05 23:45:28.430 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:28.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:28.438 +00:00] [INFO] [set.go:172] ["set global var"] [conn=43] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896728439724050 [2025/04/05 23:45:28.443 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=44] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:28.457 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:28.457 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:260, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:28.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=44] [job="ID:260, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.469 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 259, Table Name: t)"] [2025/04/05 23:45:28.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.383924ms] [gotSchemaVersion=252] [phyTblIDs="[259]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:28.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=252] [2025/04/05 23:45:28.489 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=8.964541ms] [job="ID:260, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.499 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=260] [conn=44] [job="ID:260, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.510 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=260] [2025/04/05 23:45:28.510 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=44] [schemaVersion=252] [cur_db=test] [sql="create table t (id int primary key);"] [user=] [2025/04/05 23:45:28.725 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:261, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:28.725 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:261, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add c int"] [2025/04/05 23:45:28.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=261] [conn=44] [job="ID:261, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.734 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:261, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:28.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=1.60059ms] [gotSchemaVersion=253] [phyTblIDs="[259]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:28.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=253] [2025/04/05 23:45:28.755 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=253] ["take time"=9.169723ms] [job="ID:261, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.766 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=261] [conn=44] [job="ID:261, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.786 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=1.978272ms] [gotSchemaVersion=254] [phyTblIDs="[259]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:28.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=254] [2025/04/05 23:45:28.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=9.926733ms] [job="ID:261, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=261] [conn=44] [job="ID:261, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.822 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.461313ms] [gotSchemaVersion=255] [phyTblIDs="[259]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:28.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=255] [2025/04/05 23:45:28.827 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=8.623248ms] [job="ID:261, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.839 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=261] [conn=44] [job="ID:261, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.844 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 259, Table Name: t, Column ID: 2, Column Name: c)"] [2025/04/05 23:45:28.859 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.482842ms] [gotSchemaVersion=256] [phyTblIDs="[259]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:28.867 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=256] [2025/04/05 23:45:28.869 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=13.600421ms] [job="ID:261, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.880 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=261] [conn=44] [job="ID:261, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.892 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=261] [2025/04/05 23:45:28.893 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=44] [schemaVersion=256] [cur_db=test] [sql="alter table t add c int"] [user=] [2025/04/05 23:45:28.893 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=278ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:28.907 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:28.907 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:28.913 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=44] [job="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.928 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=1.806966ms] [gotSchemaVersion=257] [phyTblIDs="[259]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:28.932 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=257] [2025/04/05 23:45:28.934 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=9.099121ms] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.945 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=44] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=1.859521ms] [gotSchemaVersion=258] [phyTblIDs="[259]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:28.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=258] [2025/04/05 23:45:28.968 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=11.344158ms] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.978 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=44] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:259, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:28.984 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 259, Old Table Name: t)"] [2025/04/05 23:45:28.998 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.095197ms] [gotSchemaVersion=259] [phyTblIDs="[259]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:29.001 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=259] [2025/04/05 23:45:29.003 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=259] ["take time"=8.800358ms] [job="ID:262, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.013 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=262] [tableIDs="[259]"] [comment="drop table: table ID"] [2025/04/05 23:45:29.021 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=262] [jobType="drop table"] [2025/04/05 23:45:29.022 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=44] [job="ID:262, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:259, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:28.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.042 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/05 23:45:29.042 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=44] [schemaVersion=259] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:29.042 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:29.042 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [] [2025/04/05 23:45:29.042 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:29.043 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.043 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:29.043 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:29.043 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 103, tp general"] ["take time"=57.796µs] [2025/04/05 23:45:29.043 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 104, tp general"] ["take time"=31.253µs] [2025/04/05 23:45:29.043 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 105, tp general"] ["take time"=29.44µs] [2025/04/05 23:45:29.043 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.043 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.044 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:29.044 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:29.045 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d6652688-6953-48bc-adc5-bca2512f3e25] ["take time"=3.114841ms] [2025/04/05 23:45:29.045 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.045 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:29.046 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/83d3adfc-ca5c-4d27-b7fe-4cae4205f64b] [2025/04/05 23:45:29.046 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [ttl-worker=task-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [originalCount=4] [newCount=0] [2025/04/05 23:45:29.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.046 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.046 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [ttl-worker=task-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [originalCount=4] [newCount=0] [2025/04/05 23:45:29.048 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.048 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.048 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.048 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.050 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.050 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=613] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:29.051 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:29.052 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:29.052 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:29.052 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:29.051 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:29.051 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:29.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:29.052 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.052 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.052 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:29.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:29.052 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [error="context canceled"] [2025/04/05 23:45:29.052 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.053 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:29.053 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=1b1de587-58ad-43f0-9cfd-903677a8bfb2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:29.053 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:29.053 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:29.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:29.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:29.053 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:29.053 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:29.053 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:29.054 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:29.054 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:29.054 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [error="context canceled"] [2025/04/05 23:45:29.055 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [2025/04/05 23:45:29.116 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d6652688-6953-48bc-adc5-bca2512f3e25] [error="context canceled"] [2025/04/05 23:45:29.116 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:29.116 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:29.127 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.030078ms] [2025/04/05 23:45:29.130 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:29.130 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:29.130 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:29.130 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:29.130 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:29.130 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:29.130 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:29.130 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:29.130 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:29.130 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:29.130 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:29.130 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:29.132 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStalenessTransactionSchemaVer (0.95s) === NAME === RUN TestSetTransactionReadOnlyAsOf [2025/04/05 23:45:29.137 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:29.138 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:29.138 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:29.139 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:29.139 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:29.139 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:29.139 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:29.139 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:29.139 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:29.140 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:29.140 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:29.144 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:29.149 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:29.149 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:29.150 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:29.159 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:29.169 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:29.204 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=943] ["lease id"=3eaa960856613098] [2025/04/05 23:45:29.205 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:29.291 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=259] ["elapsed time"=82.78391ms] [2025/04/05 23:45:29.291 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:29.293 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:29.299 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=60aad461-361e-4b70-8d2d-6c1090258764] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:29.299 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:29.301 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.302 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:29.302 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184296964096/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:29.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:29.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:29.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:29.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:29.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:29.303 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:29.303 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:29.303 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:29.303 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:29.303 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:29.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:29.303 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:29.303 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [2025/04/05 23:45:29.304 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613207] [ownerID=60aad461-361e-4b70-8d2d-6c1090258764] [op=none] [2025/04/05 23:45:29.304 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.305 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [ownerKey=/tidb/ddl/fg/owner/2231960856613207] [currRev=1121] [2025/04/05 23:45:29.305 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:29.305 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:29.306 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:29.306 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960856613209] [ownerID=f300d2d0-9c77-4417-af32-58fc0da7c753] [op=none] [2025/04/05 23:45:29.306 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [2025/04/05 23:45:29.306 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [ownerKey=/tidb/br-stream/owner/2231960856613209] [currRev=1122] [2025/04/05 23:45:29.306 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613207] [ownerID=60aad461-361e-4b70-8d2d-6c1090258764] [op=none] [2025/04/05 23:45:29.306 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [op=none] [2025/04/05 23:45:29.306 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:29.311 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:29.312 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:29.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:29.327 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:29.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:29.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:29.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:29.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:29.331 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:29.331 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:29.331 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:29.331 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:29.331 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:29.333 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:29.333 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:29.334 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:29.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:29.336 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:29.338 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6f61c43f-7365-46b6-b4ee-07397a8ee610] [2025/04/05 23:45:29.339 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [ttl-worker=task-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [originalCount=0] [newCount=4] [2025/04/05 23:45:29.339 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:29.339 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [ttl-worker=task-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [originalCount=0] [newCount=4] [2025/04/05 23:45:29.339 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.339 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:29.339 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:29.339 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896729339717696 [2025/04/05 23:45:29.346 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:29.352 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.651178ms] [2025/04/05 23:45:29.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:29.352 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:29.356 +00:00] [INFO] [set.go:172] ["set global var"] [conn=45] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896729358287927 [2025/04/05 23:45:29.364 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=46] [SnapshotTS=424402152849408000] [2025/04/05 23:45:29.366 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/executor.loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:351\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:338\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:249\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:596\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.372 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=0] ["elapsed time"=6.361317ms] [2025/04/05 23:45:29.375 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:598\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.378 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=46] [SnapshotTS=386518636036096000] [2025/04/05 23:45:29.383 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/executor.loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:351\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:338\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:249\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:596\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.388 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:598\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.390 +00:00] [WARN] [session.go:1594] ["parse SQL failed"] [error="[parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 85 near \"')\" "] [errorVerbose="[parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 85 near \"')\" \ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/util.SyntaxError\n\tpkg/util/misc.go:163\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1589\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:406\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:609\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="SET TRANSACTION READ ONLY as of timestamp tidb_bounded_staleness(invalid1, invalid2')"] [2025/04/05 23:45:29.391 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=46] [SnapshotTS=424402152849408000] [2025/04/05 23:45:29.393 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/executor.loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:351\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:338\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:249\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:613\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.394 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:45:29.394 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=46] [schemaVersion=0] [2025/04/05 23:45:29.394 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=0] [error="start transaction read only as of is forbidden after set transaction read only as of"] [errorVerbose="start transaction read only as of is forbidden after set transaction read only as of\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:629\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:614\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 46,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:45:29.395 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=46] [SnapshotTS=424402152849408000] [2025/04/05 23:45:29.397 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/executor.loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:351\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).loadSnapshotInfoSchemaIfNeeded\n\tpkg/executor/set.go:338\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:249\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:617\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.398 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:45:29.398 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=46] [schemaVersion=0] [2025/04/05 23:45:29.398 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=0] [error="start transaction read only as of is forbidden after set transaction read only as of"] [errorVerbose="start transaction read only as of is forbidden after set transaction read only as of\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:629\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:618\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 46,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:45:29.400 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:622\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.403 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).GetSnapshotInfoSchema\n\tpkg/domain/domain.go:694\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.GetSessionSnapshotInfoSchema\n\tpkg/sessiontxn/staleread/processor.go:321\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).activateStaleTxn\n\tpkg/sessiontxn/staleread/provider.go:114\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/staleread/provider.go:82\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeBegin\n\tpkg/executor/simple.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:161\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:159\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:154\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionReadOnlyAsOf\n\ttests/realtikvtest/txntest/stale_read_test.go:625\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:45:29.404 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [] [2025/04/05 23:45:29.404 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:29.404 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.404 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:29.404 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:29.404 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:29.404 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.404 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.405 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:29.405 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:29.406 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=60aad461-361e-4b70-8d2d-6c1090258764] ["take time"=1.945259ms] [2025/04/05 23:45:29.406 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.406 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:29.406 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6f61c43f-7365-46b6-b4ee-07397a8ee610] [2025/04/05 23:45:29.406 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [ttl-worker=task-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [originalCount=4] [newCount=0] [2025/04/05 23:45:29.406 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.406 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.406 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.406 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:29.406 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [ttl-worker=task-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [originalCount=4] [newCount=0] [2025/04/05 23:45:29.408 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.408 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.408 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.409 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:29.411 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.411 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=943] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:29.412 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:29.412 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:29.412 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:29.413 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:29.412 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:29.413 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:29.413 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [2025/04/05 23:45:29.413 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:29.413 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [2025/04/05 23:45:29.413 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [error="context canceled"] [2025/04/05 23:45:29.413 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.414 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f300d2d0-9c77-4417-af32-58fc0da7c753] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:29.414 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:29.414 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:29.414 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:29.414 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:29.414 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:29.414 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:29.414 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:29.414 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [error="context canceled"] [2025/04/05 23:45:29.414 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:29.414 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:29.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:29.415 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [error="context canceled"] [2025/04/05 23:45:29.415 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [2025/04/05 23:45:29.477 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=60aad461-361e-4b70-8d2d-6c1090258764] [error="context canceled"] [2025/04/05 23:45:29.477 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:29.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:29.487 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.822392ms] [2025/04/05 23:45:29.490 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:29.490 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:29.490 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:29.490 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:29.490 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:29.490 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:29.490 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:29.490 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:29.490 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:29.490 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:29.490 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:29.490 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:29.491 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestSetTransactionReadOnlyAsOf (0.36s) === NAME === RUN TestValidateReadOnlyInStalenessTransaction [2025/04/05 23:45:29.496 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:29.497 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:29.497 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:29.498 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:29.498 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:29.498 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:29.498 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:29.498 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:29.499 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:29.499 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:29.499 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:29.503 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:29.508 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:29.509 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:29.509 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:29.521 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:29.531 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:29.566 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=827] ["lease id"=6f18960856613314] [2025/04/05 23:45:29.568 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:29.684 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=259] ["elapsed time"=112.583633ms] [2025/04/05 23:45:29.684 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:29.687 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:29.694 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:29.694 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:29.696 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:29.697 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:29.697 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184296984576/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:29.697 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:29.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:29.698 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:29.698 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [2025/04/05 23:45:29.700 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566130ae] [ownerID=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [op=none] [2025/04/05 23:45:29.700 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:29.700 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566130ae] [currRev=1142] [2025/04/05 23:45:29.700 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:29.700 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:29.701 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566130b0] [ownerID=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [op=none] [2025/04/05 23:45:29.701 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [2025/04/05 23:45:29.701 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [ownerKey=/tidb/br-stream/owner/3eaa9608566130b0] [currRev=1142] [2025/04/05 23:45:29.701 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:29.701 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566130ae] [ownerID=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [op=none] [2025/04/05 23:45:29.702 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [op=none] [2025/04/05 23:45:29.702 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:29.706 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:29.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:29.708 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:29.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:29.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:29.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:29.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:29.729 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:29.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:29.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:29.729 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:29.729 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:29.729 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:29.729 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:29.731 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:29.732 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:29.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:29.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:29.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:29.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:29.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:29.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:29.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:29.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:29.735 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:29.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:29.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:29.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:29.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:29.735 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:29.735 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:29.738 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:29.740 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b5be08ca-8c2a-4f28-8adc-05bf22a0ec8d] [2025/04/05 23:45:29.741 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [ttl-worker=task-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [originalCount=0] [newCount=4] [2025/04/05 23:45:29.741 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [ttl-worker=task-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [originalCount=0] [newCount=4] [2025/04/05 23:45:29.741 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:29.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:29.741 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:29.741 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896729742003339 [2025/04/05 23:45:29.742 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:29.747 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:29.755 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.116905ms] [2025/04/05 23:45:29.755 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:29.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:29.765 +00:00] [INFO] [set.go:172] ["set global var"] [conn=47] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896729767258406 [2025/04/05 23:45:29.787 +00:00] [INFO] [set.go:172] ["set global var"] [conn=48] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:29.805 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:45:29.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:29.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:29.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int);"] [2025/04/05 23:45:29.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=264] [conn=48] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:29.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.816 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 263, Table Name: t)"] [2025/04/05 23:45:29.831 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.394477ms] [gotSchemaVersion=260] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:29.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=264] [version=260] [2025/04/05 23:45:29.837 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=9.220878ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:29.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.848 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=264] [conn=48] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:29.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.860 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=264] [2025/04/05 23:45:29.860 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=48] [schemaVersion=260] [cur_db=test] [sql="create table t (id int);"] [user=] [2025/04/05 23:45:29.873 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:29.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:29.873 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:266, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:29.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (id int);"] [2025/04/05 23:45:29.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=266] [conn=48] [job="ID:266, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:29.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.883 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 265, Table Name: t1)"] [2025/04/05 23:45:29.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.350628ms] [gotSchemaVersion=261] [phyTblIDs="[265]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:29.900 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=266] [version=261] [2025/04/05 23:45:29.901 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=8.519597ms] [job="ID:266, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:29.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.913 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=266] [conn=48] [job="ID:266, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:29.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:29.924 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=266] [2025/04/05 23:45:29.924 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=48] [schemaVersion=261] [cur_db=test] [sql="create table t1 (id int);"] [user=] [2025/04/05 23:45:30.706 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:30.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:30.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:30.706 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:30.741 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:30.741 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:30.741 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b5be08ca-8c2a-4f28-8adc-05bf22a0ec8d] [watcherID=03f6ee0b-afaa-4e6c-8c44-a5939f730d7d] [2025/04/05 23:45:30.742 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:30.747 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:30.747 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:30.747 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:30.747 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] stale_read_test.go:791: select statement [2025/04/05 23:45:30.928 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=813ms] [requiredStaleness=913ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:30.931 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] [2025/04/05 23:45:30.932 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=48] [schemaVersion=261] stale_read_test.go:791: explain statement [2025/04/05 23:45:30.934 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=261] [error="GetForUpdateTS not supported for stalenessTxnProvider"] [errorVerbose="GetForUpdateTS not supported for stalenessTxnProvider\ngithub.com/pingcap/tidb/pkg/sessiontxn/staleread.(*StalenessTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/staleread/provider.go:74\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildInsert\n\tpkg/executor/builder.go:972\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:201\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildExplain\n\tpkg/executor/builder.go:1296\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:195\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestValidateReadOnlyInStalenessTransaction\n\ttests/realtikvtest/txntest/stale_read_test.go:796\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 48,\n \"preparedStmtCount\": 2,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152064389120000\",\n \"user\": null\n}"] [2025/04/05 23:45:30.935 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: explain analyze insert statement [2025/04/05 23:45:30.939 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: explain analyze select statement [2025/04/05 23:45:30.943 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] [2025/04/05 23:45:30.944 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=48] [schemaVersion=261] stale_read_test.go:791: execute insert statement [2025/04/05 23:45:30.947 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: execute select statement [2025/04/05 23:45:30.951 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] [2025/04/05 23:45:30.952 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=48] [schemaVersion=261] stale_read_test.go:791: show statement [2025/04/05 23:45:30.955 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: set union [2025/04/05 23:45:30.961 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: insert [2025/04/05 23:45:30.966 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: delete [2025/04/05 23:45:30.969 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: update [2025/04/05 23:45:30.972 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: point get [2025/04/05 23:45:30.976 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] [2025/04/05 23:45:30.977 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=48] [schemaVersion=261] stale_read_test.go:791: batch point get [2025/04/05 23:45:30.981 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] [2025/04/05 23:45:30.983 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=48] [schemaVersion=261] stale_read_test.go:791: split table [2025/04/05 23:45:30.987 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064389120000] stale_read_test.go:791: do statement [2025/04/05 23:45:31.698 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:31.991 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152064389120000\n# Conn_ID: 48\n# Query_time: 1.001627161\n# Parse_time: 0.000118113\n# Compile_time: 0.000474819\n# Rewrite_time: 0.000132221\n# Optimize_time: 0.000099179\n# Wait_TS: 0\n# DB: test\n# Is_internal: false\n# Digest: ef53ea273c06c4a7fc709a4fdc97547b0a2301903317154d98ba2e34e6630b99\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('tQHweTAJM18zCTAJMQlzbGVlcCgxKS0+Q29sdW1uIzEJMQl0aW1lOjFzLCBvcGVuOjM5LjXCtXMsIGNsb3NlOjE3LjjCtXMsIGxvb3BzOjEsIENvbmN1cnJlbmN5Ok9GRgkwIEJ5dGVzCU4vQQoxCTI1XzQJMAkxCXJvd3M6FV8MOC40MwVWIG9wZW46ODQ2bhViCDg0OAENPGxvb3BzOjEJTi9BCU4vQQo=')\n# Plan_digest: a55eaee1d30304ad05500afbbfff1409ce22376e0f062c0d06ff34b8ed9c2b47\n# Binary_plan: tidb_decode_binary_plan('9gGICvEBCgxQcm9qZWN0aW9uXzMSagoLVGFibGVEdWFsXzQpAAABAvBD8D8wATgBQAFSBnJvd3M6MVoudGltZTo4LjQzwrVzLCBvcGVuOjg0Nm5zLCBjbG9zZTo4NDhucywgbG9vcHM6MXD///8JAwQBeAkIMP///wEh9ihcj8L1I0A+ZgBQEnNsZWVwKDEpLT5Db2x1bW4jMVotBXIAMRFtDDM5LjUFeyRjbG9zZToxNy44BQ8EbG8FcXRiD0NvbmN1cnJlbmN5Ok9GRnj///////////8BGAE=')\n# Resource_group: default\nuse test;\nDO SLEEP(1);"] [2025/04/05 23:45:31.994 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064651264000] [2025/04/05 23:45:32.996 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 48\n# Query_time: 1.00197838\n# Parse_time: 0.000082952\n# Compile_time: 0.000719408\n# Rewrite_time: 0.000133318\n# Optimize_time: 0.000196294\n# Wait_TS: 0\n# DB: test\n# Is_internal: false\n# Digest: ef53ea273c06c4a7fc709a4fdc97547b0a2301903317154d98ba2e34e6630b99\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('swHwfTAJM18zCTAJMQlzbGVlcCgxKS0+Q29sdW1uIzEJMQl0aW1lOjFzLCBvcGVuOjMwwrVzLCBjbG9zZToxNC4zwrVzLCBsb29wczoxLCBDb25jdXJyZW5jeTpPRkYJMCBCeXRlcwlOL0EKMQkyNV80CTAJMQlyb3dzOjEJMQl0aQFdADAFVABvAWAMMS4wNQUOAGMFYlg5OTVucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Plan_digest: a55eaee1d30304ad05500afbbfff1409ce22376e0f062c0d06ff34b8ed9c2b47\n# Binary_plan: tidb_decode_binary_plan('9AGICu8BCgxQcm9qZWN0aW9uXzMSagoLVGFibGVEdWFsXzQpAAABApjwPzABOAFAAVIGcm93czoxWi50aW1lOjEwwrVzLCBvcGVuOjEuMDUFDlRjbG9zZTo5OTVucywgbG9vcHM6MXD/EQEEAXgRCij/ASH2KFyPwvUjQD5mAFASc2xlZXAoMSktPkNvbHVtbiMxWisJchFvBDMwHW0MMTQuMwUPAGwJb3RiD0NvbmN1cnJlbmN5Ok9GRnj///////////8BGAE=')\n# Resource_group: default\nDO SLEEP(1);"] stale_read_test.go:791: select for update [2025/04/05 23:45:32.999 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=48] [SnapshotTS=457152064913408000] stale_read_test.go:791: select lock in share mode [2025/04/05 23:45:33.003 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:45:33.003 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=261] [error="cannot set read timestamp to a future time, readTS: 457152065175552000, currentTS: 457152065172668423"] [session="{\n \"currDBName\": \"test\",\n \"id\": 48,\n \"preparedStmtCount\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:161: Error Trace: pkg/testkit/testkit.go:161 pkg/testkit/testkit.go:154 tests/realtikvtest/txntest/stale_read_test.go:801 Error: Received unexpected error: cannot set read timestamp to a future time, readTS: 457152065175552000, currentTS: 457152065172668423 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/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:443 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:159 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:154 tests/realtikvtest/txntest/txntest_test.TestValidateReadOnlyInStalenessTransaction tests/realtikvtest/txntest/stale_read_test.go:801 testing.tRunner GOROOT/src/testing/testing.go:1690 runtime.goexit src/runtime/asm_amd64.s:1700 Test: TestValidateReadOnlyInStalenessTransaction Messages: sql:set transaction read only as of timestamp NOW();, [], error stack cannot set read timestamp to a future time, readTS: 457152065175552000, currentTS: 457152065172668423 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/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:443 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:159 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:154 tests/realtikvtest/txntest/txntest_test.TestValidateReadOnlyInStalenessTransaction tests/realtikvtest/txntest/stale_read_test.go:801 testing.tRunner GOROOT/src/testing/testing.go:1690 runtime.goexit src/runtime/asm_amd64.s:1700 [2025/04/05 23:45:33.004 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [] [2025/04/05 23:45:33.004 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:33.004 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.005 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:33.006 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:33.006 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:33.006 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 106, tp general"] ["take time"=72.903µs] [2025/04/05 23:45:33.006 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 107, tp general"] ["take time"=74.676µs] [2025/04/05 23:45:33.006 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.006 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.007 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:33.007 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:33.009 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=cf59f8e9-5570-4592-b5dd-a15f92810d2b] ["take time"=4.569834ms] [2025/04/05 23:45:33.009 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.009 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:33.009 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:33.009 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b5be08ca-8c2a-4f28-8adc-05bf22a0ec8d] [watcherID=03f6ee0b-afaa-4e6c-8c44-a5939f730d7d] [2025/04/05 23:45:33.009 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b5be08ca-8c2a-4f28-8adc-05bf22a0ec8d] [2025/04/05 23:45:33.009 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [ttl-worker=task-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [originalCount=4] [newCount=0] [2025/04/05 23:45:33.009 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:33.009 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:33.009 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:33.009 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:33.009 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [ttl-worker=task-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [originalCount=4] [newCount=0] [2025/04/05 23:45:33.012 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:33.013 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:33.013 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:33.013 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:33.016 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.016 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=827] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:33.018 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:33.018 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:33.017 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:33.018 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:33.018 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:33.017 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:33.017 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:33.018 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [2025/04/05 23:45:33.018 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:33.018 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:33.018 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [error="context canceled"] [2025/04/05 23:45:33.018 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.020 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:33.020 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:33.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:33.020 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:33.020 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=a6088589-dd14-4ed2-87fc-c35d565d1b6c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:33.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:33.020 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:33.020 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:33.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:33.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:33.020 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:33.021 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [error="context canceled"] [2025/04/05 23:45:33.021 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [2025/04/05 23:45:33.081 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=cf59f8e9-5570-4592-b5dd-a15f92810d2b] [error="context canceled"] [2025/04/05 23:45:33.081 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:33.081 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:33.094 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.331085ms] [2025/04/05 23:45:33.097 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:33.097 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:33.097 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:33.097 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:33.097 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:33.097 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:33.097 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:33.097 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:33.097 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:33.097 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:33.097 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:33.097 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:33.098 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- FAIL: TestValidateReadOnlyInStalenessTransaction (3.61s) === NAME === RUN TestSpecialSQLInStalenessTxn [2025/04/05 23:45:33.104 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:33.105 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:33.105 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:33.106 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:33.106 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:33.106 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:33.106 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:33.106 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:33.107 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:33.107 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:33.107 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:33.111 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:33.117 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:33.118 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:33.118 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:33.128 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:33.139 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:33.173 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1248] ["lease id"=2231960856613236] [2025/04/05 23:45:33.175 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:33.269 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=261] ["elapsed time"=91.721668ms] [2025/04/05 23:45:33.269 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:33.272 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:33.278 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ec709686-a277-47a7-a3c2-094f4a3912cf] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:33.279 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:33.281 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:33.282 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:33.282 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184449839104/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:33.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:33.282 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:33.282 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [2025/04/05 23:45:33.284 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566130d1] [ownerID=ec709686-a277-47a7-a3c2-094f4a3912cf] [op=none] [2025/04/05 23:45:33.284 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:33.284 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566130d1] [currRev=1169] [2025/04/05 23:45:33.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:33.285 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:33.286 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:33.286 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613337] [ownerID=2002f899-a8ca-484c-9d75-b88daf9c44a6] [op=none] [2025/04/05 23:45:33.286 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [2025/04/05 23:45:33.286 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [ownerKey=/tidb/br-stream/owner/6f18960856613337] [currRev=1170] [2025/04/05 23:45:33.286 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566130d1] [ownerID=ec709686-a277-47a7-a3c2-094f4a3912cf] [op=none] [2025/04/05 23:45:33.286 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [op=none] [2025/04/05 23:45:33.286 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:33.292 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:33.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:33.293 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:33.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:33.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:33.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:33.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:33.316 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:33.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:33.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:33.316 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:33.316 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:33.316 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:33.316 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:33.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:33.317 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:33.318 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:33.318 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:33.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:33.319 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:33.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:33.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:33.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:33.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:33.321 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:33.323 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/aa5dbd22-9a7c-4a04-b443-7fda71979d61] [2025/04/05 23:45:33.323 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [ttl-worker=task-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [originalCount=0] [newCount=4] [2025/04/05 23:45:33.324 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [ttl-worker=task-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [originalCount=0] [newCount=4] [2025/04/05 23:45:33.324 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:33.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:33.324 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:33.324 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896733324841871 [2025/04/05 23:45:33.325 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:33.330 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:33.341 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.126561ms] [2025/04/05 23:45:33.341 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:33.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:33.346 +00:00] [INFO] [set.go:172] ["set global var"] [conn=49] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:33.367 +00:00] [INFO] [set.go:172] ["set global var"] [conn=49] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:33.369 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=49] [schemaVersion=261] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:45:33.371 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=49] [schemaVersion=261] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:45:33.384 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:267, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:33.384 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:267, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/05 23:45:33.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=49] [job="ID:267, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.406 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=1.76287ms] [gotSchemaVersion=262] [phyTblIDs="[263]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:33.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=262] [2025/04/05 23:45:33.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=9.455268ms] [job="ID:267, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.422 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=49] [job="ID:267, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.760988ms] [gotSchemaVersion=263] [phyTblIDs="[263]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:33.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=263] [2025/04/05 23:45:33.444 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=263] ["take time"=9.424534ms] [job="ID:267, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.452 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=49] [job="ID:267, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.459 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 263, Old Table Name: t)"] [2025/04/05 23:45:33.472 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.190397ms] [gotSchemaVersion=264] [phyTblIDs="[263]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:33.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=264] [2025/04/05 23:45:33.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=264] ["take time"=8.876639ms] [job="ID:267, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.488 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=267] [tableIDs="[263]"] [comment="drop table: table ID"] [2025/04/05 23:45:33.495 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=267] [jobType="drop table"] [2025/04/05 23:45:33.496 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=267] [conn=49] [job="ID:267, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.516 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=267] [2025/04/05 23:45:33.528 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:33.528 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:268, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/05 23:45:33.541 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=49] [job="ID:268, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.768531ms] [gotSchemaVersion=265] [phyTblIDs="[265]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:33.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=265] [2025/04/05 23:45:33.563 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=9.266902ms] [job="ID:268, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=49] [job="ID:268, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.589 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=1.716975ms] [gotSchemaVersion=266] [phyTblIDs="[265]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:33.593 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=266] [2025/04/05 23:45:33.595 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=9.396144ms] [job="ID:268, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=49] [job="ID:268, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.613 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 265, Old Table Name: t1)"] [2025/04/05 23:45:33.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.118026ms] [gotSchemaVersion=267] [phyTblIDs="[265]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:33.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=267] [2025/04/05 23:45:33.631 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=8.945113ms] [job="ID:268, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.642 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=268] [tableIDs="[265]"] [comment="drop table: table ID"] [2025/04/05 23:45:33.647 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=268] [jobType="drop table"] [2025/04/05 23:45:33.648 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=268] [conn=49] [job="ID:268, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:33.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:33.667 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=268] [2025/04/05 23:45:33.668 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=49] [schemaVersion=267] [cur_db=test] [sql="drop table `t`,`t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896733668425299 [2025/04/05 23:45:33.723 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=267] ["secure text"="create user {newuser@% password = ***}"] [user=] [2025/04/05 23:45:34.291 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:34.291 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:34.291 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:34.291 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:34.323 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:34.323 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:34.324 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/aa5dbd22-9a7c-4a04-b443-7fda71979d61] [watcherID=7647e3cd-9855-47f8-b59b-5a150f064a71] [2025/04/05 23:45:34.324 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:34.330 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:34.330 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:34.330 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:34.330 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:34.724 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=100ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:34.725 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=267] [txnStartTS=457152065588428800] [txnScope=global] [2025/04/05 23:45:34.740 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:34.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int, b int,INDEX(b));"] [2025/04/05 23:45:34.740 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:34.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:34.748 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=50] [job="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:34.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:34.753 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 269, Table Name: t)"] [2025/04/05 23:45:34.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=1.696497ms] [gotSchemaVersion=268] [phyTblIDs="[269]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:34.772 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=268] [2025/04/05 23:45:34.774 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=9.215087ms] [job="ID:270, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:34.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:34.786 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=50] [job="ID:270, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:34.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:34.802 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/05 23:45:34.802 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=268] [cur_db=test] [sql="create table t (id int, b int,INDEX(b));"] [user=] [2025/04/05 23:45:35.282 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:35.824 +00:00] [INFO] [set.go:172] ["set global var"] [conn=50] [name=sql_mode] [val=STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER] [2025/04/05 23:45:36.321 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 23:45:36.826 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=268] [txnStartTS=457152065871282176] [txnScope=global] [2025/04/05 23:45:36.849 +00:00] [INFO] [analyze.go:421] ["save analyze results in single-thread"] [buildStatsConcurrency=1] [saveStatsConcurrency=1] [2025/04/05 23:45:36.939 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=] ["job info"="analyze table all indexes, column b with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:45:36.866 +00:00] ["end time"=2025/04/05 23:45:36.932 +00:00] [cost=66.726029ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:45:37.966 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=268] [txnStartTS=457152066138931200] [txnScope=global] [2025/04/05 23:45:37.969 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=268] [cur_db=test] [sql="CREATE SESSION BINDING FOR SELECT * FROM t WHERE b = 123 USING SELECT * FROM t IGNORE INDEX (b) WHERE b = 123;"] [user=] [2025/04/05 23:45:38.971 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=268] [txnStartTS=457152066437775360] [txnScope=global] [2025/04/05 23:45:39.002 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=268] [cur_db=test] [sql="CREATE GLOBAL BINDING FOR SELECT * FROM t WHERE b = 123 USING SELECT * FROM t IGNORE INDEX (b) WHERE b = 123;"] [user=] [2025/04/05 23:45:40.004 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=268] [txnStartTS=457152066700967936] [txnScope=global] [2025/04/05 23:45:40.005 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=268] [txnStartTS=457152066972024832] [txnScope=global] [2025/04/05 23:45:40.059 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=268] ["secure text"="GRANT ALL ON test.* TO 'newuser';"] [user=] [2025/04/05 23:45:41.062 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=268] [txnStartTS=457152067249111040] [txnScope=global] [2025/04/05 23:45:41.113 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=50] [schemaVersion=268] [cur_db=test] [sql="REVOKE ALL ON test.* FROM 'newuser';"] [user=] [2025/04/05 23:45:41.113 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [] [2025/04/05 23:45:41.113 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:41.113 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.113 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:41.114 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:41.114 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:41.114 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 108, tp general"] ["take time"=74.905µs] [2025/04/05 23:45:41.114 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 109, tp general"] ["take time"=68.933µs] [2025/04/05 23:45:41.114 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 110, tp general"] ["take time"=63.406µs] [2025/04/05 23:45:41.114 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.114 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.115 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:41.115 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:41.118 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ec709686-a277-47a7-a3c2-094f4a3912cf] ["take time"=4.770469ms] [2025/04/05 23:45:41.118 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.118 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:41.118 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/aa5dbd22-9a7c-4a04-b443-7fda71979d61] [watcherID=7647e3cd-9855-47f8-b59b-5a150f064a71] [2025/04/05 23:45:41.118 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:41.118 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/aa5dbd22-9a7c-4a04-b443-7fda71979d61] [2025/04/05 23:45:41.118 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [ttl-worker=task-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [originalCount=4] [newCount=0] [2025/04/05 23:45:41.119 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:41.118 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:41.118 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:41.118 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:41.119 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [ttl-worker=task-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [originalCount=4] [newCount=0] [2025/04/05 23:45:41.121 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:41.121 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:41.122 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:41.122 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:41.124 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.124 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1248] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:41.125 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:41.126 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:41.126 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:41.126 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:41.126 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:41.126 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.126 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:41.125 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:41.126 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:41.126 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:41.125 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:41.125 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [2025/04/05 23:45:41.126 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:41.126 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [2025/04/05 23:45:41.125 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:41.126 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:41.126 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [2025/04/05 23:45:41.126 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.126 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:41.126 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:41.127 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [error="context canceled"] [2025/04/05 23:45:41.127 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.127 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:41.127 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:41.128 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:41.128 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:41.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:41.127 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2002f899-a8ca-484c-9d75-b88daf9c44a6] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:41.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:41.128 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:41.128 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [error="context canceled"] [2025/04/05 23:45:41.128 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:41.128 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:41.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:41.129 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [error="context canceled"] [2025/04/05 23:45:41.129 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [2025/04/05 23:45:41.129 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [error="context canceled"] [2025/04/05 23:45:41.129 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=ec709686-a277-47a7-a3c2-094f4a3912cf] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:41.130 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:41.133 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/05 23:45:41.133 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) 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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 23:45:41.134 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:41.134 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:41.134 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:41.195 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:41.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:41.209 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=96.096974ms] [2025/04/05 23:45:41.212 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:41.212 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:41.212 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:41.212 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:41.212 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:41.213 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:41.213 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:41.213 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:41.213 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:41.213 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:41.213 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:41.213 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:41.214 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestSpecialSQLInStalenessTxn (8.12s) === NAME === RUN TestAsOfTimestampCompatibility [2025/04/05 23:45:41.219 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:41.220 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:41.221 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:41.222 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:41.222 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:41.222 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:41.222 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:41.222 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:41.222 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:41.222 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:41.223 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:41.226 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:41.232 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:41.232 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:41.233 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:41.243 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:41.253 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:41.292 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1670] ["lease id"=3eaa9608566130ff] [2025/04/05 23:45:41.294 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:41.394 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=268] ["elapsed time"=96.764999ms] [2025/04/05 23:45:41.394 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:41.398 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:41.404 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4afbd05f-f19e-4288-9a07-8c2de1d00881] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:41.404 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:41.406 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:41.407 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:41.408 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185022148608/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:41.408 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:41.408 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:41.408 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [2025/04/05 23:45:41.410 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613368] [ownerID=4afbd05f-f19e-4288-9a07-8c2de1d00881] [op=none] [2025/04/05 23:45:41.410 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:41.410 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [ownerKey=/tidb/ddl/fg/owner/6f18960856613368] [currRev=1212] [2025/04/05 23:45:41.410 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:41.410 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:41.411 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196085661326b] [ownerID=857d3248-f996-4fca-9002-a99c80c1e46e] [op=none] [2025/04/05 23:45:41.411 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [2025/04/05 23:45:41.411 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:41.411 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [ownerKey=/tidb/br-stream/owner/223196085661326b] [currRev=1213] [2025/04/05 23:45:41.412 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613368] [ownerID=4afbd05f-f19e-4288-9a07-8c2de1d00881] [op=none] [2025/04/05 23:45:41.412 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [op=none] [2025/04/05 23:45:41.412 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:41.419 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:41.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:41.420 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:41.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:41.436 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:41.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:41.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:41.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:41.441 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:41.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:41.441 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:41.441 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:41.441 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:41.441 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:41.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:41.442 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:41.443 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:41.443 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:41.443 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:41.443 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:41.443 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:41.444 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:41.444 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:41.444 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:41.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:41.446 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:41.449 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:41.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:41.449 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:41.449 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896741449443038 [2025/04/05 23:45:41.449 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fe6f23c9-125d-4c61-a65c-70a015e12ac7] [2025/04/05 23:45:41.449 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [ttl-worker=task-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [originalCount=0] [newCount=4] [2025/04/05 23:45:41.449 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [ttl-worker=task-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [originalCount=0] [newCount=4] [2025/04/05 23:45:41.449 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:41.455 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:41.464 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.641989ms] [2025/04/05 23:45:41.464 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:41.464 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:41.469 +00:00] [INFO] [set.go:172] ["set global var"] [conn=51] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:41.487 +00:00] [INFO] [set.go:172] ["set global var"] [conn=51] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:41.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=51] [schemaVersion=268] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:45:41.502 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:271, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:41.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:271, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:45:41.508 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=51] [job="ID:271, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.523 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.950779ms] [gotSchemaVersion=269] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:41.527 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=269] [2025/04/05 23:45:41.528 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=9.09545ms] [job="ID:271, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=51] [job="ID:271, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.552 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=1.876743ms] [gotSchemaVersion=270] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:41.556 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=270] [2025/04/05 23:45:41.557 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=270] ["take time"=8.815035ms] [job="ID:271, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=51] [job="ID:271, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.571 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 269, Old Table Name: t)"] [2025/04/05 23:45:41.584 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=954.255µs] [gotSchemaVersion=271] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:41.587 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=271] [2025/04/05 23:45:41.588 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=7.537058ms] [job="ID:271, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.597 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=271] [tableIDs="[269]"] [comment="drop table: table ID"] [2025/04/05 23:45:41.604 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=271] [jobType="drop table"] [2025/04/05 23:45:41.605 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=271] [conn=51] [job="ID:271, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.622 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=271] [2025/04/05 23:45:41.622 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=51] [schemaVersion=271] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896741623215363 [2025/04/05 23:45:41.639 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:273, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t5(id int);"] [2025/04/05 23:45:41.639 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:273, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:41.645 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=52] [job="ID:273, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:272, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:41.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.649 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 272, Table Name: t5)"] [2025/04/05 23:45:41.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.318187ms] [gotSchemaVersion=272] [phyTblIDs="[272]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:41.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=272] [2025/04/05 23:45:41.666 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=272] ["take time"=7.394958ms] [job="ID:273, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:41.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.677 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=273] [conn=52] [job="ID:273, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:272, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:41.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:41.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=273] [2025/04/05 23:45:41.687 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=52] [schemaVersion=272] [cur_db=test] [sql="create table t5(id int);"] [user=] [2025/04/05 23:45:42.415 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:42.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:42.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:42.415 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:42.450 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:42.450 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:42.450 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:42.450 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fe6f23c9-125d-4c61-a65c-70a015e12ac7] [watcherID=b4f99afd-657c-495d-ad09-10917ed52833] [2025/04/05 23:45:42.454 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:42.454 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:42.454 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:42.454 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:42.688 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=476ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:42.689 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=272] [error="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress"] [errorVerbose="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:214\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAsOfTimestampCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 52,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152067583868928\",\n \"user\": null\n}"] [2025/04/05 23:45:42.692 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=272] [error="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress"] [errorVerbose="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:214\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1080\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAsOfTimestampCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 52,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152067715203074\",\n \"user\": null\n}"] [2025/04/05 23:45:42.694 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=272] [error="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress"] [errorVerbose="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:214\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1080\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAsOfTimestampCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 52,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152067715203076\",\n \"user\": null\n}"] [2025/04/05 23:45:42.696 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAsOfTimestampCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t5 as of timestamp '2025-4-5 23:45:42.187'"] [2025/04/05 23:45:42.698 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAsOfTimestampCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t5 as of timestamp '2025-4-5 23:45:42.187'"] [2025/04/05 23:45:42.700 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAsOfTimestampCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t5 as of timestamp '2025-4-5 23:45:42.187'"] [2025/04/05 23:45:42.714 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:275, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:42.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:42.714 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:275, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:42.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table test.table1 (id int primary key, a int);"] [2025/04/05 23:45:42.718 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=52] [job="ID:275, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:274, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:42.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:42.723 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 274, Table Name: table1)"] [2025/04/05 23:45:42.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.465932ms] [gotSchemaVersion=273] [phyTblIDs="[274]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:42.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=273] [2025/04/05 23:45:42.742 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=8.405665ms] [job="ID:275, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:42.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:42.755 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=275] [conn=52] [job="ID:275, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:274, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:42.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:42.766 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=275] [2025/04/05 23:45:42.766 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=52] [schemaVersion=273] [cur_db=test] [sql="create table test.table1 (id int primary key, a int);"] [user=] [2025/04/05 23:45:43.408 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:43.779 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:43.779 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:276, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists test.table1;"] [2025/04/05 23:45:43.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=52] [job="ID:276, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:274, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.799 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.768025ms] [gotSchemaVersion=274] [phyTblIDs="[274]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:43.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=274] [2025/04/05 23:45:43.804 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=274] ["take time"=8.416577ms] [job="ID:276, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=52] [job="ID:276, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:274, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=1.862437ms] [gotSchemaVersion=275] [phyTblIDs="[274]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:43.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=275] [2025/04/05 23:45:43.833 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=8.620674ms] [job="ID:276, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=52] [job="ID:276, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:274, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.846 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 274, Old Table Name: table1)"] [2025/04/05 23:45:43.858 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=990.599µs] [gotSchemaVersion=276] [phyTblIDs="[274]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:43.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=276] [2025/04/05 23:45:43.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=7.76464ms] [job="ID:276, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.872 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[274]"] [comment="drop table: table ID"] [2025/04/05 23:45:43.876 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="drop table"] [2025/04/05 23:45:43.877 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=276] [conn=52] [job="ID:276, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:274, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.894 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=276] [2025/04/05 23:45:43.894 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=52] [schemaVersion=276] [cur_db=test] [sql="drop table if exists test.table1;"] [user=] [2025/04/05 23:45:43.906 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:43.906 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t5;"] [2025/04/05 23:45:43.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=52] [job="ID:277, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:272, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.594656ms] [gotSchemaVersion=277] [phyTblIDs="[272]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:43.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=277] [2025/04/05 23:45:43.930 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=8.225431ms] [job="ID:277, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.939 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=52] [job="ID:277, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:272, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.511659ms] [gotSchemaVersion=278] [phyTblIDs="[272]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:43.956 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=278] [2025/04/05 23:45:43.957 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=8.079221ms] [job="ID:277, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.965 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=52] [job="ID:277, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:272, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.970 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 272, Old Table Name: t5)"] [2025/04/05 23:45:43.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=957.175µs] [gotSchemaVersion=279] [phyTblIDs="[272]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:43.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=279] [2025/04/05 23:45:43.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=7.540423ms] [job="ID:277, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:43.995 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=277] [tableIDs="[272]"] [comment="drop table: table ID"] [2025/04/05 23:45:43.999 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=277] [jobType="drop table"] [2025/04/05 23:45:43.999 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=52] [job="ID:277, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:272, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:43.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.016 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/05 23:45:44.016 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=52] [schemaVersion=279] [cur_db=test] [sql="drop table if exists t5;"] [user=] [2025/04/05 23:45:44.016 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [] [2025/04/05 23:45:44.016 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:44.016 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.017 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:44.017 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:44.017 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:44.017 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 111, tp general"] ["take time"=76.151µs] [2025/04/05 23:45:44.017 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 112, tp general"] ["take time"=41.969µs] [2025/04/05 23:45:44.017 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 113, tp general"] ["take time"=33.625µs] [2025/04/05 23:45:44.018 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 114, tp general"] ["take time"=39.824µs] [2025/04/05 23:45:44.018 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 115, tp general"] ["take time"=25.996µs] [2025/04/05 23:45:44.018 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.018 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.019 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:44.019 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:44.020 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4afbd05f-f19e-4288-9a07-8c2de1d00881] ["take time"=4.135658ms] [2025/04/05 23:45:44.020 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.021 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:44.021 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fe6f23c9-125d-4c61-a65c-70a015e12ac7] [watcherID=b4f99afd-657c-495d-ad09-10917ed52833] [2025/04/05 23:45:44.021 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:44.021 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fe6f23c9-125d-4c61-a65c-70a015e12ac7] [2025/04/05 23:45:44.021 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [ttl-worker=task-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [originalCount=4] [newCount=0] [2025/04/05 23:45:44.021 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:44.021 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:44.021 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:44.021 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:44.021 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [ttl-worker=task-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [originalCount=4] [newCount=0] [2025/04/05 23:45:44.023 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:44.024 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:44.024 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:44.024 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:44.026 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.026 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1670] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:44.027 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:44.028 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:44.028 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:44.027 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [2025/04/05 23:45:44.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:44.028 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [2025/04/05 23:45:44.028 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:44.028 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.028 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:44.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:44.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:44.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:44.027 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:44.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:44.028 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:44.028 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:44.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:44.028 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:44.028 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:44.029 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [error="context canceled"] [2025/04/05 23:45:44.029 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.029 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:44.029 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:44.029 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:44.029 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=857d3248-f996-4fca-9002-a99c80c1e46e] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:44.029 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:44.029 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:44.029 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:44.029 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [error="context canceled"] [2025/04/05 23:45:44.029 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:44.029 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:44.029 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:44.029 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:44.030 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [error="context canceled"] [2025/04/05 23:45:44.030 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [2025/04/05 23:45:44.031 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [error="context canceled"] [2025/04/05 23:45:44.031 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=4afbd05f-f19e-4288-9a07-8c2de1d00881] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:44.089 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:44.090 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:44.102 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.31001ms] [2025/04/05 23:45:44.104 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:44.104 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:44.104 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:44.104 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:44.104 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:44.104 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:44.104 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:44.104 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:44.104 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:44.104 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:44.105 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:44.105 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:44.106 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestAsOfTimestampCompatibility (2.89s) === NAME === RUN TestSetTransactionInfoSchema [2025/04/05 23:45:44.112 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:44.112 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:44.113 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:44.114 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:44.114 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:44.114 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:44.114 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:44.114 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:44.114 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:44.115 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:44.115 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:44.119 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:44.124 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:44.125 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:44.126 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:44.136 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:44.146 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:44.181 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1150] ["lease id"=3eaa96085661313a] [2025/04/05 23:45:44.182 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:44.269 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=279] ["elapsed time"=84.314773ms] [2025/04/05 23:45:44.269 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:44.272 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:44.279 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:44.279 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:44.281 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:44.282 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:44.282 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185189945344/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:44.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:44.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:44.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:44.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:44.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:44.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:44.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:44.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:44.283 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:44.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:44.283 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:44.283 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:44.283 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [2025/04/05 23:45:44.285 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613293] [ownerID=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [op=none] [2025/04/05 23:45:44.285 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:44.285 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [ownerKey=/tidb/ddl/fg/owner/2231960856613293] [currRev=1260] [2025/04/05 23:45:44.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:44.285 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5f2929a3-c684-4790-9077-6b3390c77016] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:44.286 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960856613295] [ownerID=5f2929a3-c684-4790-9077-6b3390c77016] [op=none] [2025/04/05 23:45:44.286 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:44.286 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [2025/04/05 23:45:44.286 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [ownerKey=/tidb/br-stream/owner/2231960856613295] [currRev=1261] [2025/04/05 23:45:44.287 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613293] [ownerID=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [op=none] [2025/04/05 23:45:44.287 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [op=none] [2025/04/05 23:45:44.287 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:44.292 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionInfoSchema\n\ttests/realtikvtest/txntest/stale_read_test.go:927\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:44.293 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:44.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:44.294 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:44.303 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:44.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:44.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:44.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:44.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:44.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:44.315 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:44.315 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:44.315 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:44.315 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:44.315 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:44.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:44.317 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:44.318 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:44.318 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:44.318 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:44.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:44.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:44.320 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:44.323 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/884c17ea-3a62-4f86-b8e7-f27d1249ef3b] [2025/04/05 23:45:44.323 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:44.323 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:44.323 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [ttl-worker=task-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [originalCount=0] [newCount=4] [2025/04/05 23:45:44.323 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:45:44.323 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [ttl-worker=task-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [originalCount=0] [newCount=4] testkit.go:123: RefreshSession rand seed: 1743896744323725820 [2025/04/05 23:45:44.323 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:44.324 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:44.330 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:44.336 +00:00] [INFO] [set.go:172] ["set global var"] [conn=53] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:44.338 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.200329ms] [2025/04/05 23:45:44.338 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:44.338 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:44.357 +00:00] [INFO] [set.go:172] ["set global var"] [conn=53] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896744358886968 [2025/04/05 23:45:44.378 +00:00] [INFO] [set.go:172] ["set global var"] [conn=54] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:44.402 +00:00] [INFO] [set.go:172] ["set global var"] [conn=54] [name=tidb_schema_cache_size] [val=1073741824] [2025/04/05 23:45:44.404 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=279] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:44.417 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:279, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:44.417 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:279, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:44.423 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=279] [conn=54] [job="ID:279, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.427 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 278, Table Name: t)"] [2025/04/05 23:45:44.562 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=122.890726ms] [2025/04/05 23:45:44.562 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:45:44.562 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:44.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=279] [version=280] [2025/04/05 23:45:44.570 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=280] ["take time"=133.046484ms] [job="ID:279, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.583 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=279] [conn=54] [job="ID:279, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.599 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=279] [2025/04/05 23:45:44.599 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=280] [cur_db=test] [sql="create table t (id int primary key);"] [user=] [2025/04/05 23:45:44.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:44.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:280, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add c int"] [2025/04/05 23:45:44.740 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=54] [job="ID:280, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.742 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:280, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:44.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=1.550695ms] [gotSchemaVersion=281] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:44.759 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=281] [2025/04/05 23:45:44.760 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=8.439816ms] [job="ID:280, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=54] [job="ID:280, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=1.592738ms] [gotSchemaVersion=282] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:44.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=282] [2025/04/05 23:45:44.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=8.745909ms] [job="ID:280, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=54] [job="ID:280, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.750387ms] [gotSchemaVersion=283] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:44.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=283] [2025/04/05 23:45:44.821 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=8.960973ms] [job="ID:280, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=54] [job="ID:280, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.834 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 278, Table Name: t, Column ID: 2, Column Name: c)"] [2025/04/05 23:45:44.850 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.609617ms] [gotSchemaVersion=284] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:44.854 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=284] [2025/04/05 23:45:44.856 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=8.794665ms] [job="ID:280, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.865 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=280] [conn=54] [job="ID:280, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.876 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=280] [2025/04/05 23:45:44.877 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=284] [cur_db=test] [sql="alter table t add c int"] [user=] [2025/04/05 23:45:44.938 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=54] [SnapshotTS=457152068232151040] [2025/04/05 23:45:44.938 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=238ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:44.939 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=54] [schemaVersion=280] [2025/04/05 23:45:44.940 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=54] [schemaVersion=280] [2025/04/05 23:45:44.953 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:44.953 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add d int"] [2025/04/05 23:45:44.959 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=54] [job="ID:281, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.961 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:281, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:44.976 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=1.822845ms] [gotSchemaVersion=285] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:44.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=285] [2025/04/05 23:45:44.981 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=285] ["take time"=9.007244ms] [job="ID:281, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:44.991 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=54] [job="ID:281, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=1.676838ms] [gotSchemaVersion=286] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.009 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=286] [2025/04/05 23:45:45.011 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=286] ["take time"=8.681626ms] [job="ID:281, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.019 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=54] [job="ID:281, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.035 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=1.683974ms] [gotSchemaVersion=287] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.039 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=287] [2025/04/05 23:45:45.041 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=287] ["take time"=9.413815ms] [job="ID:281, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.050 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=54] [job="ID:281, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.055 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 278, Table Name: t, Column ID: 3, Column Name: d)"] [2025/04/05 23:45:45.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=1.984585ms] [gotSchemaVersion=288] [phyTblIDs="[278]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=288] [2025/04/05 23:45:45.077 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=288] ["take time"=10.071429ms] [job="ID:281, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.087 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=54] [job="ID:281, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:44.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.100 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/05 23:45:45.100 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=288] [cur_db=test] [sql="alter table t add d int"] [user=] [2025/04/05 23:45:45.101 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=54] [SnapshotTS=457152068232151040] [2025/04/05 23:45:45.103 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=54] [SnapshotTS=457152068289036288] [2025/04/05 23:45:45.116 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:45.116 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:45.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=54] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=2.329026ms] [gotSchemaVersion=289] [phyTblIDs="[278]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:45.142 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=289] [2025/04/05 23:45:45.143 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=289] ["take time"=9.531289ms] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.154 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=54] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.171 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=2.360269ms] [gotSchemaVersion=290] [phyTblIDs="[278]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:45.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=290] [2025/04/05 23:45:45.176 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=290] ["take time"=9.697511ms] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.188 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=54] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:278, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.194 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 278, Old Table Name: t)"] [2025/04/05 23:45:45.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.201734ms] [gotSchemaVersion=291] [phyTblIDs="[278]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:45.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=291] [2025/04/05 23:45:45.213 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=291] ["take time"=8.927445ms] [job="ID:282, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.224 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[278]"] [comment="drop table: table ID"] [2025/04/05 23:45:45.233 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="drop table"] [2025/04/05 23:45:45.234 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=282] [conn=54] [job="ID:282, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:278, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.257 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=282] [2025/04/05 23:45:45.257 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=291] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:45.279 +00:00] [INFO] [set.go:172] ["set global var"] [conn=54] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:45.281 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=291] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:45.296 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:45.296 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key);"] [2025/04/05 23:45:45.297 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:45.297 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:45.297 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:45.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:45.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=54] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.306 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 283, Table Name: t)"] [2025/04/05 23:45:45.324 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:45.324 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:45.324 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:45.324 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/884c17ea-3a62-4f86-b8e7-f27d1249ef3b] [watcherID=b7ec4602-8b23-4d6c-9a51-b56af7b344e5] [2025/04/05 23:45:45.331 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:45.331 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:45.331 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:45.331 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:45.376 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=291] ["elapsed time"=91.141674ms] [2025/04/05 23:45:45.376 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:45:45.376 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:45.383 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.396477ms] [gotSchemaVersion=292] [phyTblIDs="[283]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:45.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=292] [2025/04/05 23:45:45.389 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=292] ["take time"=72.524518ms] [job="ID:284, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.401 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=54] [job="ID:284, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/05 23:45:45.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=292] [cur_db=test] [sql="create table t (id int primary key);"] [user=] [2025/04/05 23:45:45.548 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:45.548 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:285, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add c int"] [2025/04/05 23:45:45.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=54] [job="ID:285, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.554 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:285, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:45.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=1.471932ms] [gotSchemaVersion=293] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=293] [2025/04/05 23:45:45.572 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=293] ["take time"=8.353227ms] [job="ID:285, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.582 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=54] [job="ID:285, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.597 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=1.393512ms] [gotSchemaVersion=294] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=294] [2025/04/05 23:45:45.602 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=294] ["take time"=8.184552ms] [job="ID:285, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.610 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=54] [job="ID:285, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=1.358444ms] [gotSchemaVersion=295] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.628 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=295] [2025/04/05 23:45:45.630 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=295] ["take time"=8.05538ms] [job="ID:285, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.639 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=54] [job="ID:285, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.644 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 283, Table Name: t, Column ID: 2, Column Name: c)"] [2025/04/05 23:45:45.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=1.558234ms] [gotSchemaVersion=296] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=296] [2025/04/05 23:45:45.665 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=296] ["take time"=9.819161ms] [job="ID:285, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.675 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=285] [conn=54] [job="ID:285, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.686 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=285] [2025/04/05 23:45:45.687 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=296] [cur_db=test] [sql="alter table t add c int"] [user=] [2025/04/05 23:45:45.748 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=54] [SnapshotTS=457152068445536256] [2025/04/05 23:45:45.748 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=54] [schemaVersion=292] [2025/04/05 23:45:45.749 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=54] [schemaVersion=292] [2025/04/05 23:45:45.763 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:45.763 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:286, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add d int"] [2025/04/05 23:45:45.769 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=54] [job="ID:286, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.770 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:286, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:45.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=1.530627ms] [gotSchemaVersion=297] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=297] [2025/04/05 23:45:45.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=297] ["take time"=9.13365ms] [job="ID:286, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=54] [job="ID:286, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.814 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=1.486821ms] [gotSchemaVersion=298] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.817 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=298] [2025/04/05 23:45:45.819 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=298] ["take time"=7.891063ms] [job="ID:286, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.827 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=54] [job="ID:286, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.846 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=1.766317ms] [gotSchemaVersion=299] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.850 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=299] [2025/04/05 23:45:45.852 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=299] ["take time"=9.943603ms] [job="ID:286, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=54] [job="ID:286, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.866 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 283, Table Name: t, Column ID: 3, Column Name: d)"] [2025/04/05 23:45:45.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.660087ms] [gotSchemaVersion=300] [phyTblIDs="[283]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:45.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=300] [2025/04/05 23:45:45.887 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=300] ["take time"=9.057393ms] [job="ID:286, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.897 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=286] [conn=54] [job="ID:286, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=286] [2025/04/05 23:45:45.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=300] [cur_db=test] [sql="alter table t add d int"] [user=] [2025/04/05 23:45:45.910 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=54] [SnapshotTS=457152068445536256] [2025/04/05 23:45:45.912 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=54] [SnapshotTS=457152068501372928] [2025/04/05 23:45:45.925 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:45.925 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:287, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:45.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=54] [job="ID:287, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.949 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=2.214996ms] [gotSchemaVersion=301] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:45.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=301] [2025/04/05 23:45:45.954 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=301] ["take time"=9.962967ms] [job="ID:287, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.964 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=54] [job="ID:287, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=2.099734ms] [gotSchemaVersion=302] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:45.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=302] [2025/04/05 23:45:45.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=302] ["take time"=9.34542ms] [job="ID:287, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:45.994 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=54] [job="ID:287, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.001 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 283, Old Table Name: t)"] [2025/04/05 23:45:46.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=1.077687ms] [gotSchemaVersion=303] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:46.018 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=303] [2025/04/05 23:45:46.020 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=303] ["take time"=8.326536ms] [job="ID:287, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.029 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=287] [tableIDs="[283]"] [comment="drop table: table ID"] [2025/04/05 23:45:46.036 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=287] [jobType="drop table"] [2025/04/05 23:45:46.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=287] [conn=54] [job="ID:287, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:45.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=287] [2025/04/05 23:45:46.055 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=54] [schemaVersion=303] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:46.055 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:46.055 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:46.055 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [] [2025/04/05 23:45:46.055 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.055 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:46.055 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:46.055 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 116, tp general"] ["take time"=62.076µs] [2025/04/05 23:45:46.055 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 117, tp general"] ["take time"=40.033µs] [2025/04/05 23:45:46.055 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 118, tp general"] ["take time"=31.893µs] [2025/04/05 23:45:46.055 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 119, tp general"] ["take time"=43.385µs] [2025/04/05 23:45:46.056 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 120, tp general"] ["take time"=30.706µs] [2025/04/05 23:45:46.056 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 121, tp general"] ["take time"=35.048µs] [2025/04/05 23:45:46.056 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 122, tp general"] ["take time"=29.435µs] [2025/04/05 23:45:46.056 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 123, tp general"] ["take time"=32.892µs] [2025/04/05 23:45:46.056 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.056 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.057 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:46.057 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:46.060 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] ["take time"=5.078667ms] [2025/04/05 23:45:46.060 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.060 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:46.060 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/884c17ea-3a62-4f86-b8e7-f27d1249ef3b] [watcherID=b7ec4602-8b23-4d6c-9a51-b56af7b344e5] [2025/04/05 23:45:46.060 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:46.060 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/884c17ea-3a62-4f86-b8e7-f27d1249ef3b] [2025/04/05 23:45:46.060 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [ttl-worker=task-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [originalCount=4] [newCount=0] [2025/04/05 23:45:46.060 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:46.060 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:46.060 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:46.060 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:46.060 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [ttl-worker=task-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [originalCount=4] [newCount=0] [2025/04/05 23:45:46.063 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:46.063 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:46.063 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:46.063 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:46.065 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.065 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1150] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:46.066 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:46.067 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:46.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:46.066 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:46.067 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:46.067 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:46.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:46.067 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:46.067 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:46.067 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:46.067 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [2025/04/05 23:45:46.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:46.067 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5f2929a3-c684-4790-9077-6b3390c77016] [2025/04/05 23:45:46.067 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.068 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:46.068 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:46.068 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:46.068 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:46.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:46.068 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [error="context canceled"] [2025/04/05 23:45:46.068 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.069 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:46.069 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5f2929a3-c684-4790-9077-6b3390c77016] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:46.069 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:46.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:46.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:46.069 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:46.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:46.069 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [error="context canceled"] [2025/04/05 23:45:46.069 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:46.069 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:46.069 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:46.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:46.070 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [error="context canceled"] [2025/04/05 23:45:46.070 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [2025/04/05 23:45:46.129 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d1e8aff4-dbd8-4d4a-b32b-94bb47ee7580] [error="context canceled"] [2025/04/05 23:45:46.129 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:46.129 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:46.140 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.734302ms] [2025/04/05 23:45:46.142 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:46.142 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:46.142 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:46.142 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:46.142 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:46.142 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:46.142 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:46.142 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:46.142 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:46.142 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:46.142 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:46.142 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:46.143 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestSetTransactionInfoSchema (2.04s) === NAME === RUN TestStaleSelect [2025/04/05 23:45:46.148 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:46.149 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:46.150 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:46.150 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:46.150 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:46.150 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:46.151 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:46.151 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:46.151 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:46.151 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:46.151 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:46.155 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:46.160 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:46.160 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:46.161 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:46.170 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:46.179 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:46.213 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=848] ["lease id"=3eaa960856613181] [2025/04/05 23:45:46.215 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:46.301 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=303] ["elapsed time"=83.537487ms] [2025/04/05 23:45:46.301 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:46.303 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:46.309 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:46.309 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:46.311 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:46.312 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:46.312 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185255845888/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:46.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:46.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:46.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:46.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:46.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:46.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:46.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:46.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:46.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:46.313 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:46.313 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:46.313 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:46.313 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [2025/04/05 23:45:46.315 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566132cd] [ownerID=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [op=none] [2025/04/05 23:45:46.315 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:46.315 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [ownerKey=/tidb/ddl/fg/owner/22319608566132cd] [currRev=1340] [2025/04/05 23:45:46.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:46.315 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:46.316 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319608566132cf] [ownerID=70efd828-3bc4-4896-8088-a3d86fd39d6b] [op=none] [2025/04/05 23:45:46.316 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [2025/04/05 23:45:46.316 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [ownerKey=/tidb/br-stream/owner/22319608566132cf] [currRev=1341] [2025/04/05 23:45:46.316 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:46.317 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566132cd] [ownerID=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [op=none] [2025/04/05 23:45:46.317 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [op=none] [2025/04/05 23:45:46.317 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:46.322 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleSelect\n\ttests/realtikvtest/txntest/stale_read_test.go:979\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:46.323 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:46.323 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:46.324 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:46.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:46.339 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:46.344 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:46.344 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:46.344 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:46.344 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:46.344 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:46.344 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:46.344 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:46.344 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:46.344 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:46.345 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:46.345 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:46.346 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:46.346 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:46.346 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:46.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:46.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:46.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:46.349 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:46.350 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c6bea2c5-0fa4-49c0-bb72-f8f3167789fc] [2025/04/05 23:45:46.351 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [ttl-worker=task-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [originalCount=0] [newCount=4] [2025/04/05 23:45:46.351 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [ttl-worker=task-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [originalCount=0] [newCount=4] [2025/04/05 23:45:46.351 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:46.351 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:46.352 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:46.352 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:46.352 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896746352431469 [2025/04/05 23:45:46.357 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:46.365 +00:00] [INFO] [set.go:172] ["set global var"] [conn=55] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:46.366 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.415825ms] [2025/04/05 23:45:46.366 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:46.366 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] testkit.go:123: RefreshSession rand seed: 1743896746366802693 [2025/04/05 23:45:46.370 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=56] [schemaVersion=303] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:46.383 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:289, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:45:46.383 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:289, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:46.389 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=289] [conn=56] [job="ID:289, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.394 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 288, Table Name: t)"] [2025/04/05 23:45:46.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=1.263064ms] [gotSchemaVersion=304] [phyTblIDs="[288]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:46.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=289] [version=304] [2025/04/05 23:45:46.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=304] ["take time"=8.240034ms] [job="ID:289, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.422 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=289] [conn=56] [job="ID:289, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.433 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=289] [2025/04/05 23:45:46.433 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=56] [schemaVersion=304] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:45:46.593 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152068737564673] [2025/04/05 23:45:46.698 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152068763779073] [2025/04/05 23:45:46.750 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=179ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:46.758 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStaleSelect\n\ttests/realtikvtest/txntest/stale_read_test.go:1010\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp '2025-4-5 23:45:46.540'"] [2025/04/05 23:45:46.763 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStaleSelect\n\ttests/realtikvtest/txntest/stale_read_test.go:1019\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp '2025-4-5 23:45:46.540'"] [2025/04/05 23:45:46.764 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStaleSelect\n\ttests/realtikvtest/txntest/stale_read_test.go:1024\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp '2025-4-5 23:45:46.540'"] [2025/04/05 23:45:46.777 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:46.777 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column c int"] [2025/04/05 23:45:46.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=56] [job="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.784 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:46.797 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=1.510436ms] [gotSchemaVersion=305] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:46.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=305] [2025/04/05 23:45:46.802 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=8.478881ms] [job="ID:290, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.811 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=56] [job="ID:290, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.829 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=1.278905ms] [gotSchemaVersion=306] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:46.833 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=306] [2025/04/05 23:45:46.834 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=8.000328ms] [job="ID:290, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.842 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=56] [job="ID:290, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.855 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.372573ms] [gotSchemaVersion=307] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:46.858 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=307] [2025/04/05 23:45:46.860 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=307] ["take time"=8.027453ms] [job="ID:290, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.867 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=56] [job="ID:290, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:46.872 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 288, Table Name: t, Column ID: 2, Column Name: c)"] [2025/04/05 23:45:46.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=1.365501ms] [gotSchemaVersion=308] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:47.026 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=308] [2025/04/05 23:45:47.029 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=308] ["take time"=147.499971ms] [job="ID:290, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.040 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=56] [job="ID:290, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:46.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/05 23:45:47.052 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=56] [schemaVersion=308] [cur_db=test] [sql="alter table t add column c int"] [user=] [2025/04/05 23:45:47.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152068868898817] [2025/04/05 23:45:47.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:47.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:291, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column d int"] [2025/04/05 23:45:47.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=56] [job="ID:291, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.143 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 23:45:47.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=1.687704ms] [gotSchemaVersion=309] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:47.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=309] [2025/04/05 23:45:47.161 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=309] ["take time"=8.805495ms] [job="ID:291, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=56] [job="ID:291, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.186 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=1.475388ms] [gotSchemaVersion=310] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:47.189 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=310] [2025/04/05 23:45:47.191 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=310] ["take time"=8.090423ms] [job="ID:291, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=56] [job="ID:291, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.466836ms] [gotSchemaVersion=311] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:47.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=311] [2025/04/05 23:45:47.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=311] ["take time"=7.73638ms] [job="ID:291, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.225 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=56] [job="ID:291, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.230 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 288, Table Name: t, Column ID: 3, Column Name: d)"] [2025/04/05 23:45:47.244 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=1.504642ms] [gotSchemaVersion=312] [phyTblIDs="[288]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 23:45:47.247 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=312] [2025/04/05 23:45:47.248 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=312] ["take time"=8.074794ms] [job="ID:291, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.258 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=291] [conn=56] [job="ID:291, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.270 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=291] [2025/04/05 23:45:47.270 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=56] [schemaVersion=312] [cur_db=test] [sql="alter table t add column d int"] [user=] [2025/04/05 23:45:47.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152068907958287] [2025/04/05 23:45:47.321 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:47.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:47.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:47.321 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:47.351 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:47.352 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:47.352 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c6bea2c5-0fa4-49c0-bb72-f8f3167789fc] [watcherID=e669dad9-5c92-4550-a7c3-eab337dd3fc4] [2025/04/05 23:45:47.352 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:47.357 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:47.357 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:47.357 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:47.357 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:47.376 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152068934172697] [2025/04/05 23:45:47.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:47.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:47.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=56] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.461 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=1.942235ms] [gotSchemaVersion=313] [phyTblIDs="[288]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:47.465 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=313] [2025/04/05 23:45:47.466 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=313] ["take time"=8.138979ms] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=56] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=1.939927ms] [gotSchemaVersion=314] [phyTblIDs="[288]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:47.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=314] [2025/04/05 23:45:47.493 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=314] ["take time"=8.287691ms] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=56] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:288, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.506 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 288, Old Table Name: t)"] [2025/04/05 23:45:47.518 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=925.071µs] [gotSchemaVersion=315] [phyTblIDs="[288]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:47.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=315] [2025/04/05 23:45:47.523 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=315] ["take time"=7.527184ms] [job="ID:292, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.531 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=292] [tableIDs="[288]"] [comment="drop table: table ID"] [2025/04/05 23:45:47.537 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=292] [jobType="drop table"] [2025/04/05 23:45:47.537 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=56] [job="ID:292, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:288, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.555 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/05 23:45:47.555 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=56] [schemaVersion=315] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:47.555 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:47.555 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [] [2025/04/05 23:45:47.555 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:47.556 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.556 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:47.556 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:47.556 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 124, tp general"] ["take time"=70.46µs] [2025/04/05 23:45:47.556 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 125, tp general"] ["take time"=32.055µs] [2025/04/05 23:45:47.556 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 126, tp general"] ["take time"=28.605µs] [2025/04/05 23:45:47.556 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 127, tp general"] ["take time"=25.956µs] [2025/04/05 23:45:47.556 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.556 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.557 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:47.557 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:47.559 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] ["take time"=3.539104ms] [2025/04/05 23:45:47.559 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.559 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:47.559 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c6bea2c5-0fa4-49c0-bb72-f8f3167789fc] [watcherID=e669dad9-5c92-4550-a7c3-eab337dd3fc4] [2025/04/05 23:45:47.559 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:47.559 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c6bea2c5-0fa4-49c0-bb72-f8f3167789fc] [2025/04/05 23:45:47.559 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [ttl-worker=task-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [originalCount=4] [newCount=0] [2025/04/05 23:45:47.559 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.559 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.559 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.559 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.559 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [ttl-worker=task-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [originalCount=4] [newCount=0] [2025/04/05 23:45:47.562 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.562 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.562 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.562 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.565 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.565 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:47.565 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=848] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.565 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:47.566 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:47.566 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:47.567 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:47.567 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:47.566 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.566 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.566 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [2025/04/05 23:45:47.567 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:47.567 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:47.567 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:47.567 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [2025/04/05 23:45:47.567 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:47.567 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [2025/04/05 23:45:47.567 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:47.567 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [error="context canceled"] [2025/04/05 23:45:47.567 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.568 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:47.568 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:47.568 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:47.568 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:47.568 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=70efd828-3bc4-4896-8088-a3d86fd39d6b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:47.568 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:47.568 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:47.568 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:47.568 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:47.568 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:47.569 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:47.569 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:47.569 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:47.569 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:47.569 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:47.569 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [error="context canceled"] [2025/04/05 23:45:47.570 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [2025/04/05 23:45:47.626 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e334c7b7-eca3-40e5-b726-f36abc7e8e7b] [error="context canceled"] [2025/04/05 23:45:47.626 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:47.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:47.636 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=80.25428ms] [2025/04/05 23:45:47.638 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:47.638 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:47.638 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:47.638 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:47.638 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:47.638 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:47.638 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:47.638 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:47.638 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:47.638 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:47.638 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:47.638 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:47.640 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleSelect (1.50s) === NAME === RUN TestStaleReadFutureTime [2025/04/05 23:45:47.648 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:47.648 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:47.649 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:47.649 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:47.649 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:47.650 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:47.650 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:47.650 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:47.650 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:47.650 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:47.650 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:47.654 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:47.659 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:47.660 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:47.660 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:47.669 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:47.679 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:47.712 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=386] ["lease id"=3eaa9608566131b3] [2025/04/05 23:45:47.714 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:47.802 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=315] ["elapsed time"=85.996665ms] [2025/04/05 23:45:47.802 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:47.805 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:47.810 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:47.810 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:47.812 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.813 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:47.813 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185255862272/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:47.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:47.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:47.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:47.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:47.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:47.813 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:47.814 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:47.814 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:47.814 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:47.814 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:47.814 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:47.814 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:47.814 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [2025/04/05 23:45:47.815 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566132f3] [ownerID=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [op=none] [2025/04/05 23:45:47.815 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.816 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [ownerKey=/tidb/ddl/fg/owner/22319608566132f3] [currRev=1387] [2025/04/05 23:45:47.816 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:47.817 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:47.817 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319608566132f5] [ownerID=46a54bf7-c573-40ec-8653-ab4e88de3e67] [op=none] [2025/04/05 23:45:47.817 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [2025/04/05 23:45:47.817 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [ownerKey=/tidb/br-stream/owner/22319608566132f5] [currRev=1388] [2025/04/05 23:45:47.817 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:47.818 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566132f3] [ownerID=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [op=none] [2025/04/05 23:45:47.818 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [op=none] [2025/04/05 23:45:47.818 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:47.822 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleReadFutureTime\n\ttests/realtikvtest/txntest/stale_read_test.go:1046\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:47.822 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.823 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:47.823 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:47.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:47.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:47.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:47.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:47.844 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:47.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:47.844 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:47.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:47.844 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:47.844 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:47.844 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:47.845 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:47.845 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:47.846 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:47.846 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:47.846 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:47.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:47.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:47.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:47.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:47.848 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:47.850 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d969dd18-0692-4b34-894b-cd9882eeec9e] [2025/04/05 23:45:47.851 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [ttl-worker=task-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [originalCount=0] [newCount=4] [2025/04/05 23:45:47.851 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [ttl-worker=task-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [originalCount=0] [newCount=4] [2025/04/05 23:45:47.851 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.851 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:47.851 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:47.851 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:47.852 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896747852211497 [2025/04/05 23:45:47.858 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:47.864 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.186502ms] [2025/04/05 23:45:47.865 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:47.865 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:47.865 +00:00] [INFO] [set.go:172] ["set global var"] [conn=57] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:47.877 +00:00] [INFO] [set.go:172] ["set global var"] [conn=57] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896747879348387 [2025/04/05 23:45:47.895 +00:00] [INFO] [set.go:172] ["set global var"] [conn=58] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:47.917 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:47.917 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:45:47.924 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=58] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.929 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 293, Table Name: t)"] [2025/04/05 23:45:47.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=1.41137ms] [gotSchemaVersion=316] [phyTblIDs="[293]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:47.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=316] [2025/04/05 23:45:47.949 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=9.316718ms] [job="ID:294, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:47.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.960 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=58] [job="ID:294, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:47.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:47.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/05 23:45:47.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=58] [schemaVersion=316] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:45:47.973 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=1ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:45:47.973 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="cannot set read timestamp to a future time, readTS: 562927303917568000, currentTS: 457152069091459085"] [SQL="start transaction read only as of timestamp '2038-01-18 03:14:07'"] [2025/04/05 23:45:47.975 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:45:47.975 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=316] [error="cannot set read timestamp to a future time, readTS: 562927303917568000, currentTS: 457152069091459089"] [session="{\n \"currDBName\": \"test\",\n \"id\": 58,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:45:47.976 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="cannot set read timestamp to a future time, readTS: 562927303917568000, currentTS: 457152069091459091"] [errorVerbose="cannot set read timestamp to a future time, readTS: 562927303917568000, currentTS: 457152069091459091\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustMatchErrMsg\n\tpkg/testkit/testkit.go:538\ntests/realtikvtest/txntest/txntest_test.TestStaleReadFutureTime\n\ttests/realtikvtest/txntest/stale_read_test.go:1061\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp '2038-01-18 03:14:07'"] [2025/04/05 23:45:47.977 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:47.977 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [] [2025/04/05 23:45:47.977 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:47.977 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.977 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:47.977 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:47.977 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 128, tp general"] ["take time"=51.353µs] [2025/04/05 23:45:47.977 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.977 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.978 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:47.978 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:47.979 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=940c693c-8ae7-4e71-84f5-a45bbacaed9f] ["take time"=1.946082ms] [2025/04/05 23:45:47.979 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.979 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:47.979 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d969dd18-0692-4b34-894b-cd9882eeec9e] [2025/04/05 23:45:47.979 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [ttl-worker=task-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [originalCount=4] [newCount=0] [2025/04/05 23:45:47.979 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.979 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.979 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.979 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:47.979 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [ttl-worker=task-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [originalCount=4] [newCount=0] [2025/04/05 23:45:47.981 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.981 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.982 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.982 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:47.984 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.984 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:47.984 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=386] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:47.985 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:47.984 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.986 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:47.985 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:47.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:47.986 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:47.985 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:47.985 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [2025/04/05 23:45:47.986 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [error="context canceled"] [2025/04/05 23:45:47.986 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:47.986 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.986 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:47.987 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=46a54bf7-c573-40ec-8653-ab4e88de3e67] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:47.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:47.987 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:47.987 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:47.987 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:47.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:47.987 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:47.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:47.987 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:47.987 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:47.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:47.988 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [error="context canceled"] [2025/04/05 23:45:47.988 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [2025/04/05 23:45:47.988 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [error="context canceled"] [2025/04/05 23:45:47.988 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=940c693c-8ae7-4e71-84f5-a45bbacaed9f] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:48.052 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:48.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:48.062 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.671374ms] [2025/04/05 23:45:48.065 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:48.065 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:48.065 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:48.065 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:48.065 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:48.065 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:48.065 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:48.065 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:48.065 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:48.065 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:48.065 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:48.065 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:48.066 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadFutureTime (0.42s) === NAME === RUN TestStaleReadPrepare [2025/04/05 23:45:48.071 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:48.072 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:48.073 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:48.073 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:48.073 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:48.073 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:48.073 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:48.074 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:48.074 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:48.074 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:48.074 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:48.078 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:48.083 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:48.084 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:48.084 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:48.094 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:48.103 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:48.143 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1262] ["lease id"=6f18960856613406] [2025/04/05 23:45:48.145 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:48.235 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=316] ["elapsed time"=86.7531ms] [2025/04/05 23:45:48.235 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:48.237 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:48.242 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:48.242 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:48.244 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:48.245 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:48.245 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185255886848/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:48.245 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:48.245 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:48.245 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:48.245 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:48.246 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:48.246 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:48.246 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:48.246 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:48.246 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:48.246 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:48.246 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:48.246 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:48.246 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [2025/04/05 23:45:48.247 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613311] [ownerID=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [op=none] [2025/04/05 23:45:48.247 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:48.248 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [ownerKey=/tidb/ddl/fg/owner/2231960856613311] [currRev=1412] [2025/04/05 23:45:48.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:48.248 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:48.249 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:48.249 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566131ce] [ownerID=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [op=none] [2025/04/05 23:45:48.249 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [2025/04/05 23:45:48.249 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [ownerKey=/tidb/br-stream/owner/3eaa9608566131ce] [currRev=1413] [2025/04/05 23:45:48.249 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613311] [ownerID=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [op=none] [2025/04/05 23:45:48.249 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [op=none] [2025/04/05 23:45:48.249 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:48.253 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:45:48.253 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:48.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:48.254 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:48.263 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:48.269 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:48.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:48.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:48.274 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:48.274 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:48.274 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:48.274 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:48.274 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:48.274 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:48.274 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:48.275 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:48.275 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:48.276 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:48.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:48.278 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:48.280 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:48.280 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/06954754-59e7-40db-8533-ed2deea5991c] [2025/04/05 23:45:48.280 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [ttl-worker=task-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [originalCount=0] [newCount=4] [2025/04/05 23:45:48.280 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [ttl-worker=task-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [originalCount=0] [newCount=4] [2025/04/05 23:45:48.280 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:48.280 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:48.281 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:48.281 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896748281331238 [2025/04/05 23:45:48.286 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:48.292 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.788931ms] [2025/04/05 23:45:48.292 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:48.292 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:48.300 +00:00] [INFO] [set.go:172] ["set global var"] [conn=59] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:48.311 +00:00] [INFO] [set.go:172] ["set global var"] [conn=59] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:48.313 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=59] [schemaVersion=316] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:45:48.325 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:295, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:48.325 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:295, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:45:48.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=295] [conn=59] [job="ID:295, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.615671ms] [gotSchemaVersion=317] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:48.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=295] [version=317] [2025/04/05 23:45:48.350 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=317] ["take time"=8.243041ms] [job="ID:295, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.360 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=295] [conn=59] [job="ID:295, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=1.639283ms] [gotSchemaVersion=318] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:48.377 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=295] [version=318] [2025/04/05 23:45:48.379 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=318] ["take time"=8.296668ms] [job="ID:295, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=295] [conn=59] [job="ID:295, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.392 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 293, Old Table Name: t)"] [2025/04/05 23:45:48.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=940.199µs] [gotSchemaVersion=319] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:48.407 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=295] [version=319] [2025/04/05 23:45:48.408 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=7.359658ms] [job="ID:295, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.416 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=295] [tableIDs="[293]"] [comment="drop table: table ID"] [2025/04/05 23:45:48.422 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=295] [jobType="drop table"] [2025/04/05 23:45:48.423 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=295] [conn=59] [job="ID:295, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.439 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=295] [2025/04/05 23:45:48.439 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=59] [schemaVersion=319] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896748439896242 [2025/04/05 23:45:48.443 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=60] [schemaVersion=319] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:48.454 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:297, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:45:48.454 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:48.460 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=60] [job="ID:297, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:296, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:48.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.464 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 296, Table Name: t)"] [2025/04/05 23:45:48.475 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=1.210644ms] [gotSchemaVersion=320] [phyTblIDs="[296]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:48.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=320] [2025/04/05 23:45:48.480 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=320] ["take time"=7.386153ms] [job="ID:297, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:48.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.490 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=297] [conn=60] [job="ID:297, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:296, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:48.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:48.499 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=297] [2025/04/05 23:45:48.500 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=60] [schemaVersion=320] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:45:49.253 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:49.253 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:49.253 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:49.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:49.280 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:49.281 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:49.281 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/06954754-59e7-40db-8533-ed2deea5991c] [watcherID=53e5de1d-1f84-46db-ab99-05ee28987726] [2025/04/05 23:45:49.281 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:49.285 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:49.285 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:49.285 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:49.285 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:50.079 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:45:50.246 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:50.701 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=554ms] [requiredStaleness=654ms] [prevState=normal] [newState=adapting] [2025/04/05 23:45:50.706 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=60] [SnapshotTS=457152069632000000] [2025/04/05 23:45:50.707 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=60] [schemaVersion=320] [2025/04/05 23:45:50.708 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction."] [errorVerbose="[planner:8135]invalid as of timestamp: as of timestamp can't be set in transaction.\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStaleReadPrepare\n\ttests/realtikvtest/txntest/stale_read_test.go:1100\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="execute p1"] [2025/04/05 23:45:50.709 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=60] [SnapshotTS=457152069763072000] [2025/04/05 23:45:50.709 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: can't use select as of while already set transaction as of"] [errorVerbose="[planner:8135]invalid as of timestamp: can't use select as of while already set transaction as of\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStaleReadPrepare\n\ttests/realtikvtest/txntest/stale_read_test.go:1106\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="execute p1"] [2025/04/05 23:45:50.722 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:299, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:50.722 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:299, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (id int, v int)"] [2025/04/05 23:45:50.728 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=299] [conn=60] [job="ID:299, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:298, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:50.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.732 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 298, Table Name: t1)"] [2025/04/05 23:45:50.745 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=1.385484ms] [gotSchemaVersion=321] [phyTblIDs="[298]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:50.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=299] [version=321] [2025/04/05 23:45:50.750 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=321] ["take time"=7.8167ms] [job="ID:299, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.761 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=299] [conn=60] [job="ID:299, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:298, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:50.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=299] [2025/04/05 23:45:50.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=60] [schemaVersion=321] [cur_db=test] [sql="create table t1 (id int, v int)"] [user=] [2025/04/05 23:45:50.905 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:50.905 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:50.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=60] [job="ID:300, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:296, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=1.603842ms] [gotSchemaVersion=322] [phyTblIDs="[296]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:50.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=322] [2025/04/05 23:45:50.928 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=8.04662ms] [job="ID:300, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=60] [job="ID:300, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:296, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=1.598847ms] [gotSchemaVersion=323] [phyTblIDs="[296]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:50.956 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=323] [2025/04/05 23:45:50.957 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=323] ["take time"=8.037987ms] [job="ID:300, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.965 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=60] [job="ID:300, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:296, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.970 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 296, Old Table Name: t)"] [2025/04/05 23:45:50.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=974.127µs] [gotSchemaVersion=324] [phyTblIDs="[296]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:50.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=324] [2025/04/05 23:45:50.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=324] ["take time"=7.339777ms] [job="ID:300, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:50.994 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=300] [tableIDs="[296]"] [comment="drop table: table ID"] [2025/04/05 23:45:50.998 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=300] [jobType="drop table"] [2025/04/05 23:45:50.999 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=60] [job="ID:300, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:296, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:50.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.015 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/05 23:45:51.015 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=60] [schemaVersion=324] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:51.015 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:51.015 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [] [2025/04/05 23:45:51.015 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:51.015 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.015 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:51.015 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:51.015 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 129, tp general"] ["take time"=47.111µs] [2025/04/05 23:45:51.015 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 130, tp general"] ["take time"=28.584µs] [2025/04/05 23:45:51.015 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 131, tp general"] ["take time"=33.3µs] [2025/04/05 23:45:51.016 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 132, tp general"] ["take time"=26.905µs] [2025/04/05 23:45:51.016 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.016 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.016 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:51.016 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:51.018 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e1f1a402-1da3-42f9-8773-c2a122f7f53b] ["take time"=3.070834ms] [2025/04/05 23:45:51.018 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.018 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:51.018 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:51.018 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/06954754-59e7-40db-8533-ed2deea5991c] [2025/04/05 23:45:51.018 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/06954754-59e7-40db-8533-ed2deea5991c] [watcherID=53e5de1d-1f84-46db-ab99-05ee28987726] [2025/04/05 23:45:51.018 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [ttl-worker=task-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [originalCount=4] [newCount=0] [2025/04/05 23:45:51.018 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:51.019 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:51.018 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:51.018 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:51.019 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [ttl-worker=task-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [originalCount=4] [newCount=0] [2025/04/05 23:45:51.021 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:51.021 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:51.021 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:51.021 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:51.023 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.023 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1262] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:51.024 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:51.024 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:51.024 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:51.025 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:51.025 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:51.025 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:51.025 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:51.024 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:51.024 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:51.024 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:51.024 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [2025/04/05 23:45:51.025 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.025 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:51.025 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:51.025 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:51.025 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:51.025 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:51.026 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e2efeec4-0472-4111-9b90-7ebbf3572d5c] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:51.026 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:51.026 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:51.026 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:51.026 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:51.026 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:51.026 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [error="context canceled"] [2025/04/05 23:45:51.026 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:51.026 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:51.026 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.026 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [error="context canceled"] [2025/04/05 23:45:51.026 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:51.026 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:51.026 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:51.027 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [error="context canceled"] [2025/04/05 23:45:51.027 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [2025/04/05 23:45:51.027 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [error="context canceled"] [2025/04/05 23:45:51.027 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=e1f1a402-1da3-42f9-8773-c2a122f7f53b] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:51.044 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:51.044 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:51.089 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:51.089 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:51.102 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.141491ms] [2025/04/05 23:45:51.105 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:51.105 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:51.105 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:51.105 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:51.105 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:51.105 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:51.105 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:51.105 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:51.105 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:51.105 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:51.105 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:51.105 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:51.106 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadPrepare (3.04s) === NAME === RUN TestStmtCtxStaleFlag [2025/04/05 23:45:51.113 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:51.114 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:51.114 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:51.115 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:51.115 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:51.115 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:51.115 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:51.115 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:51.115 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:51.116 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:51.116 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:51.119 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:51.124 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:51.125 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:51.126 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:51.135 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:51.145 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:51.178 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=867] ["lease id"=2231960856613332] [2025/04/05 23:45:51.180 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:51.265 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=324] ["elapsed time"=82.337196ms] [2025/04/05 23:45:51.265 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:51.267 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:51.273 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f76db463-d782-409b-adee-964edd49eb9f] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:51.273 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:51.275 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:51.276 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:51.276 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185255907328/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:51.276 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:51.276 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:51.276 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [2025/04/05 23:45:51.278 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896085661342c] [ownerID=f76db463-d782-409b-adee-964edd49eb9f] [op=none] [2025/04/05 23:45:51.278 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:51.278 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [ownerKey=/tidb/ddl/fg/owner/6f1896085661342c] [currRev=1454] [2025/04/05 23:45:51.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:51.279 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:51.279 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:51.280 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896085661342e] [ownerID=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [op=none] [2025/04/05 23:45:51.280 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [2025/04/05 23:45:51.280 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [ownerKey=/tidb/br-stream/owner/6f1896085661342e] [currRev=1455] [2025/04/05 23:45:51.280 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f1896085661342c] [ownerID=f76db463-d782-409b-adee-964edd49eb9f] [op=none] [2025/04/05 23:45:51.280 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [op=none] [2025/04/05 23:45:51.280 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:51.284 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStmtCtxStaleFlag\n\ttests/realtikvtest/txntest/stale_read_test.go:1124\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:51.285 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:51.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:51.286 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:51.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:51.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:51.306 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:51.306 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:51.306 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:51.306 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:51.306 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:51.306 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:51.306 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:51.306 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:51.306 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:51.307 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:51.307 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:51.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:51.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:51.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:51.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:51.308 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:51.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:51.308 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:51.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:51.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:51.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:51.309 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:51.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:51.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:51.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:51.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:51.311 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:51.313 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/18fd45b7-6ee6-4ce2-b6da-883eb2127190] [2025/04/05 23:45:51.313 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [ttl-worker=task-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [originalCount=0] [newCount=4] [2025/04/05 23:45:51.313 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [ttl-worker=task-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [originalCount=0] [newCount=4] [2025/04/05 23:45:51.313 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:51.314 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:51.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:51.314 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:51.314 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896751314928819 [2025/04/05 23:45:51.320 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:51.328 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.909018ms] [2025/04/05 23:45:51.328 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:51.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:51.334 +00:00] [INFO] [set.go:172] ["set global var"] [conn=61] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:51.352 +00:00] [INFO] [set.go:172] ["set global var"] [conn=61] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:51.354 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=61] [schemaVersion=324] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:45:51.366 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:301, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:51.366 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:301, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:45:51.371 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=301] [conn=61] [job="ID:301, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:298, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.807634ms] [gotSchemaVersion=325] [phyTblIDs="[298]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:51.389 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=301] [version=325] [2025/04/05 23:45:51.391 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=325] ["take time"=8.915061ms] [job="ID:301, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.400 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=301] [conn=61] [job="ID:301, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:298, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=1.918441ms] [gotSchemaVersion=326] [phyTblIDs="[298]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:51.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=301] [version=326] [2025/04/05 23:45:51.420 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=326] ["take time"=8.571163ms] [job="ID:301, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.428 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=301] [conn=61] [job="ID:301, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:298, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.435 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 298, Old Table Name: t1)"] [2025/04/05 23:45:51.447 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=960.301µs] [gotSchemaVersion=327] [phyTblIDs="[298]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:51.451 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=301] [version=327] [2025/04/05 23:45:51.452 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=327] ["take time"=7.610464ms] [job="ID:301, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.462 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=301] [tableIDs="[298]"] [comment="drop table: table ID"] [2025/04/05 23:45:51.468 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=301] [jobType="drop table"] [2025/04/05 23:45:51.469 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=301] [conn=61] [job="ID:301, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:298, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.486 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=301] [2025/04/05 23:45:51.486 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=61] [schemaVersion=327] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896751487170235 [2025/04/05 23:45:51.490 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=62] [schemaVersion=327] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:51.501 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:51.501 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:45:51.507 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=62] [job="ID:303, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:302, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:51.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.510 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 302, Table Name: t)"] [2025/04/05 23:45:51.523 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=1.27295ms] [gotSchemaVersion=328] [phyTblIDs="[302]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:51.527 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=328] [2025/04/05 23:45:51.528 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=7.835563ms] [job="ID:303, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:51.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.539 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=62] [job="ID:303, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:302, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:51.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:51.550 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/05 23:45:51.550 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=62] [schemaVersion=328] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:45:52.284 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:52.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:52.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:52.284 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:52.314 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:52.314 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:52.314 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/18fd45b7-6ee6-4ce2-b6da-883eb2127190] [watcherID=53a5742a-ec69-4bd3-8800-fdfcf706d5e4] [2025/04/05 23:45:52.314 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:52.319 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:52.319 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:52.319 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:52.319 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:53.119 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:45:53.276 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:53.551 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=507ms] [prevState=normal] [newState=adapting] [2025/04/05 23:45:53.556 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=62] [SnapshotTS=457152070418432000] [2025/04/05 23:45:53.557 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=62] [schemaVersion=328] [2025/04/05 23:45:53.578 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:45:53.578 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:53.583 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=62] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:302, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.597 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=1.557701ms] [gotSchemaVersion=329] [phyTblIDs="[302]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:53.601 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=329] [2025/04/05 23:45:53.602 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=329] ["take time"=8.093015ms] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.611 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=62] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:302, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=1.588197ms] [gotSchemaVersion=330] [phyTblIDs="[302]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:53.628 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=330] [2025/04/05 23:45:53.630 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=330] ["take time"=8.074874ms] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=62] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:302, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.642 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 302, Old Table Name: t)"] [2025/04/05 23:45:53.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=922.194µs] [gotSchemaVersion=331] [phyTblIDs="[302]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:53.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=331] [2025/04/05 23:45:53.659 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=331] ["take time"=7.524558ms] [job="ID:304, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.667 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=304] [tableIDs="[302]"] [comment="drop table: table ID"] [2025/04/05 23:45:53.671 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="drop table"] [2025/04/05 23:45:53.671 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=304] [conn=62] [job="ID:304, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:302, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:53.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=304] [2025/04/05 23:45:53.687 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=62] [schemaVersion=331] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:53.687 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:53.687 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:53.687 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [] [2025/04/05 23:45:53.687 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.687 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:53.688 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:53.688 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 133, tp general"] ["take time"=43.424µs] [2025/04/05 23:45:53.688 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 134, tp general"] ["take time"=30.502µs] [2025/04/05 23:45:53.688 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 135, tp general"] ["take time"=26.979µs] [2025/04/05 23:45:53.688 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.688 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.689 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:53.689 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:53.690 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f76db463-d782-409b-adee-964edd49eb9f] ["take time"=2.55028ms] [2025/04/05 23:45:53.690 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.690 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:53.690 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/18fd45b7-6ee6-4ce2-b6da-883eb2127190] [watcherID=53a5742a-ec69-4bd3-8800-fdfcf706d5e4] [2025/04/05 23:45:53.690 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:53.690 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/18fd45b7-6ee6-4ce2-b6da-883eb2127190] [2025/04/05 23:45:53.690 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [ttl-worker=task-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [originalCount=4] [newCount=0] [2025/04/05 23:45:53.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:53.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:53.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:53.690 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:53.690 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [ttl-worker=task-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [originalCount=4] [newCount=0] [2025/04/05 23:45:53.692 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:53.693 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:53.693 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:53.693 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:53.695 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.695 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=867] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [2025/04/05 23:45:53.696 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:53.696 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:53.697 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:53.697 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:53.697 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:53.697 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:53.697 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:53.696 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:53.697 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.697 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:53.697 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:53.697 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:53.696 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:53.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:53.697 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:53.697 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:53.697 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:53.698 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:53.698 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:53.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:53.698 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:53.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:53.698 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0131ea8a-fb53-46c1-9e12-5eb7bec0a4d8] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:53.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:53.698 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:53.698 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [error="context canceled"] [2025/04/05 23:45:53.698 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.698 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [error="context canceled"] [2025/04/05 23:45:53.698 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:53.698 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:53.698 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:53.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:53.699 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [error="context canceled"] [2025/04/05 23:45:53.699 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [2025/04/05 23:45:53.699 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [error="context canceled"] [2025/04/05 23:45:53.699 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=f76db463-d782-409b-adee-964edd49eb9f] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:53.757 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:53.767 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=79.650029ms] [2025/04/05 23:45:53.769 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:53.769 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:53.769 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:53.769 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:53.769 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:53.769 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:53.769 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:53.769 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-28] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:53.769 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:53.769 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:53.769 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:53.769 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:53.770 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStmtCtxStaleFlag (2.66s) === NAME === RUN TestStaleSessionQuery [2025/04/05 23:45:53.775 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:53.775 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:53.776 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:53.777 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:53.777 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:53.777 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:53.777 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:53.777 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:53.777 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:53.777 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:53.778 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:53.781 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:53.785 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:53.786 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:53.787 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:53.795 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:53.803 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:53.836 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1794] ["lease id"=6f1896085661344a] [2025/04/05 23:45:53.838 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:53.922 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=331] ["elapsed time"=81.68583ms] [2025/04/05 23:45:53.922 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:53.924 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:53.929 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4b766645-71be-4d24-89c6-89292510a1bb] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:53.929 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:53.931 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:53.932 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:53.934 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182511886336/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:53.934 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:53.934 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:53.934 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [2025/04/05 23:45:53.935 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613453] [ownerID=4b766645-71be-4d24-89c6-89292510a1bb] [op=none] [2025/04/05 23:45:53.935 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:53.935 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [ownerKey=/tidb/ddl/fg/owner/6f18960856613453] [currRev=1492] [2025/04/05 23:45:53.936 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:53.937 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613453] [ownerID=4b766645-71be-4d24-89c6-89292510a1bb] [op=none] [2025/04/05 23:45:53.937 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [op=none] [2025/04/05 23:45:53.937 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:53.937 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:53.937 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:53.938 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96085661321f] [ownerID=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [op=none] [2025/04/05 23:45:53.938 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [2025/04/05 23:45:53.938 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [ownerKey=/tidb/br-stream/owner/3eaa96085661321f] [currRev=1493] [2025/04/05 23:45:53.941 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleSessionQuery\n\ttests/realtikvtest/txntest/stale_read_test.go:1218\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:53.942 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:53.943 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:53.943 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:53.951 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:53.957 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:53.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:53.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:53.961 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:53.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:53.961 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:53.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:53.961 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:53.961 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:53.961 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:53.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:53.962 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:53.963 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:53.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:53.963 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:53.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:53.964 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:53.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:53.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:53.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:53.964 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:53.965 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:53.967 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/89882c7d-39bc-487d-926e-67faad630a4f] [2025/04/05 23:45:53.968 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [ttl-worker=task-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [originalCount=0] [newCount=4] [2025/04/05 23:45:53.968 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [ttl-worker=task-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [originalCount=0] [newCount=4] [2025/04/05 23:45:53.968 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:53.968 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:53.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:53.969 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:53.969 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896753969363583 [2025/04/05 23:45:53.974 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:53.981 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.658613ms] [2025/04/05 23:45:53.981 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:53.981 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:53.989 +00:00] [INFO] [set.go:172] ["set global var"] [conn=63] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896753990614242 [2025/04/05 23:45:54.008 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t10 (id int);"] [2025/04/05 23:45:54.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:54.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=306] [conn=64] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:53.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:54.018 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 305, Table Name: t10)"] [2025/04/05 23:45:54.031 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=1.309839ms] [gotSchemaVersion=332] [phyTblIDs="[305]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:54.035 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=306] [version=332] [2025/04/05 23:45:54.037 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=332] ["take time"=8.519184ms] [job="ID:306, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:53.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:54.048 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=306] [conn=64] [job="ID:306, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:53.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:54.058 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=306] [2025/04/05 23:45:54.059 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=64] [schemaVersion=332] [cur_db=test] [sql="create table t10 (id int);"] [user=] [2025/04/05 23:45:54.943 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:54.943 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:54.943 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:54.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:54.968 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:54.968 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:54.968 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/89882c7d-39bc-487d-926e-67faad630a4f] [watcherID=8c545a5b-911f-48e9-9a5c-1613dd1310b5] [2025/04/05 23:45:54.969 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:54.974 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:54.974 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:54.974 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:54.974 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:55.781 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:45:55.933 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:56.065 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=914ms] [requiredStaleness=1.014s] [prevState=normal] [newState=adapting] [2025/04/05 23:45:56.078 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152071214825477] [2025/04/05 23:45:56.088 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:45:56.088 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [] [2025/04/05 23:45:56.088 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.090 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:45:56.090 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:56.090 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:45:56.090 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 136, tp general"] ["take time"=33.101µs] [2025/04/05 23:45:56.090 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.090 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.091 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:45:56.091 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:45:56.092 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4b766645-71be-4d24-89c6-89292510a1bb] ["take time"=4.269565ms] [2025/04/05 23:45:56.092 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.092 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:45:56.092 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:45:56.092 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/89882c7d-39bc-487d-926e-67faad630a4f] [watcherID=8c545a5b-911f-48e9-9a5c-1613dd1310b5] [2025/04/05 23:45:56.092 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/89882c7d-39bc-487d-926e-67faad630a4f] [2025/04/05 23:45:56.092 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [ttl-worker=task-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [originalCount=4] [newCount=0] [2025/04/05 23:45:56.092 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:56.092 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:56.092 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:56.092 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:45:56.092 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [ttl-worker=task-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [originalCount=4] [newCount=0] [2025/04/05 23:45:56.094 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:56.095 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:56.095 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:56.095 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:45:56.097 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.097 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1794] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:56.098 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:45:56.098 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:45:56.099 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:45:56.098 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:45:56.099 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:56.099 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.099 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:45:56.099 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:56.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:56.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:45:56.099 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:45:56.099 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:45:56.098 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [] [2025/04/05 23:45:56.099 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:56.099 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:45:56.099 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [2025/04/05 23:45:56.099 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:56.099 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:56.099 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [2025/04/05 23:45:56.099 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [2025/04/05 23:45:56.099 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:45:56.100 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [error="context canceled"] [2025/04/05 23:45:56.100 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.100 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:45:56.100 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:56.100 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:45:56.100 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=cbc7dfa4-6f60-4033-9aa2-fde630ce427d] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:56.100 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:45:56.100 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:56.100 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:56.100 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:45:56.100 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [error="context canceled"] [2025/04/05 23:45:56.101 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:45:56.101 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:45:56.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:56.101 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [error="context canceled"] [2025/04/05 23:45:56.102 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [2025/04/05 23:45:56.102 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [error="context canceled"] [2025/04/05 23:45:56.102 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=4b766645-71be-4d24-89c6-89292510a1bb] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:56.117 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:45:56.117 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:56.160 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:45:56.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:56.171 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.364783ms] [2025/04/05 23:45:56.173 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:45:56.173 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:45:56.173 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:45:56.173 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:45:56.173 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:45:56.173 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:45:56.173 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:45:56.174 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:45:56.174 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:45:56.173 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-29] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:56.174 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:45:56.174 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:45:56.175 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleSessionQuery (2.41s) === NAME === RUN TestStaleReadCompatibility [2025/04/05 23:45:56.183 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:45:56.184 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:45:56.184 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:45:56.185 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:45:56.185 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:45:56.185 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:45:56.185 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:45:56.185 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:45:56.185 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:45:56.186 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:45:56.186 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:45:56.190 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:45:56.194 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:56.195 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:56.196 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:45:56.205 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:45:56.216 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:45:56.249 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1874] ["lease id"=3eaa960856613237] [2025/04/05 23:45:56.251 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:45:56.336 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=332] ["elapsed time"=82.138947ms] [2025/04/05 23:45:56.336 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:45:56.338 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:45:56.343 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c8c060d7-6a34-4702-975e-131591819207] [runWorker=true] [jobVersion=v2] [2025/04/05 23:45:56.343 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:45:56.345 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:45:56.346 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:45:56.346 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182511894528/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:45:56.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:45:56.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:45:56.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:45:56.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:45:56.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:45:56.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:56.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:56.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:45:56.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:45:56.347 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:45:56.347 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:45:56.347 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:56.347 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [2025/04/05 23:45:56.348 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661323c] [ownerID=c8c060d7-6a34-4702-975e-131591819207] [op=none] [2025/04/05 23:45:56.348 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:45:56.348 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [ownerKey=/tidb/ddl/fg/owner/3eaa96085661323c] [currRev=1515] [2025/04/05 23:45:56.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:45:56.349 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [daemon-id=LogBackup::Advancer] [2025/04/05 23:45:56.349 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:45:56.350 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960856613372] [ownerID=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [op=none] [2025/04/05 23:45:56.350 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [2025/04/05 23:45:56.350 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [ownerKey=/tidb/br-stream/owner/2231960856613372] [currRev=1516] [2025/04/05 23:45:56.350 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661323c] [ownerID=c8c060d7-6a34-4702-975e-131591819207] [op=none] [2025/04/05 23:45:56.350 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [op=none] [2025/04/05 23:45:56.350 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:45:56.354 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleReadCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:1256\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:45:56.354 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:45:56.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:45:56.355 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:45:56.364 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:45:56.370 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:45:56.374 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:45:56.374 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:45:56.374 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:45:56.374 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:45:56.374 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:45:56.374 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:45:56.374 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:45:56.374 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:45:56.374 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:45:56.375 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:45:56.375 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:45:56.376 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:45:56.376 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:45:56.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:56.376 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:45:56.377 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:45:56.377 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:45:56.377 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:45:56.377 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:45:56.379 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:45:56.381 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2ab90eed-0685-4cf6-8e8d-ba5ccc6993ab] [2025/04/05 23:45:56.381 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [ttl-worker=task-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [originalCount=0] [newCount=4] [2025/04/05 23:45:56.381 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [ttl-worker=task-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [originalCount=0] [newCount=4] [2025/04/05 23:45:56.381 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:45:56.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:45:56.381 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:45:56.381 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:45:56.381 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896756382072963 [2025/04/05 23:45:56.388 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:45:56.395 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.535832ms] [2025/04/05 23:45:56.395 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:45:56.395 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:45:56.401 +00:00] [INFO] [set.go:172] ["set global var"] [conn=65] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:45:56.411 +00:00] [INFO] [set.go:172] ["set global var"] [conn=65] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:45:56.414 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=65] [schemaVersion=332] [cur_db=test] [sql="alter table `t10` nocache"] [user=] [2025/04/05 23:45:56.427 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:56.427 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:307, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t10`"] [2025/04/05 23:45:56.432 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=65] [job="ID:307, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=1.525757ms] [gotSchemaVersion=333] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:56.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=333] [2025/04/05 23:45:56.451 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=333] ["take time"=8.591966ms] [job="ID:307, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.461 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=65] [job="ID:307, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=1.633353ms] [gotSchemaVersion=334] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:56.477 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=334] [2025/04/05 23:45:56.479 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=334] ["take time"=7.996877ms] [job="ID:307, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.486 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=65] [job="ID:307, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.492 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 305, Old Table Name: t10)"] [2025/04/05 23:45:56.504 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=993.154µs] [gotSchemaVersion=335] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:45:56.508 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=335] [2025/04/05 23:45:56.509 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=335] ["take time"=7.582291ms] [job="ID:307, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.518 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=307] [tableIDs="[305]"] [comment="drop table: table ID"] [2025/04/05 23:45:56.524 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=307] [jobType="drop table"] [2025/04/05 23:45:56.525 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=307] [conn=65] [job="ID:307, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=307] [2025/04/05 23:45:56.543 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=65] [schemaVersion=335] [cur_db=test] [sql="drop table `t10`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896756543502447 [2025/04/05 23:45:56.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=66] [schemaVersion=335] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:45:56.559 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:309, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:45:56.559 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:45:56.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=309] [conn=66] [job="ID:309, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:308, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:56.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.569 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 308, Table Name: t)"] [2025/04/05 23:45:56.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=1.390571ms] [gotSchemaVersion=336] [phyTblIDs="[308]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:45:56.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=309] [version=336] [2025/04/05 23:45:56.588 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=336] ["take time"=8.728942ms] [job="ID:309, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:45:56.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.599 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=309] [conn=66] [job="ID:309, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:308, RowCount:0, ArgLen:0, start time: 2025-04-05 23:45:56.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:45:56.609 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=309] [2025/04/05 23:45:56.609 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=66] [schemaVersion=336] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:45:57.354 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:45:57.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:45:57.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:45:57.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:45:57.381 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:45:57.381 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:45:57.381 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2ab90eed-0685-4cf6-8e8d-ba5ccc6993ab] [watcherID=a98bd7fa-83e0-4e0f-b74e-f102e1d9be64] [2025/04/05 23:45:57.382 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:45:57.386 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:45:57.386 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:45:57.386 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:45:57.386 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:45:58.190 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:45:58.346 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:45:58.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152071883292677] [2025/04/05 23:45:58.712 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa960856613242] [ownerID=c8c060d7-6a34-4702-975e-131591819207] [op=none] [2025/04/05 23:45:58.712 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:45:58.712 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [ownerKey=/tidb/bindinfo/owner/3eaa960856613242] [currRev=1532] [2025/04/05 23:45:59.366 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:00.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152072407842821] [2025/04/05 23:46:00.623 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=66] [SnapshotTS=457152071729152000] [2025/04/05 23:46:00.623 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8135]invalid as of timestamp: can't use select as of while already set transaction as of"] [errorVerbose="[planner:8135]invalid as of timestamp: can't use select as of while already set transaction as of\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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStaleReadCompatibility\n\ttests/realtikvtest/txntest/stale_read_test.go:1271\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t as of timestamp '2025-4-5 23:45:58';"] [2025/04/05 23:46:00.632 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=596ms] [prevState=normal] [newState=adapting] [2025/04/05 23:46:00.635 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=66] [SnapshotTS=457152072253440000] [2025/04/05 23:46:00.636 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=66] [schemaVersion=336] [2025/04/05 23:46:00.660 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:00.661 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:310, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:46:00.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=66] [job="ID:310, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:308, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=1.651695ms] [gotSchemaVersion=337] [phyTblIDs="[308]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:00.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=337] [2025/04/05 23:46:00.686 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=337] ["take time"=8.705323ms] [job="ID:310, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.695 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=66] [job="ID:310, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:308, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=1.486843ms] [gotSchemaVersion=338] [phyTblIDs="[308]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:00.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=338] [2025/04/05 23:46:00.713 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=338] ["take time"=7.978892ms] [job="ID:310, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.720 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=66] [job="ID:310, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:308, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.726 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 308, Old Table Name: t)"] [2025/04/05 23:46:00.738 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=1.047672ms] [gotSchemaVersion=339] [phyTblIDs="[308]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:00.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=339] [2025/04/05 23:46:00.743 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=339] ["take time"=7.500319ms] [job="ID:310, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.752 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=310] [tableIDs="[308]"] [comment="drop table: table ID"] [2025/04/05 23:46:00.756 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="drop table"] [2025/04/05 23:46:00.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=310] [conn=66] [job="ID:310, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:308, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:00.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:00.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=310] [2025/04/05 23:46:00.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=66] [schemaVersion=339] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:00.773 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [] [2025/04/05 23:46:00.773 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:00.773 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.773 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:00.773 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:00.773 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:00.773 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 137, tp general"] ["take time"=43.011µs] [2025/04/05 23:46:00.773 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 138, tp general"] ["take time"=35.734µs] [2025/04/05 23:46:00.773 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 139, tp general"] ["take time"=27.488µs] [2025/04/05 23:46:00.773 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.773 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.774 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:00.774 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:00.775 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c8c060d7-6a34-4702-975e-131591819207] ["take time"=2.536401ms] [2025/04/05 23:46:00.775 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.775 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:00.776 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:00.776 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/2ab90eed-0685-4cf6-8e8d-ba5ccc6993ab] [watcherID=a98bd7fa-83e0-4e0f-b74e-f102e1d9be64] [2025/04/05 23:46:00.776 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2ab90eed-0685-4cf6-8e8d-ba5ccc6993ab] [2025/04/05 23:46:00.776 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [ttl-worker=task-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [originalCount=4] [newCount=0] [2025/04/05 23:46:00.776 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:00.776 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:00.776 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:00.776 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:00.776 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [ttl-worker=task-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [originalCount=4] [newCount=0] [2025/04/05 23:46:00.778 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:00.778 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:00.778 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:00.778 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:00.780 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1874] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:00.781 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [] [2025/04/05 23:46:00.781 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:00.781 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:00.782 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:00.782 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:00.782 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:00.782 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [2025/04/05 23:46:00.781 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:00.782 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.782 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:00.783 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:00.782 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:00.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:00.782 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:00.783 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:00.783 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:00.783 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:00.783 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:00.783 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=089a5d44-7cb4-4dcc-a9fb-997714e8ab35] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:00.783 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:00.783 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:00.783 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:00.783 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:00.783 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [] [2025/04/05 23:46:00.783 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:00.783 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:00.784 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.784 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [error="context canceled"] [2025/04/05 23:46:00.784 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.784 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:00.784 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.784 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [2025/04/05 23:46:00.784 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [error="context canceled"] [2025/04/05 23:46:00.784 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:00.784 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:00.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:00.785 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:00.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:00.842 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c8c060d7-6a34-4702-975e-131591819207] [error="context canceled"] [2025/04/05 23:46:00.842 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:00.842 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:00.858 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.046669ms] [2025/04/05 23:46:00.860 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:00.860 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:00.860 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:00.860 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:00.860 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:00.860 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:00.860 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:00.860 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:00.860 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:00.860 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-30] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:00.860 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:00.860 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:00.861 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadCompatibility (4.69s) === NAME === RUN TestStaleReadNoExtraTSORequest [2025/04/05 23:46:00.868 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:00.869 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:00.869 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:00.870 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:00.870 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:00.870 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:00.870 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:00.870 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:00.870 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:00.871 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:00.871 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:00.874 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:00.879 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:00.879 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:00.880 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:00.889 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:00.898 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:00.932 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1674] ["lease id"=3eaa960856613274] [2025/04/05 23:46:00.933 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:01.022 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=339] ["elapsed time"=86.970206ms] [2025/04/05 23:46:01.022 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:01.024 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:01.030 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:01.030 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:01.032 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:01.032 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:01.033 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182511939584/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:01.033 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:01.033 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:01.033 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [2025/04/05 23:46:01.035 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613394] [ownerID=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [op=none] [2025/04/05 23:46:01.035 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:01.035 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [ownerKey=/tidb/ddl/fg/owner/2231960856613394] [currRev=1555] [2025/04/05 23:46:01.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:01.035 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:01.036 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960856613396] [ownerID=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [op=none] [2025/04/05 23:46:01.036 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [2025/04/05 23:46:01.036 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [ownerKey=/tidb/br-stream/owner/2231960856613396] [currRev=1555] [2025/04/05 23:46:01.036 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:01.037 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613394] [ownerID=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [op=none] [2025/04/05 23:46:01.037 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [op=none] [2025/04/05 23:46:01.037 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:01.041 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleReadNoExtraTSORequest\n\ttests/realtikvtest/txntest/stale_read_test.go:1301\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:01.041 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:01.042 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:01.042 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:01.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:01.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:01.061 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:01.061 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:01.061 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:01.061 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:01.061 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:01.061 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:01.061 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:01.061 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:01.061 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:01.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:01.062 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:01.063 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:01.063 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:01.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:01.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:01.064 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:01.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:01.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:01.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:01.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:01.066 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:01.067 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/97cce5cd-822b-4be3-aa10-f28624a92df2] [2025/04/05 23:46:01.068 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [ttl-worker=task-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [originalCount=0] [newCount=4] [2025/04/05 23:46:01.068 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [ttl-worker=task-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [originalCount=0] [newCount=4] [2025/04/05 23:46:01.068 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:01.069 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:01.070 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:01.070 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:01.070 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896761070466893 [2025/04/05 23:46:01.076 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:01.083 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.608712ms] [2025/04/05 23:46:01.083 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:01.083 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:01.090 +00:00] [INFO] [set.go:172] ["set global var"] [conn=67] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896761091653770 [2025/04/05 23:46:01.097 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=68] [schemaVersion=339] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:01.110 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:01.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:01.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:312, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:01.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int);"] [2025/04/05 23:46:01.115 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=312] [conn=68] [job="ID:312, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:01.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:01.119 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 311, Table Name: t)"] [2025/04/05 23:46:01.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=1.241887ms] [gotSchemaVersion=340] [phyTblIDs="[311]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:01.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=312] [version=340] [2025/04/05 23:46:01.136 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=7.942665ms] [job="ID:312, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:01.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:01.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=312] [conn=68] [job="ID:312, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:01.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:01.157 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=312] [2025/04/05 23:46:01.157 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=68] [schemaVersion=340] [cur_db=test] [sql="create table t (id int);"] [user=] [2025/04/05 23:46:02.040 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:02.040 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:02.040 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:02.040 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:02.068 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:02.068 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:02.068 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/97cce5cd-822b-4be3-aa10-f28624a92df2] [watcherID=58c4a978-8726-46b8-96e2-ab4add3614e1] [2025/04/05 23:46:02.070 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:02.074 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:02.075 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:02.075 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:02.074 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:02.874 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:46:03.033 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:46:04.048 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:04.165 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=68] [SnapshotTS=457152072777728000] [2025/04/05 23:46:04.166 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=68] [schemaVersion=340] [2025/04/05 23:46:04.174 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=68] [SnapshotTS=457152072777728000] [2025/04/05 23:46:04.178 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=849ms] [requiredStaleness=949ms] [prevState=normal] [newState=adapting] [2025/04/05 23:46:04.181 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [] [2025/04/05 23:46:04.181 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:04.181 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:04.181 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.181 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:04.181 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:04.181 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 140, tp general"] ["take time"=50.924µs] [2025/04/05 23:46:04.181 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.181 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.182 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:04.182 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:04.182 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] ["take time"=1.729088ms] [2025/04/05 23:46:04.182 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.182 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:04.182 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:04.182 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/97cce5cd-822b-4be3-aa10-f28624a92df2] [watcherID=58c4a978-8726-46b8-96e2-ab4add3614e1] [2025/04/05 23:46:04.183 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/97cce5cd-822b-4be3-aa10-f28624a92df2] [2025/04/05 23:46:04.183 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [ttl-worker=task-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [originalCount=4] [newCount=0] [2025/04/05 23:46:04.183 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:04.183 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:04.183 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:04.183 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:04.183 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [ttl-worker=task-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [originalCount=4] [newCount=0] [2025/04/05 23:46:04.185 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:04.185 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:04.186 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:04.191 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:04.193 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.193 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1674] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:04.194 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [] [2025/04/05 23:46:04.194 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.195 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:04.195 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:04.195 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:04.195 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:04.194 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:04.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:04.195 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:04.195 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:04.195 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:04.194 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:04.195 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:04.196 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.196 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:04.196 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:04.196 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:04.196 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:04.196 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:04.196 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=be4710a8-b068-4acb-9d4a-87b2121ca2a2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:04.196 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [error="context canceled"] [2025/04/05 23:46:04.196 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:04.196 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:04.196 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:04.196 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.196 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:04.196 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:04.196 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:04.196 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:04.196 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [error="context canceled"] [2025/04/05 23:46:04.196 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:04.197 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:04.197 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:04.197 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [error="context canceled"] [2025/04/05 23:46:04.197 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [2025/04/05 23:46:04.197 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [error="context canceled"] [2025/04/05 23:46:04.198 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=994b6941-b2e5-48ca-9d06-2eabe6d7f56d] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:04.255 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:04.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:04.265 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.960066ms] [2025/04/05 23:46:04.268 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:04.268 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:04.268 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:04.268 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:04.268 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:04.268 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:04.268 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:04.268 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:04.268 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:04.268 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-31] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:04.268 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:04.268 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:04.269 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadNoExtraTSORequest (3.41s) === NAME === RUN TestPlanCacheWithStaleReadByBinaryProto [2025/04/05 23:46:04.276 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:04.277 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:04.277 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:04.278 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:04.278 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:04.278 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:04.278 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:04.278 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:04.278 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:04.279 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:04.279 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:04.282 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:04.287 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:04.287 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:04.288 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:04.296 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:04.305 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:04.339 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=246] ["lease id"=22319608566133b0] [2025/04/05 23:46:04.340 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:04.423 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=340] ["elapsed time"=80.66083ms] [2025/04/05 23:46:04.424 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:04.426 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:04.431 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=49b48851-b763-499d-b35f-0f92c547a697] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:04.431 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:04.433 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:04.434 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:04.434 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182511968256/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:04.434 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:04.434 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:04.435 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:04.435 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [2025/04/05 23:46:04.436 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566133b5] [ownerID=49b48851-b763-499d-b35f-0f92c547a697] [op=none] [2025/04/05 23:46:04.436 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:04.436 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [ownerKey=/tidb/ddl/fg/owner/22319608566133b5] [currRev=1577] [2025/04/05 23:46:04.437 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:04.437 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:04.437 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:04.437 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189608566134b1] [ownerID=60c0daf1-29ef-457b-aa7b-3013416fb96a] [op=none] [2025/04/05 23:46:04.437 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [2025/04/05 23:46:04.438 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [ownerKey=/tidb/br-stream/owner/6f189608566134b1] [currRev=1578] [2025/04/05 23:46:04.438 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566133b5] [ownerID=49b48851-b763-499d-b35f-0f92c547a697] [op=none] [2025/04/05 23:46:04.438 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [op=none] [2025/04/05 23:46:04.438 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:04.442 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:04.442 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:04.443 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:04.443 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:04.451 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:04.457 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:04.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:04.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:04.461 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:04.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:04.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:04.461 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:04.461 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:04.461 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:04.461 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:04.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:04.462 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:04.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:04.464 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:04.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:04.466 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:04.468 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1405b6ba-0370-4300-9b5d-0c7464bc2cd4] [2025/04/05 23:46:04.468 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:04.468 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [ttl-worker=task-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [originalCount=0] [newCount=4] [2025/04/05 23:46:04.468 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [ttl-worker=task-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [originalCount=0] [newCount=4] [2025/04/05 23:46:04.468 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:04.468 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:04.468 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:04.469 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896764469148238 [2025/04/05 23:46:04.474 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:04.483 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.098766ms] [2025/04/05 23:46:04.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:04.483 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:04.488 +00:00] [INFO] [set.go:172] ["set global var"] [conn=69] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:04.499 +00:00] [INFO] [set.go:172] ["set global var"] [conn=69] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:04.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=69] [schemaVersion=340] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:04.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:04.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:04.520 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=69] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=1.676325ms] [gotSchemaVersion=341] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:04.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=341] [2025/04/05 23:46:04.540 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=341] ["take time"=9.08537ms] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.550 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=69] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=1.551601ms] [gotSchemaVersion=342] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:04.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=342] [2025/04/05 23:46:04.569 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=342] ["take time"=8.063569ms] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.577 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=69] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.583 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 311, Old Table Name: t)"] [2025/04/05 23:46:04.595 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=939.541µs] [gotSchemaVersion=343] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:04.599 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=343] [2025/04/05 23:46:04.600 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=343] ["take time"=7.533632ms] [job="ID:313, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.609 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=313] [tableIDs="[311]"] [comment="drop table: table ID"] [2025/04/05 23:46:04.616 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="drop table"] [2025/04/05 23:46:04.617 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=69] [job="ID:313, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.634 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/05 23:46:04.634 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=69] [schemaVersion=343] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896764634879119 [2025/04/05 23:46:04.649 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:04.649 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:315, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (id int primary key, v int)"] [2025/04/05 23:46:04.655 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=315] [conn=70] [job="ID:315, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:314, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:04.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.659 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 314, Table Name: t1)"] [2025/04/05 23:46:04.673 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=1.599328ms] [gotSchemaVersion=344] [phyTblIDs="[314]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:04.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=315] [version=344] [2025/04/05 23:46:04.678 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=8.685812ms] [job="ID:315, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:04.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.694 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=315] [conn=70] [job="ID:315, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:314, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:04.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:04.705 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=315] [2025/04/05 23:46:04.705 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=70] [schemaVersion=344] [cur_db=test] [sql="create table t1 (id int primary key, v int)"] [user=] [2025/04/05 23:46:04.707 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152073482371079] [2025/04/05 23:46:05.442 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:05.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:05.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:05.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:05.468 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:05.469 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:05.469 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1405b6ba-0370-4300-9b5d-0c7464bc2cd4] [watcherID=ec0379ba-6c20-4cc0-98e7-84e245d07182] [2025/04/05 23:46:05.469 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:05.474 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:05.474 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:05.474 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:05.474 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:05.815 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=881ms] [requiredStaleness=981ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:46:05.827 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=70] [SnapshotTS=457152073514090496] [2025/04/05 23:46:05.829 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:05.829 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [] [2025/04/05 23:46:05.829 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.829 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:05.829 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:05.829 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:05.829 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 141, tp general"] ["take time"=54.865µs] [2025/04/05 23:46:05.829 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 142, tp general"] ["take time"=38.07µs] [2025/04/05 23:46:05.829 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.829 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.830 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:05.830 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:05.831 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=49b48851-b763-499d-b35f-0f92c547a697] ["take time"=2.5622ms] [2025/04/05 23:46:05.831 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.831 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:05.831 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1405b6ba-0370-4300-9b5d-0c7464bc2cd4] [watcherID=ec0379ba-6c20-4cc0-98e7-84e245d07182] [2025/04/05 23:46:05.831 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:05.831 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1405b6ba-0370-4300-9b5d-0c7464bc2cd4] [2025/04/05 23:46:05.831 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [ttl-worker=task-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [originalCount=4] [newCount=0] [2025/04/05 23:46:05.831 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:05.831 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:05.831 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:05.831 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:05.832 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [ttl-worker=task-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [originalCount=4] [newCount=0] [2025/04/05 23:46:05.834 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:05.834 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:05.834 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:05.834 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:05.836 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.836 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=246] [2025/04/05 23:46:05.837 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:05.837 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:05.837 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:05.837 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:05.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:05.838 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:05.838 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:05.838 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:05.838 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:05.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:05.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:05.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:05.837 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:05.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:05.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:05.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:05.837 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:05.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:05.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:05.838 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:05.839 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:05.839 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:05.839 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:05.839 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [error="context canceled"] [2025/04/05 23:46:05.839 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=60c0daf1-29ef-457b-aa7b-3013416fb96a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:05.839 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.839 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:05.839 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:05.839 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:05.839 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [error="context canceled"] [2025/04/05 23:46:05.839 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:05.839 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:05.839 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:05.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:05.840 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [error="context canceled"] [2025/04/05 23:46:05.840 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [2025/04/05 23:46:05.855 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:05.855 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:05.901 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=49b48851-b763-499d-b35f-0f92c547a697] [error="context canceled"] [2025/04/05 23:46:05.901 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:05.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:05.912 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.104817ms] [2025/04/05 23:46:05.914 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:05.914 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:05.914 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:05.914 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:05.914 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:05.914 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:05.914 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:05.914 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:05.914 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:05.914 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:05.914 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-32] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:05.914 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:05.915 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPlanCacheWithStaleReadByBinaryProto (1.65s) === NAME === RUN TestStalePrepare [2025/04/05 23:46:05.921 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:05.922 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:05.923 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:05.923 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:05.923 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:05.923 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:05.923 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:05.923 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:05.923 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:05.924 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:05.924 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:05.928 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:05.932 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:05.933 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:05.933 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:05.942 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:05.951 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:05.985 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1633] ["lease id"=3eaa9608566132c0] [2025/04/05 23:46:05.986 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:06.079 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=344] ["elapsed time"=90.229088ms] [2025/04/05 23:46:06.079 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:06.082 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:06.090 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=19de1787-7f12-4d4c-beae-edf4676d2f8c] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:06.090 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:06.092 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:06.093 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:06.093 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182514610176/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:06.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:06.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:06.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:06.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:06.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:06.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:06.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:06.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:06.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:06.094 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:06.094 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:06.094 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:06.094 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [2025/04/05 23:46:06.098 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566134d2] [ownerID=19de1787-7f12-4d4c-beae-edf4676d2f8c] [op=none] [2025/04/05 23:46:06.098 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:06.099 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:06.099 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [ownerKey=/tidb/ddl/fg/owner/6f189608566134d2] [currRev=1610] [2025/04/05 23:46:06.099 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:06.100 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:06.101 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566134d2] [ownerID=19de1787-7f12-4d4c-beae-edf4676d2f8c] [op=none] [2025/04/05 23:46:06.101 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [op=none] [2025/04/05 23:46:06.101 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:06.104 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStalePrepare\n\ttests/realtikvtest/txntest/stale_read_test.go:1384\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:06.104 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:06.114 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:06.114 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:06.115 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319608566133d2] [ownerID=a1d53bd8-0497-4976-bdba-dc32144ac03b] [op=none] [2025/04/05 23:46:06.115 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [2025/04/05 23:46:06.116 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [ownerKey=/tidb/br-stream/owner/22319608566133d2] [currRev=1611] [2025/04/05 23:46:06.125 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:06.134 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:06.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:06.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:06.140 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:06.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:06.140 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:06.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:06.140 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:06.140 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:06.140 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:06.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:06.142 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:06.143 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:06.143 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:06.143 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:06.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:06.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:06.144 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:06.147 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:06.148 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/386d0682-0ff3-4aa2-99cf-62e0e11a5b6c] [2025/04/05 23:46:06.149 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [ttl-worker=task-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [originalCount=0] [newCount=4] [2025/04/05 23:46:06.149 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [ttl-worker=task-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [originalCount=0] [newCount=4] [2025/04/05 23:46:06.149 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:06.149 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:06.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:06.150 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:06.150 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896766150672188 [2025/04/05 23:46:06.158 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:06.165 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.730848ms] [2025/04/05 23:46:06.165 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:06.165 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:06.166 +00:00] [INFO] [set.go:172] ["set global var"] [conn=71] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:06.223 +00:00] [INFO] [set.go:172] ["set global var"] [conn=71] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:06.226 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=71] [schemaVersion=344] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:46:06.241 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:06.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:46:06.248 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=71] [job="ID:316, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:314, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=2.303919ms] [gotSchemaVersion=345] [phyTblIDs="[314]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:06.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=345] [2025/04/05 23:46:06.274 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=345] ["take time"=10.992594ms] [job="ID:316, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=71] [job="ID:316, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:314, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=2.500691ms] [gotSchemaVersion=346] [phyTblIDs="[314]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:06.327 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=346] [2025/04/05 23:46:06.330 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=346] ["take time"=11.294053ms] [job="ID:316, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=71] [job="ID:316, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:314, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.347 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 314, Old Table Name: t1)"] [2025/04/05 23:46:06.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=1.063329ms] [gotSchemaVersion=347] [phyTblIDs="[314]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:06.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=347] [2025/04/05 23:46:06.371 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=347] ["take time"=8.86015ms] [job="ID:316, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.380 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=316] [tableIDs="[314]"] [comment="drop table: table ID"] [2025/04/05 23:46:06.416 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="drop table"] [2025/04/05 23:46:06.417 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=71] [job="ID:316, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:314, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.438 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/05 23:46:06.439 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=71] [schemaVersion=347] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896766439316979 [2025/04/05 23:46:06.442 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=72] [schemaVersion=347] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:06.458 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:46:06.458 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:06.464 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=72] [job="ID:318, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:06.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.470 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 317, Table Name: t)"] [2025/04/05 23:46:06.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=1.254362ms] [gotSchemaVersion=348] [phyTblIDs="[317]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:06.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=348] [2025/04/05 23:46:06.492 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=348] ["take time"=9.44403ms] [job="ID:318, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:06.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.503 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=72] [job="ID:318, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:06.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:06.520 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/05 23:46:06.520 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=72] [schemaVersion=348] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:46:06.721 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=100ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:46:06.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074072195074] [2025/04/05 23:46:07.101 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:07.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:07.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:07.102 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:07.149 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:07.149 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:07.149 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/386d0682-0ff3-4aa2-99cf-62e0e11a5b6c] [watcherID=8f9e5d60-ac16-4c2a-b82e-57d88d588847] [2025/04/05 23:46:07.150 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:07.155 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:07.155 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:07.155 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:07.155 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:07.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074124623884] [2025/04/05 23:46:07.366 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074177052679] [2025/04/05 23:46:07.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074229481475] [2025/04/05 23:46:07.791 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074295279617] [2025/04/05 23:46:08.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074347446275] [2025/04/05 23:46:08.094 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:46:08.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074400137219] [2025/04/05 23:46:08.426 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074452303875] [2025/04/05 23:46:08.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074504732678] [2025/04/05 23:46:08.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074570268675] [2025/04/05 23:46:09.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074622959619] [2025/04/05 23:46:09.120 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:09.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074675126275] [2025/04/05 23:46:09.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074727817220] [2025/04/05 23:46:09.689 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074780246022] [2025/04/05 23:46:09.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074845782018] [2025/04/05 23:46:10.108 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074897948680] [2025/04/05 23:46:10.318 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152074950377475] [2025/04/05 23:46:10.528 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152075002806275] [2025/04/05 23:46:10.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152075055235076] [2025/04/05 23:46:10.959 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:319, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:10.959 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:319, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:46:10.965 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=319] [conn=72] [job="ID:319, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:10.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.658927ms] [gotSchemaVersion=349] [phyTblIDs="[317]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:10.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=319] [version=349] [2025/04/05 23:46:10.985 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=349] ["take time"=9.0298ms] [job="ID:319, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:10.994 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=319] [conn=72] [job="ID:319, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.008 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=1.537347ms] [gotSchemaVersion=350] [phyTblIDs="[317]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:11.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=319] [version=350] [2025/04/05 23:46:11.013 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=350] ["take time"=8.306002ms] [job="ID:319, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.022 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=319] [conn=72] [job="ID:319, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.027 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 317, Old Table Name: t)"] [2025/04/05 23:46:11.039 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=1.019094ms] [gotSchemaVersion=351] [phyTblIDs="[317]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:11.043 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=319] [version=351] [2025/04/05 23:46:11.045 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=8.139004ms] [job="ID:319, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.053 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=319] [tableIDs="[317]"] [comment="drop table: table ID"] [2025/04/05 23:46:11.058 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=319] [jobType="drop table"] [2025/04/05 23:46:11.059 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=319] [conn=72] [job="ID:319, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:10.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=319] [2025/04/05 23:46:11.075 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=72] [schemaVersion=351] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:11.075 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:11.076 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:11.076 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [] [2025/04/05 23:46:11.076 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.076 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:11.076 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:11.076 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 143, tp general"] ["take time"=52.948µs] [2025/04/05 23:46:11.076 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 144, tp general"] ["take time"=35.752µs] [2025/04/05 23:46:11.076 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 145, tp general"] ["take time"=22.832µs] [2025/04/05 23:46:11.076 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.076 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.077 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:11.077 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:11.078 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=19de1787-7f12-4d4c-beae-edf4676d2f8c] ["take time"=2.588179ms] [2025/04/05 23:46:11.078 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.078 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:11.078 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:11.078 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/386d0682-0ff3-4aa2-99cf-62e0e11a5b6c] [watcherID=8f9e5d60-ac16-4c2a-b82e-57d88d588847] [2025/04/05 23:46:11.078 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/386d0682-0ff3-4aa2-99cf-62e0e11a5b6c] [2025/04/05 23:46:11.078 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [ttl-worker=task-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [originalCount=4] [newCount=0] [2025/04/05 23:46:11.078 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:11.078 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:11.078 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:11.078 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:11.079 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [ttl-worker=task-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [originalCount=4] [newCount=0] [2025/04/05 23:46:11.081 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:11.081 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:11.081 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:11.082 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:11.084 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.084 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1633] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:11.085 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:11.085 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:11.085 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:11.085 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:11.085 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:11.085 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:11.085 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:11.085 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:11.086 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:11.086 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:11.086 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.086 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:11.086 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:11.086 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:11.086 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:11.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:11.087 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [error="context canceled"] [2025/04/05 23:46:11.087 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.087 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=a1d53bd8-0497-4976-bdba-dc32144ac03b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:11.087 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:11.087 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:11.087 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:11.087 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:11.087 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:11.087 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:11.087 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [error="context canceled"] [2025/04/05 23:46:11.087 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:11.087 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:11.087 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:11.087 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:11.088 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [error="context canceled"] [2025/04/05 23:46:11.088 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [2025/04/05 23:46:11.088 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:11.088 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:11.146 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=19de1787-7f12-4d4c-beae-edf4676d2f8c] [error="context canceled"] [2025/04/05 23:46:11.146 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:11.146 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:11.157 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.836162ms] [2025/04/05 23:46:11.160 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:11.160 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:11.160 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:11.160 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:11.160 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:11.160 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:11.160 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:11.160 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:11.160 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-33] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:11.160 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:11.160 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:11.160 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:11.161 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStalePrepare (5.25s) === NAME === RUN TestStaleTSO [2025/04/05 23:46:11.168 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:11.169 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:11.170 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:11.170 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:11.170 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:11.170 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:11.170 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:11.171 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:11.171 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:11.171 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:11.171 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:11.175 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:11.180 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:11.181 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:11.182 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:11.191 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:11.201 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:11.235 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1297] ["lease id"=22319608566133f1] [2025/04/05 23:46:11.237 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:11.320 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=351] ["elapsed time"=80.281738ms] [2025/04/05 23:46:11.321 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:11.323 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:11.328 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a82ee703-7054-406f-8f95-f47e549015c0] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:11.328 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:11.330 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:11.331 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:11.331 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182685335552/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:11.331 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:11.331 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:11.332 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [2025/04/05 23:46:11.333 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566133f6] [ownerID=a82ee703-7054-406f-8f95-f47e549015c0] [op=none] [2025/04/05 23:46:11.333 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:11.333 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [ownerKey=/tidb/ddl/fg/owner/22319608566133f6] [currRev=1648] [2025/04/05 23:46:11.334 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:11.334 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:11.334 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189608566134f8] [ownerID=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [op=none] [2025/04/05 23:46:11.334 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [2025/04/05 23:46:11.334 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [ownerKey=/tidb/br-stream/owner/6f189608566134f8] [currRev=1649] [2025/04/05 23:46:11.334 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:11.335 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566133f6] [ownerID=a82ee703-7054-406f-8f95-f47e549015c0] [op=none] [2025/04/05 23:46:11.335 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [op=none] [2025/04/05 23:46:11.335 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:11.339 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleTSO\n\ttests/realtikvtest/txntest/stale_read_test.go:1411\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:11.339 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:11.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:11.340 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:11.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:11.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:11.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:11.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:11.358 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:11.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:11.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:11.358 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:11.358 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:11.358 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:11.358 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:11.359 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:11.359 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:11.360 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:11.360 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:11.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:11.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:11.361 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:11.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:11.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:11.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:11.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:11.362 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:11.365 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f4a1c00a-8671-4411-b8f2-03ce47c2bbb3] [2025/04/05 23:46:11.365 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [ttl-worker=task-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [originalCount=0] [newCount=4] [2025/04/05 23:46:11.365 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:11.365 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [ttl-worker=task-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [originalCount=0] [newCount=4] [2025/04/05 23:46:11.365 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:11.365 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:11.365 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:11.365 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896771365834636 [2025/04/05 23:46:11.375 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:11.384 +00:00] [INFO] [set.go:172] ["set global var"] [conn=73] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:11.385 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.243424ms] [2025/04/05 23:46:11.385 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:11.385 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] testkit.go:123: RefreshSession rand seed: 1743896771386361692 [2025/04/05 23:46:11.408 +00:00] [INFO] [set.go:172] ["set global var"] [conn=74] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:11.411 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=74] [schemaVersion=351] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:11.424 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:11.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:46:11.424 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:11.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:11.430 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=74] [job="ID:321, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:320, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:11.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.435 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 320, Table Name: t)"] [2025/04/05 23:46:11.448 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=1.253596ms] [gotSchemaVersion=352] [phyTblIDs="[320]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:11.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=352] [2025/04/05 23:46:11.453 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=352] ["take time"=8.405101ms] [job="ID:321, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:11.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.463 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=74] [job="ID:321, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:320, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:11.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:11.474 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/05 23:46:11.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=74] [schemaVersion=352] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:46:12.340 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:12.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:12.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:12.340 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:12.365 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:12.365 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:12.365 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:12.366 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f4a1c00a-8671-4411-b8f2-03ce47c2bbb3] [watcherID=05a83e00-edfa-4863-80ef-a6340501d1f4] [2025/04/05 23:46:12.371 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:12.371 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:12.371 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:12.371 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:12.517 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=3ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:46:12.546 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:322, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:12.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:322, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 23:46:12.552 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=322] [conn=74] [job="ID:322, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:320, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=2.246503ms] [gotSchemaVersion=353] [phyTblIDs="[320]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:12.576 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=322] [version=353] [2025/04/05 23:46:12.578 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=12.068294ms] [job="ID:322, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=322] [conn=74] [job="ID:322, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:320, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.650079ms] [gotSchemaVersion=354] [phyTblIDs="[320]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:12.608 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=322] [version=354] [2025/04/05 23:46:12.610 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=354] ["take time"=9.130398ms] [job="ID:322, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.618 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=322] [conn=74] [job="ID:322, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:320, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.624 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 320, Old Table Name: t)"] [2025/04/05 23:46:12.637 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=992.628µs] [gotSchemaVersion=355] [phyTblIDs="[320]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:12.640 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=322] [version=355] [2025/04/05 23:46:12.642 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=355] ["take time"=8.176277ms] [job="ID:322, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.652 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=322] [tableIDs="[320]"] [comment="drop table: table ID"] [2025/04/05 23:46:12.659 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=322] [jobType="drop table"] [2025/04/05 23:46:12.660 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=322] [conn=74] [job="ID:322, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:320, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:12.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:12.680 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=322] [2025/04/05 23:46:12.680 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=74] [schemaVersion=355] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:12.680 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:12.680 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [] [2025/04/05 23:46:12.680 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.680 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:12.680 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:12.680 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:12.681 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 146, tp general"] ["take time"=59.225µs] [2025/04/05 23:46:12.681 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 147, tp general"] ["take time"=42.997µs] [2025/04/05 23:46:12.681 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.681 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.682 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:12.682 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:12.683 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a82ee703-7054-406f-8f95-f47e549015c0] ["take time"=2.871011ms] [2025/04/05 23:46:12.683 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.683 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:12.683 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f4a1c00a-8671-4411-b8f2-03ce47c2bbb3] [watcherID=05a83e00-edfa-4863-80ef-a6340501d1f4] [2025/04/05 23:46:12.683 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:12.683 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f4a1c00a-8671-4411-b8f2-03ce47c2bbb3] [2025/04/05 23:46:12.683 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [ttl-worker=task-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [originalCount=4] [newCount=0] [2025/04/05 23:46:12.683 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:12.683 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:12.683 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:12.683 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:12.684 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [ttl-worker=task-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [originalCount=4] [newCount=0] [2025/04/05 23:46:12.686 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:12.686 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:12.686 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:12.686 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:12.688 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.689 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1297] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:12.690 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:12.690 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:12.690 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:12.690 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:12.691 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:12.690 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:12.690 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.691 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:12.691 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:12.691 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:12.691 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:12.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:12.691 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [error="context canceled"] [2025/04/05 23:46:12.691 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.691 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:12.691 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:12.691 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:12.692 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:12.692 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:12.692 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e813f44a-a81b-44b2-824f-13bcdfe07bf6] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:12.692 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:12.692 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [error="context canceled"] [2025/04/05 23:46:12.692 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:12.692 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:12.692 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:12.692 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:12.692 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [error="context canceled"] [2025/04/05 23:46:12.692 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [2025/04/05 23:46:12.693 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:12.693 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:12.755 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a82ee703-7054-406f-8f95-f47e549015c0] [error="context canceled"] [2025/04/05 23:46:12.755 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:12.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:12.772 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.866058ms] [2025/04/05 23:46:12.775 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:12.776 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:12.776 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:12.775 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:12.776 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:12.776 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:12.776 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:12.776 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:12.776 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:12.776 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-34] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:12.776 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:12.776 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:12.777 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleTSO (1.62s) === NAME === RUN TestStaleReadNoBackoff [2025/04/05 23:46:12.785 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:12.786 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:12.787 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:12.787 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:12.788 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:12.788 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:12.788 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:12.788 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:12.788 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:12.788 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:12.789 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:12.792 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:12.798 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:12.798 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:12.799 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:12.809 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:12.818 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:12.854 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=242] ["lease id"=2231960856613410] [2025/04/05 23:46:12.856 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:12.956 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=355] ["elapsed time"=97.031972ms] [2025/04/05 23:46:12.956 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:12.959 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:12.965 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:12.965 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:12.968 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:12.969 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:12.969 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182778494976/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:12.969 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:12.969 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:12.970 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:12.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:12.970 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:12.970 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [2025/04/05 23:46:12.971 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661331f] [ownerID=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [op=none] [2025/04/05 23:46:12.971 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:12.972 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [ownerKey=/tidb/ddl/fg/owner/3eaa96085661331f] [currRev=1679] [2025/04/05 23:46:12.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:12.973 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:12.973 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:12.973 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613511] [ownerID=0afb8c15-9444-406e-972e-0079b89bd0b1] [op=none] [2025/04/05 23:46:12.973 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [2025/04/05 23:46:12.973 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [ownerKey=/tidb/br-stream/owner/6f18960856613511] [currRev=1680] [2025/04/05 23:46:12.973 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661331f] [ownerID=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [op=none] [2025/04/05 23:46:12.974 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [op=none] [2025/04/05 23:46:12.974 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:12.978 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestStaleReadNoBackoff\n\ttests/realtikvtest/txntest/stale_read_test.go:1457\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:12.978 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:12.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:12.979 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:12.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:12.996 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:13.000 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:13.000 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:13.000 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:13.000 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:13.000 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:13.000 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:13.000 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:13.000 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:13.000 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:13.001 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:13.001 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:13.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:13.003 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:13.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:13.006 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:13.008 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:13.008 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/df80a966-3e50-4102-b019-5ba4995ef969] [2025/04/05 23:46:13.008 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [ttl-worker=task-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [originalCount=0] [newCount=4] [2025/04/05 23:46:13.008 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [ttl-worker=task-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [originalCount=0] [newCount=4] [2025/04/05 23:46:13.008 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:13.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:13.009 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:13.009 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896773009814990 [2025/04/05 23:46:13.014 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:13.020 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.109693ms] [2025/04/05 23:46:13.021 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:13.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:13.030 +00:00] [INFO] [set.go:172] ["set global var"] [conn=75] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743896773032313325 [2025/04/05 23:46:13.044 +00:00] [INFO] [set.go:172] ["set global var"] [conn=76] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:13.047 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=76] [schemaVersion=355] [cur_db=test] [sql="drop table if exists t;"] [user=] [2025/04/05 23:46:13.062 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:324, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:13.062 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:324, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key)"] [2025/04/05 23:46:13.069 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=324] [conn=76] [job="ID:324, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:323, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:13.074 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 323, Table Name: t)"] [2025/04/05 23:46:13.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=1.382438ms] [gotSchemaVersion=356] [phyTblIDs="[323]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:13.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=324] [version=356] [2025/04/05 23:46:13.099 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=356] ["take time"=10.749112ms] [job="ID:324, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:13.112 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=324] [conn=76] [job="ID:324, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:323, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:13.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=324] [2025/04/05 23:46:13.124 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=76] [schemaVersion=356] [cur_db=test] [sql="create table t (id int primary key)"] [user=] [2025/04/05 23:46:13.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152075684380684] [2025/04/05 23:46:13.978 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:13.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:13.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:13.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:14.008 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:14.008 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:14.008 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/df80a966-3e50-4102-b019-5ba4995ef969] [watcherID=0110fdd1-7b61-47dc-a7f0-2fa441e67e69] [2025/04/05 23:46:14.009 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:14.014 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:14.014 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:14.014 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:14.014 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:14.131 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=862ms] [requiredStaleness=962ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 23:46:14.141 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [] [2025/04/05 23:46:14.141 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:14.141 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:14.141 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.141 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:14.141 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:14.141 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 148, tp general"] ["take time"=90.044µs] [2025/04/05 23:46:14.141 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.142 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.143 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:14.143 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:14.144 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c1862ddb-a705-4ef0-8b5e-f273aa90430e] ["take time"=3.156162ms] [2025/04/05 23:46:14.144 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.144 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:14.144 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/df80a966-3e50-4102-b019-5ba4995ef969] [watcherID=0110fdd1-7b61-47dc-a7f0-2fa441e67e69] [2025/04/05 23:46:14.144 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:14.144 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/df80a966-3e50-4102-b019-5ba4995ef969] [2025/04/05 23:46:14.144 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [ttl-worker=task-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [originalCount=4] [newCount=0] [2025/04/05 23:46:14.144 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:14.144 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:14.144 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:14.144 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:14.145 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [ttl-worker=task-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [originalCount=4] [newCount=0] [2025/04/05 23:46:14.147 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:14.147 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:14.147 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:14.148 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:14.150 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.150 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:14.151 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=242] [2025/04/05 23:46:14.151 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:14.151 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:14.152 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:14.152 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:14.152 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:14.152 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:14.152 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:14.152 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:14.153 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:14.153 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:14.153 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:14.153 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:14.153 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [error="context canceled"] [2025/04/05 23:46:14.153 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.154 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:14.153 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:14.154 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:14.154 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:14.154 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0afb8c15-9444-406e-972e-0079b89bd0b1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:14.154 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:14.154 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:14.154 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [error="context canceled"] [2025/04/05 23:46:14.154 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:14.154 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:14.154 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:14.154 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:14.155 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [error="context canceled"] [2025/04/05 23:46:14.155 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [2025/04/05 23:46:14.155 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [error="context canceled"] [2025/04/05 23:46:14.155 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c1862ddb-a705-4ef0-8b5e-f273aa90430e] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:14.172 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:14.172 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:14.212 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:14.212 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:14.224 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.554163ms] [2025/04/05 23:46:14.228 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:14.228 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:14.228 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:14.228 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:14.228 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:14.228 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:14.228 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:14.228 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:14.228 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:14.228 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:14.228 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-35] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:14.228 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:14.229 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadNoBackoff (1.45s) === NAME === RUN TestStaleReadAllCombinations [2025/04/05 23:46:14.236 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:14.237 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:14.237 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:14.238 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:14.238 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:14.238 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:14.238 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:14.238 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:14.238 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:14.239 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:14.240 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:14.244 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:14.250 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:14.251 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:14.251 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:14.260 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:14.270 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:14.304 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1836] ["lease id"=3eaa96085661333b] [2025/04/05 23:46:14.306 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:14.401 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=356] ["elapsed time"=93.242645ms] [2025/04/05 23:46:14.402 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:14.404 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:14.409 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:14.409 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:14.411 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:14.412 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:14.412 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 182864650240/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:14.412 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:14.412 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:14.412 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [2025/04/05 23:46:14.414 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613529] [ownerID=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [op=none] [2025/04/05 23:46:14.414 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:14.415 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [ownerKey=/tidb/ddl/fg/owner/6f18960856613529] [currRev=1702] [2025/04/05 23:46:14.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:14.415 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:14.416 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:14.416 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/2231960856613430] [ownerID=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [op=none] [2025/04/05 23:46:14.416 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [2025/04/05 23:46:14.416 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [ownerKey=/tidb/br-stream/owner/2231960856613430] [currRev=1703] [2025/04/05 23:46:14.417 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613529] [ownerID=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [op=none] [2025/04/05 23:46:14.417 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [op=none] [2025/04/05 23:46:14.417 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:14.422 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:14.422 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:14.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:14.423 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:14.436 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:14.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:14.452 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:14.452 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:14.452 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:14.452 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:14.452 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:14.452 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:14.452 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:14.452 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:14.452 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:14.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:14.454 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:14.455 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:14.455 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:14.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:14.455 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:14.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:14.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:14.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:14.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:14.458 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:14.460 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8be2465b-9157-4368-98d4-1625c8156d51] [2025/04/05 23:46:14.460 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [ttl-worker=task-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [originalCount=0] [newCount=4] [2025/04/05 23:46:14.460 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [ttl-worker=task-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [originalCount=0] [newCount=4] [2025/04/05 23:46:14.460 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:14.461 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:14.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:14.461 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:14.461 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896774461919518 [2025/04/05 23:46:14.468 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:14.474 +00:00] [INFO] [set.go:172] ["set global var"] [conn=77] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:14.475 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.347497ms] [2025/04/05 23:46:14.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:14.475 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:14.493 +00:00] [INFO] [set.go:172] ["set global var"] [conn=77] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:14.495 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=77] [schemaVersion=356] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:14.506 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:14.506 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:14.511 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=77] [job="ID:325, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:323, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.530 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.766469ms] [gotSchemaVersion=357] [phyTblIDs="[323]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:14.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=357] [2025/04/05 23:46:14.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=357] ["take time"=12.175189ms] [job="ID:325, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=77] [job="ID:325, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:323, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=1.637807ms] [gotSchemaVersion=358] [phyTblIDs="[323]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:14.573 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=358] [2025/04/05 23:46:14.575 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=358] ["take time"=8.834831ms] [job="ID:325, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.582 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=77] [job="ID:325, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:323, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.588 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 323, Old Table Name: t)"] [2025/04/05 23:46:14.599 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=891.409µs] [gotSchemaVersion=359] [phyTblIDs="[323]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:14.603 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=359] [2025/04/05 23:46:14.604 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=7.350349ms] [job="ID:325, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.612 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=325] [tableIDs="[323]"] [comment="drop table: table ID"] [2025/04/05 23:46:14.622 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=325] [jobType="drop table"] [2025/04/05 23:46:14.624 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=77] [job="ID:325, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:323, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.654 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/05 23:46:14.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=77] [schemaVersion=359] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896774655499673 [2025/04/05 23:46:14.667 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:14.673 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=78] [schemaVersion=359] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:14.686 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:14.686 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key, v int)"] [2025/04/05 23:46:14.692 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=78] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:14.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.697 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 326, Table Name: t)"] [2025/04/05 23:46:14.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=1.538917ms] [gotSchemaVersion=360] [phyTblIDs="[326]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:14.716 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=360] [2025/04/05 23:46:14.719 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=360] ["take time"=10.902055ms] [job="ID:327, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:14.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.739 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=78] [job="ID:327, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:14.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:14.755 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/05 23:46:14.756 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=78] [schemaVersion=360] [cur_db=test] [sql="create table t (id int primary key, v int)"] [user=] [2025/04/05 23:46:14.759 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152076117180421] [2025/04/05 23:46:15.424 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:15.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:15.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:15.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:15.461 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:15.461 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:15.461 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8be2465b-9157-4368-98d4-1625c8156d51] [watcherID=36199e70-814a-4bf8-8bed-7e14e2d6ace6] [2025/04/05 23:46:15.461 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:15.466 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:15.466 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:15.466 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:15.466 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:16.245 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:46:16.412 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:46:16.733 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa960856613347] [ownerID=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [op=none] [2025/04/05 23:46:16.733 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:16.733 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [ownerKey=/tidb/stats/owner/3eaa960856613347] [currRev=1721] [2025/04/05 23:46:16.765 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152076641206273] [2025/04/05 23:46:17.432 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] === RUN TestStaleReadAllCombinations/no_labels === RUN TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/tidb_read_staleness [2025/04/05 23:46:17.770 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=1.869s] [requiredStaleness=1.969s] [prevState=normal] [newState=adapting] --- PASS: TestStaleReadAllCombinations/no_labels/leader/tidb_read_staleness (0.01s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION [2025/04/05 23:46:17.784 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.785 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION (0.01s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/external_ts_read [2025/04/05 23:46:17.817 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324417] --- PASS: TestStaleReadAllCombinations/no_labels/leader/external_ts_read (0.03s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/tidb_snapshot [2025/04/05 23:46:17.825 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.826 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/leader/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/no_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.01s) === NAME TestStaleReadAllCombinations/no_labels/leader === RUN TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:17.840 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/no_labels/leader --- PASS: TestStaleReadAllCombinations/no_labels/leader (0.08s) === NAME TestStaleReadAllCombinations/no_labels === RUN TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/no_labels/follower/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION [2025/04/05 23:46:17.856 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.857 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/external_ts_read [2025/04/05 23:46:17.875 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324418] --- PASS: TestStaleReadAllCombinations/no_labels/follower/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/tidb_snapshot [2025/04/05 23:46:17.883 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.884 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/follower/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/no_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/no_labels/follower === RUN TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:17.892 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/no_labels/follower --- PASS: TestStaleReadAllCombinations/no_labels/follower (0.05s) === NAME TestStaleReadAllCombinations/no_labels === RUN TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION [2025/04/05 23:46:17.906 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.907 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/external_ts_read [2025/04/05 23:46:17.924 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324419] --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_snapshot [2025/04/05 23:46:17.931 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.932 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas === RUN TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:17.941 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-replicas --- PASS: TestStaleReadAllCombinations/no_labels/closest-replicas (0.05s) === NAME TestStaleReadAllCombinations/no_labels === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION [2025/04/05 23:46:17.953 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.954 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/external_ts_read [2025/04/05 23:46:17.980 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324420] --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/external_ts_read (0.03s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_snapshot [2025/04/05 23:46:17.987 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:17.988 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive === RUN TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:17.995 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/no_labels/closest-adaptive --- PASS: TestStaleReadAllCombinations/no_labels/closest-adaptive (0.05s) === NAME TestStaleReadAllCombinations/no_labels --- PASS: TestStaleReadAllCombinations/no_labels (0.23s) === NAME TestStaleReadAllCombinations === RUN TestStaleReadAllCombinations/with_DC_label === RUN TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION [2025/04/05 23:46:18.008 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.009 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/external_ts_read [2025/04/05 23:46:18.028 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324421] --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/tidb_snapshot [2025/04/05 23:46:18.035 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.037 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.01s) === NAME TestStaleReadAllCombinations/with_DC_label/leader === RUN TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.046 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/leader --- PASS: TestStaleReadAllCombinations/with_DC_label/leader (0.05s) === NAME TestStaleReadAllCombinations/with_DC_label === RUN TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION [2025/04/05 23:46:18.060 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.061 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/external_ts_read [2025/04/05 23:46:18.089 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324422] --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/external_ts_read (0.03s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/tidb_snapshot [2025/04/05 23:46:18.098 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.100 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/follower === RUN TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.108 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/follower --- PASS: TestStaleReadAllCombinations/with_DC_label/follower (0.06s) === NAME TestStaleReadAllCombinations/with_DC_label === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION [2025/04/05 23:46:18.122 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.122 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/external_ts_read [2025/04/05 23:46:18.144 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324423] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_snapshot [2025/04/05 23:46:18.150 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.151 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas === RUN TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.158 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-replicas --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-replicas (0.05s) === NAME TestStaleReadAllCombinations/with_DC_label === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION [2025/04/05 23:46:18.170 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.171 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/external_ts_read [2025/04/05 23:46:18.191 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324424] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_snapshot [2025/04/05 23:46:18.198 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.199 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.207 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.01s) === NAME TestStaleReadAllCombinations/with_DC_label/closest-adaptive --- PASS: TestStaleReadAllCombinations/with_DC_label/closest-adaptive (0.05s) === NAME TestStaleReadAllCombinations/with_DC_label --- PASS: TestStaleReadAllCombinations/with_DC_label (0.21s) === NAME TestStaleReadAllCombinations === RUN TestStaleReadAllCombinations/with_Zone_label === RUN TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION [2025/04/05 23:46:18.223 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.224 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/external_ts_read [2025/04/05 23:46:18.244 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324425] --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/tidb_snapshot [2025/04/05 23:46:18.253 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.254 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader === RUN TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.264 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION_then_BEGIN (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/leader --- PASS: TestStaleReadAllCombinations/with_Zone_label/leader (0.06s) === NAME TestStaleReadAllCombinations/with_Zone_label === RUN TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/tidb_read_staleness (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION [2025/04/05 23:46:18.283 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.284 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/external_ts_read [2025/04/05 23:46:18.303 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324426] --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/tidb_snapshot [2025/04/05 23:46:18.310 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.312 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower === RUN TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.320 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION_then_BEGIN (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/follower --- PASS: TestStaleReadAllCombinations/with_Zone_label/follower (0.06s) === NAME TestStaleReadAllCombinations/with_Zone_label === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION [2025/04/05 23:46:18.337 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.338 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/external_ts_read [2025/04/05 23:46:18.356 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324427] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_snapshot [2025/04/05 23:46:18.365 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.366 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.376 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-replicas --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-replicas (0.06s) === NAME TestStaleReadAllCombinations/with_Zone_label === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION [2025/04/05 23:46:18.392 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.393 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/external_ts_read [2025/04/05 23:46:18.412 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324428] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_snapshot [2025/04/05 23:46:18.418 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.420 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.429 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.01s) === NAME TestStaleReadAllCombinations/with_Zone_label/closest-adaptive --- PASS: TestStaleReadAllCombinations/with_Zone_label/closest-adaptive (0.05s) === NAME TestStaleReadAllCombinations/with_Zone_label --- PASS: TestStaleReadAllCombinations/with_Zone_label (0.22s) === NAME TestStaleReadAllCombinations === RUN TestStaleReadAllCombinations/with_Rack_label === RUN TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION [2025/04/05 23:46:18.445 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.446 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/external_ts_read [2025/04/05 23:46:18.466 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324429] --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/tidb_snapshot [2025/04/05 23:46:18.475 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.476 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader === RUN TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.483 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/leader --- PASS: TestStaleReadAllCombinations/with_Rack_label/leader (0.05s) === NAME TestStaleReadAllCombinations/with_Rack_label === RUN TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION [2025/04/05 23:46:18.498 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.499 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/external_ts_read [2025/04/05 23:46:18.517 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324430] --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/tidb_snapshot [2025/04/05 23:46:18.525 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.526 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower === RUN TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.534 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/follower --- PASS: TestStaleReadAllCombinations/with_Rack_label/follower (0.05s) === NAME TestStaleReadAllCombinations/with_Rack_label === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION [2025/04/05 23:46:18.547 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.548 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/external_ts_read [2025/04/05 23:46:18.567 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324431] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_snapshot [2025/04/05 23:46:18.576 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.577 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas === RUN TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.585 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-replicas --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-replicas (0.05s) === NAME TestStaleReadAllCombinations/with_Rack_label === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION [2025/04/05 23:46:18.598 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.599 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/external_ts_read [2025/04/05 23:46:18.615 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324432] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_snapshot [2025/04/05 23:46:18.621 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.622 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive === RUN TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.629 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_Rack_label/closest-adaptive --- PASS: TestStaleReadAllCombinations/with_Rack_label/closest-adaptive (0.04s) === NAME TestStaleReadAllCombinations/with_Rack_label --- PASS: TestStaleReadAllCombinations/with_Rack_label (0.20s) === NAME TestStaleReadAllCombinations === RUN TestStaleReadAllCombinations/with_multiple_labels === RUN TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION [2025/04/05 23:46:18.643 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.644 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/external_ts_read [2025/04/05 23:46:18.661 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324433] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_snapshot [2025/04/05 23:46:18.669 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.670 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.01s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader === RUN TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.681 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION_then_BEGIN (0.01s) === NAME TestStaleReadAllCombinations/with_multiple_labels/leader --- PASS: TestStaleReadAllCombinations/with_multiple_labels/leader (0.05s) === NAME TestStaleReadAllCombinations/with_multiple_labels === RUN TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION [2025/04/05 23:46:18.697 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.697 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/external_ts_read [2025/04/05 23:46:18.716 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324434] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_snapshot [2025/04/05 23:46:18.723 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.724 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower === RUN TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.733 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/follower --- PASS: TestStaleReadAllCombinations/with_multiple_labels/follower (0.05s) === NAME TestStaleReadAllCombinations/with_multiple_labels === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION [2025/04/05 23:46:18.746 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.746 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/external_ts_read [2025/04/05 23:46:18.774 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324435] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/external_ts_read (0.03s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_snapshot [2025/04/05 23:46:18.782 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.783 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.790 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-replicas --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-replicas (0.06s) === NAME TestStaleReadAllCombinations/with_multiple_labels === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_read_staleness --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_read_staleness (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION [2025/04/05 23:46:18.802 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.803 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/external_ts_read [2025/04/05 23:46:18.820 +00:00] [INFO] [set.go:172] ["set global var"] [conn=78] [name=tidb_external_ts] [val=457152076379324436] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/external_ts_read (0.02s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_snapshot [2025/04/05 23:46:18.826 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] [2025/04/05 23:46:18.827 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=78] [schemaVersion=360] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_snapshot (0.01s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive === RUN TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN [2025/04/05 23:46:18.834 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=78] [SnapshotTS=457152076254019584] --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.00s) === NAME TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive --- PASS: TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive (0.04s) === NAME TestStaleReadAllCombinations/with_multiple_labels --- PASS: TestStaleReadAllCombinations/with_multiple_labels (0.20s) === NAME TestStaleReadAllCombinations [2025/04/05 23:46:18.837 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:18.837 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [] [2025/04/05 23:46:18.838 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.837 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:18.838 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:18.838 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:18.838 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 149, tp general"] ["take time"=93.76µs] [2025/04/05 23:46:18.838 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 150, tp general"] ["take time"=72.493µs] [2025/04/05 23:46:18.838 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.838 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.839 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:18.839 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:18.841 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] ["take time"=4.066135ms] [2025/04/05 23:46:18.841 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.841 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:18.842 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:18.842 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8be2465b-9157-4368-98d4-1625c8156d51] [watcherID=36199e70-814a-4bf8-8bed-7e14e2d6ace6] [2025/04/05 23:46:18.842 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8be2465b-9157-4368-98d4-1625c8156d51] [2025/04/05 23:46:18.842 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [ttl-worker=task-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [originalCount=4] [newCount=0] [2025/04/05 23:46:18.842 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:18.842 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:18.842 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:18.842 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:18.842 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [ttl-worker=task-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [originalCount=4] [newCount=0] [2025/04/05 23:46:18.845 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:18.845 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:18.845 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:18.845 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:18.848 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.848 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1836] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.849 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:18.849 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:18.849 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:18.849 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [2025/04/05 23:46:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:18.850 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:18.849 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:18.849 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:18.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:18.849 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.850 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:18.850 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.850 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:18.850 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:18.850 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:18.851 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:18.851 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f858b2a0-89d5-4824-97df-8e63f93ee8f5] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:18.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:18.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:18.851 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:18.851 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:18.851 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:18.851 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [error="context canceled"] [2025/04/05 23:46:18.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:18.851 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:18.851 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:18.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:18.852 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [error="context canceled"] [2025/04/05 23:46:18.852 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [2025/04/05 23:46:18.853 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [error="context canceled"] [2025/04/05 23:46:18.853 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=39b251aa-ca05-4e6e-9d2a-9cd1738d7daf] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:18.868 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:18.868 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:18.915 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:18.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:18.927 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.663121ms] [2025/04/05 23:46:18.929 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:18.929 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:18.930 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:18.930 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:18.930 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:18.930 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:18.930 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:18.930 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:18.930 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:18.930 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:18.930 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-36] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:18.930 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:18.931 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStaleReadAllCombinations (4.70s) === NAME === RUN TestBasicTxnState [2025/04/05 23:46:18.939 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:18.940 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:18.941 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:18.941 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:18.941 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:18.942 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:18.942 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:18.942 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:18.942 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:18.942 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:18.942 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:18.946 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:18.951 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:18.952 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:18.953 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:18.963 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:18.973 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:19.010 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=289] ["lease id"=223196085661345c] [2025/04/05 23:46:19.012 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:19.107 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=360] ["elapsed time"=92.170851ms] [2025/04/05 23:46:19.107 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:19.110 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:19.116 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=714bfe98-4635-4530-a868-28b189a710ce] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:19.116 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:19.118 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.119 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:19.120 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183195152384/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:19.120 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:19.120 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:19.120 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [2025/04/05 23:46:19.124 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613461] [ownerID=714bfe98-4635-4530-a868-28b189a710ce] [op=none] [2025/04/05 23:46:19.124 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.124 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [ownerKey=/tidb/ddl/fg/owner/2231960856613461] [currRev=1777] [2025/04/05 23:46:19.127 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:19.127 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:19.127 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613559] [ownerID=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [op=none] [2025/04/05 23:46:19.127 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [2025/04/05 23:46:19.127 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [ownerKey=/tidb/br-stream/owner/6f18960856613559] [currRev=1778] [2025/04/05 23:46:19.127 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:19.128 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613461] [ownerID=714bfe98-4635-4530-a868-28b189a710ce] [op=none] [2025/04/05 23:46:19.128 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [op=none] [2025/04/05 23:46:19.128 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:19.132 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:19.132 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.133 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:19.134 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:19.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:19.151 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:19.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:19.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:19.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:19.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:19.158 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:19.158 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:19.158 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:19.158 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:19.158 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:19.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:19.159 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:19.160 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:19.160 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:19.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:19.161 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:19.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:19.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:19.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:19.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:19.163 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960856613469] [ownerID=714bfe98-4635-4530-a868-28b189a710ce] [op=none] [2025/04/05 23:46:19.163 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.163 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [ownerKey=/tidb/stats/owner/2231960856613469] [currRev=1780] [2025/04/05 23:46:19.163 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:19.165 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5d62e99e-a52e-40a8-84a3-d7b7a31bb4be] [2025/04/05 23:46:19.165 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [ttl-worker=task-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [originalCount=0] [newCount=4] [2025/04/05 23:46:19.165 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [ttl-worker=task-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [originalCount=0] [newCount=4] [2025/04/05 23:46:19.165 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.166 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:19.167 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:19.167 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:19.167 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896779167563205 [2025/04/05 23:46:19.174 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:19.182 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.309916ms] [2025/04/05 23:46:19.182 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:19.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:19.183 +00:00] [INFO] [set.go:172] ["set global var"] [conn=79] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:19.187 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=79] [schemaVersion=360] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:19.200 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:328, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:19.200 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:328, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:19.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=328] [conn=79] [job="ID:328, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=1.796241ms] [gotSchemaVersion=361] [phyTblIDs="[326]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:19.227 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=328] [version=361] [2025/04/05 23:46:19.229 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=361] ["take time"=9.876683ms] [job="ID:328, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=328] [conn=79] [job="ID:328, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.795889ms] [gotSchemaVersion=362] [phyTblIDs="[326]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:19.259 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=328] [version=362] [2025/04/05 23:46:19.261 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=362] ["take time"=8.662151ms] [job="ID:328, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=328] [conn=79] [job="ID:328, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.275 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 326, Old Table Name: t)"] [2025/04/05 23:46:19.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=985.99µs] [gotSchemaVersion=363] [phyTblIDs="[326]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:19.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=328] [version=363] [2025/04/05 23:46:19.296 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=8.554924ms] [job="ID:328, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.307 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=328] [tableIDs="[326]"] [comment="drop table: table ID"] [2025/04/05 23:46:19.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=328] [jobType="drop table"] [2025/04/05 23:46:19.315 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=328] [conn=79] [job="ID:328, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=328] [2025/04/05 23:46:19.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=79] [schemaVersion=363] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896779336895776 [2025/04/05 23:46:19.348 +00:00] [INFO] [set.go:172] ["set global var"] [conn=80] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:19.362 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:330, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int);"] [2025/04/05 23:46:19.362 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:330, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:19.368 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=80] [job="ID:330, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:329, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:19.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.375 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 329, Table Name: t)"] [2025/04/05 23:46:19.390 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=1.436033ms] [gotSchemaVersion=364] [phyTblIDs="[329]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:19.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=364] [2025/04/05 23:46:19.397 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=10.378734ms] [job="ID:330, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:19.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.410 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=330] [conn=80] [job="ID:330, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:329, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:19.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:19.424 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=330] [2025/04/05 23:46:19.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=80] [schemaVersion=364] [cur_db=test] [sql="create table t(a int);"] [user=] [2025/04/05 23:46:19.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152077335887887] [2025/04/05 23:46:19.741 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152077401686017] [2025/04/05 23:46:19.744 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:19.744 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [] [2025/04/05 23:46:19.744 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:19.744 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.744 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:19.744 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:19.744 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 151, tp general"] ["take time"=50.266µs] [2025/04/05 23:46:19.744 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 152, tp general"] ["take time"=33.952µs] [2025/04/05 23:46:19.744 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.744 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.746 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:19.746 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:19.747 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=714bfe98-4635-4530-a868-28b189a710ce] ["take time"=2.709956ms] [2025/04/05 23:46:19.747 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.747 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:19.747 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5d62e99e-a52e-40a8-84a3-d7b7a31bb4be] [2025/04/05 23:46:19.747 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [ttl-worker=task-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [originalCount=4] [newCount=0] [2025/04/05 23:46:19.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:19.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:19.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:19.747 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:19.747 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [ttl-worker=task-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [originalCount=4] [newCount=0] [2025/04/05 23:46:19.749 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:19.749 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:19.749 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:19.750 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:19.752 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.752 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=289] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:19.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:19.754 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:19.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:19.753 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:19.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:19.754 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:19.754 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.755 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=dfa2db6d-83b4-439b-941e-f82ea9d255b1] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:19.755 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:19.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:19.755 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:19.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:19.755 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:19.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:19.755 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:19.755 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [error="context canceled"] [2025/04/05 23:46:19.755 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:19.755 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:19.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:19.756 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [error="context canceled"] [2025/04/05 23:46:19.756 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [2025/04/05 23:46:19.756 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [error="context canceled"] [2025/04/05 23:46:19.756 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=714bfe98-4635-4530-a868-28b189a710ce] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:19.773 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:19.773 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:19.818 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:19.818 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:19.829 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.714266ms] [2025/04/05 23:46:19.832 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:19.832 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:19.832 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:19.832 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:19.832 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:19.832 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:19.832 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:19.832 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:19.832 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-37] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:19.832 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:19.832 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:19.832 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:19.833 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestBasicTxnState (0.90s) === NAME === RUN TestEntriesCountAndSize [2025/04/05 23:46:19.839 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:19.839 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:19.840 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:19.840 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:19.841 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:19.841 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:19.841 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:19.841 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:19.841 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:19.841 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:19.842 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:19.846 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:19.851 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:19.852 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:19.852 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:19.862 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:19.872 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:19.923 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1942] ["lease id"=3eaa9608566133a0] [2025/04/05 23:46:19.925 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:20.017 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=364] ["elapsed time"=89.067482ms] [2025/04/05 23:46:20.017 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:20.019 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:20.026 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:20.026 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:20.028 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.029 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:20.029 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183278882816/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:20.029 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:20.030 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:20.030 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:20.030 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:20.030 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:20.030 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:20.030 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [2025/04/05 23:46:20.032 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196085661347b] [ownerID=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [op=none] [2025/04/05 23:46:20.032 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.032 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [ownerKey=/tidb/ddl/fg/owner/223196085661347b] [currRev=1807] [2025/04/05 23:46:20.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:20.033 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:20.033 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/223196085661347d] [ownerID=e7d20d0f-b920-431e-b442-00c7bd9860b9] [op=none] [2025/04/05 23:46:20.033 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [2025/04/05 23:46:20.033 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [ownerKey=/tidb/br-stream/owner/223196085661347d] [currRev=1808] [2025/04/05 23:46:20.033 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:20.034 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/223196085661347b] [ownerID=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [op=none] [2025/04/05 23:46:20.034 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [op=none] [2025/04/05 23:46:20.034 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:20.039 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:20.039 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.040 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:20.041 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:20.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:20.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:20.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:20.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:20.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:20.062 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:20.062 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:20.062 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:20.062 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:20.062 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:20.062 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:20.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:20.063 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:20.064 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:20.064 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:20.064 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:20.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:20.065 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:20.067 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:20.067 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9608566133aa] [ownerID=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [op=none] [2025/04/05 23:46:20.067 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.067 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [ownerKey=/tidb/stats/owner/3eaa9608566133aa] [currRev=1810] [2025/04/05 23:46:20.068 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/9caa9d93-77f6-42b9-90e0-5a3d5206a806] [2025/04/05 23:46:20.068 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [ttl-worker=task-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [originalCount=0] [newCount=4] [2025/04/05 23:46:20.069 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [ttl-worker=task-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [originalCount=0] [newCount=4] [2025/04/05 23:46:20.069 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.070 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:20.070 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:20.070 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:20.070 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896780071113823 [2025/04/05 23:46:20.077 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:20.084 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.867315ms] [2025/04/05 23:46:20.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:20.084 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:20.090 +00:00] [INFO] [set.go:172] ["set global var"] [conn=81] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:20.113 +00:00] [INFO] [set.go:172] ["set global var"] [conn=81] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:20.116 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=81] [schemaVersion=364] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:20.131 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:20.131 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:20.138 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=81] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:329, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.154 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=1.555908ms] [gotSchemaVersion=365] [phyTblIDs="[329]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:20.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=365] [2025/04/05 23:46:20.161 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=365] ["take time"=10.960836ms] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=81] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:329, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.185 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=1.596479ms] [gotSchemaVersion=366] [phyTblIDs="[329]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:20.189 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=366] [2025/04/05 23:46:20.191 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=366] ["take time"=8.92039ms] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.199 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=81] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:329, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.205 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 329, Old Table Name: t)"] [2025/04/05 23:46:20.222 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=1.158972ms] [gotSchemaVersion=367] [phyTblIDs="[329]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:20.226 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=367] [2025/04/05 23:46:20.228 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=367] ["take time"=11.990372ms] [job="ID:331, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.239 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[329]"] [comment="drop table: table ID"] [2025/04/05 23:46:20.246 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="drop table"] [2025/04/05 23:46:20.248 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=81] [job="ID:331, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:329, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.267 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/05 23:46:20.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=81] [schemaVersion=367] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896780268243724 [2025/04/05 23:46:20.283 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:20.283 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int);"] [2025/04/05 23:46:20.289 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=82] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.293 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: t)"] [2025/04/05 23:46:20.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=1.229065ms] [gotSchemaVersion=368] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:20.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=368] [2025/04/05 23:46:20.311 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=368] ["take time"=7.866193ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.321 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=82] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.331 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/05 23:46:20.332 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=82] [schemaVersion=368] [cur_db=test] [sql="create table t(a int);"] [user=] [2025/04/05 23:46:20.340 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152077572079630] [2025/04/05 23:46:20.341 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:20.341 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:20.341 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [] [2025/04/05 23:46:20.341 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.341 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:20.341 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:20.342 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 153, tp general"] ["take time"=40.243µs] [2025/04/05 23:46:20.342 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 154, tp general"] ["take time"=28.921µs] [2025/04/05 23:46:20.342 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.342 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.343 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:20.343 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:20.344 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=68e16d2f-a57c-4ea3-b296-c05f4bb55116] ["take time"=2.526902ms] [2025/04/05 23:46:20.344 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.344 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:20.344 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/9caa9d93-77f6-42b9-90e0-5a3d5206a806] [2025/04/05 23:46:20.344 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [ttl-worker=task-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [originalCount=4] [newCount=0] [2025/04/05 23:46:20.344 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:20.344 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:20.344 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:20.344 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:20.344 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [ttl-worker=task-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [originalCount=4] [newCount=0] [2025/04/05 23:46:20.346 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:20.346 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:20.347 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:20.347 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:20.350 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.350 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1942] [2025/04/05 23:46:20.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:20.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:20.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:20.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:20.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:20.352 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:20.352 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:20.352 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:20.353 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:20.353 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:20.353 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:20.353 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:20.353 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:20.353 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [2025/04/05 23:46:20.354 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.354 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.354 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.356 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:20.356 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:20.356 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e7d20d0f-b920-431e-b442-00c7bd9860b9] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:20.356 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:20.356 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:20.356 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:20.356 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:20.356 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:20.356 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:20.356 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:20.356 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:20.357 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [error="context canceled"] [2025/04/05 23:46:20.358 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [2025/04/05 23:46:20.358 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [error="context canceled"] [2025/04/05 23:46:20.358 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=68e16d2f-a57c-4ea3-b296-c05f4bb55116] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:20.376 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:20.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:20.419 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:20.419 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:20.431 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.418672ms] [2025/04/05 23:46:20.434 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:20.434 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:20.434 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:20.434 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:20.434 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:20.434 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:20.434 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:20.434 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:20.434 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:20.434 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-38] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:20.434 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:20.434 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:20.436 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestEntriesCountAndSize (0.60s) === NAME === RUN TestMemDBTracker [2025/04/05 23:46:20.442 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:20.443 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:20.444 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:20.445 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:20.445 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:20.445 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:20.445 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:20.445 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:20.445 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:20.446 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:20.446 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:20.450 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:20.455 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:20.455 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:20.456 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:20.467 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:20.478 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:20.513 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1167] ["lease id"=6f18960856613588] [2025/04/05 23:46:20.515 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:20.604 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=368] ["elapsed time"=85.49096ms] [2025/04/05 23:46:20.604 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:20.606 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:20.612 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7d872db7-39fb-4761-a57b-2ad86e034999] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:20.612 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:20.614 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:20.616 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:20.616 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 183295545344/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:20.616 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:20.616 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:20.616 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [2025/04/05 23:46:20.618 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566133bf] [ownerID=7d872db7-39fb-4761-a57b-2ad86e034999] [op=none] [2025/04/05 23:46:20.618 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:20.618 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566133bf] [currRev=1838] [2025/04/05 23:46:20.619 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:20.619 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:20.619 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:20.619 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566133c1] [ownerID=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [op=none] [2025/04/05 23:46:20.620 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [2025/04/05 23:46:20.620 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [ownerKey=/tidb/br-stream/owner/3eaa9608566133c1] [currRev=1839] [2025/04/05 23:46:20.620 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566133bf] [ownerID=7d872db7-39fb-4761-a57b-2ad86e034999] [op=none] [2025/04/05 23:46:20.620 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [op=none] [2025/04/05 23:46:20.620 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:20.625 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:20.626 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:20.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:20.627 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:20.636 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:20.644 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:20.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:20.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:20.650 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:20.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:20.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:20.650 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:20.650 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:20.650 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:20.650 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:20.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:20.652 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:20.653 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:20.653 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:20.653 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:20.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:20.654 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:20.655 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960856613592] [ownerID=7d872db7-39fb-4761-a57b-2ad86e034999] [op=none] [2025/04/05 23:46:20.656 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:20.656 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:20.656 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [ownerKey=/tidb/stats/owner/6f18960856613592] [currRev=1841] [2025/04/05 23:46:20.659 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:20.659 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:20.659 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:20.659 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896780659500900 [2025/04/05 23:46:20.659 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/69040e31-ae8a-40e1-846b-eea7ec192c3b] [2025/04/05 23:46:20.660 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [ttl-worker=task-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [originalCount=0] [newCount=4] [2025/04/05 23:46:20.660 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [ttl-worker=task-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [originalCount=0] [newCount=4] [2025/04/05 23:46:20.660 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:20.665 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:20.671 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.770448ms] [2025/04/05 23:46:20.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:20.672 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:20.680 +00:00] [INFO] [set.go:172] ["set global var"] [conn=83] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:20.682 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=83] [schemaVersion=368] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:20.694 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:334, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:20.694 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:334, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:20.699 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=334] [conn=83] [job="ID:334, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.713 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=1.516873ms] [gotSchemaVersion=369] [phyTblIDs="[332]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:20.717 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=334] [version=369] [2025/04/05 23:46:20.718 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=369] ["take time"=8.513417ms] [job="ID:334, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.727 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=334] [conn=83] [job="ID:334, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=1.498262ms] [gotSchemaVersion=370] [phyTblIDs="[332]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:20.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=334] [version=370] [2025/04/05 23:46:20.746 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=370] ["take time"=8.084096ms] [job="ID:334, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=334] [conn=83] [job="ID:334, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.759 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 332, Old Table Name: t)"] [2025/04/05 23:46:20.773 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=1.03881ms] [gotSchemaVersion=371] [phyTblIDs="[332]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:20.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=334] [version=371] [2025/04/05 23:46:20.778 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=371] ["take time"=7.799479ms] [job="ID:334, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.787 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=334] [tableIDs="[332]"] [comment="drop table: table ID"] [2025/04/05 23:46:20.793 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=334] [jobType="drop table"] [2025/04/05 23:46:20.794 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=334] [conn=83] [job="ID:334, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.811 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=334] [2025/04/05 23:46:20.811 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=83] [schemaVersion=371] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896780812217367 [2025/04/05 23:46:20.828 +00:00] [INFO] [set.go:172] ["set global var"] [conn=84] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:20.842 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:336, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:20.842 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:336, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int)"] [2025/04/05 23:46:20.847 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=84] [job="ID:336, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:335, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.851 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 335, Table Name: t)"] [2025/04/05 23:46:20.863 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=1.303723ms] [gotSchemaVersion=372] [phyTblIDs="[335]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:20.867 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=372] [2025/04/05 23:46:20.869 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=8.110726ms] [job="ID:336, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:20.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.879 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=336] [conn=84] [job="ID:336, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:335, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:20.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:20.889 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=336] [2025/04/05 23:46:20.889 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=84] [schemaVersion=372] [cur_db=test] [sql="create table t (id int)"] [user=] [2025/04/05 23:46:21.624 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:46:21.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:21.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:21.624 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:21.659 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:46:21.660 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:46:21.660 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:46:21.660 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/69040e31-ae8a-40e1-846b-eea7ec192c3b] [watcherID=cac3f3f9-cd97-4c9b-bd2a-bc17a5862064] [2025/04/05 23:46:21.664 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:46:21.664 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:46:21.664 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:46:21.664 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:46:22.450 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:46:22.616 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:46:23.395 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=7500] [isPipelinedTxn=false] [2025/04/05 23:46:23.636 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:25.895 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=10000] [isPipelinedTxn=false] [2025/04/05 23:46:26.632 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:28.395 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=12501] [isPipelinedTxn=false] [2025/04/05 23:46:29.634 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:30.895 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=15000] [isPipelinedTxn=false] [2025/04/05 23:46:32.619 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:32.620 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 23:46:32.620 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:46:32.633 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:33.395 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=17501] [isPipelinedTxn=false] [2025/04/05 23:46:35.633 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:35.895 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=20000] [isPipelinedTxn=false] [2025/04/05 23:46:38.395 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=22501] [isPipelinedTxn=false] [2025/04/05 23:46:38.633 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:40.895 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=25000] [isPipelinedTxn=false] [2025/04/05 23:46:41.633 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:43.395 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=27501] [isPipelinedTxn=false] [2025/04/05 23:46:44.619 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 23:46:44.632 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:45.895 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=30000] [isPipelinedTxn=false] [2025/04/05 23:46:47.632 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:48.395 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=32500] [isPipelinedTxn=false] [2025/04/05 23:46:50.633 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:50.802 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:50.803 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:50.803 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [] [2025/04/05 23:46:50.803 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.803 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:50.803 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:50.803 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 155, tp general"] ["take time"=147.774µs] [2025/04/05 23:46:50.803 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 156, tp general"] ["take time"=107.865µs] [2025/04/05 23:46:50.803 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.803 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.805 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:50.805 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:50.808 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7d872db7-39fb-4761-a57b-2ad86e034999] ["take time"=5.456617ms] [2025/04/05 23:46:50.808 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.808 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:50.808 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/69040e31-ae8a-40e1-846b-eea7ec192c3b] [watcherID=cac3f3f9-cd97-4c9b-bd2a-bc17a5862064] [2025/04/05 23:46:50.808 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:46:50.808 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/69040e31-ae8a-40e1-846b-eea7ec192c3b] [2025/04/05 23:46:50.808 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [ttl-worker=task-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [originalCount=4] [newCount=0] [2025/04/05 23:46:50.808 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:50.808 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:50.808 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:50.808 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:50.809 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [ttl-worker=task-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [originalCount=4] [newCount=0] [2025/04/05 23:46:50.811 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:50.811 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:50.811 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:50.811 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:50.814 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.814 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1167] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:46:50.815 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:50.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:50.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:50.815 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:50.816 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [] [2025/04/05 23:46:50.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:50.815 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:46:50.816 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.815 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:46:50.815 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:50.816 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:50.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:50.816 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:50.816 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:50.816 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.816 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.816 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:50.816 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:50.816 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:50.816 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:50.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:50.817 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=8ee30788-aa19-4a0e-8fb5-edfc7a8ae5b8] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:50.817 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:50.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:50.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:50.817 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:50.817 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:50.817 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 23:46:50.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:50.817 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:50.817 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [error="context canceled"] [2025/04/05 23:46:50.817 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:50.817 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:50.817 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:50.818 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [error="context canceled"] [2025/04/05 23:46:50.818 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [2025/04/05 23:46:50.818 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [error="context canceled"] [2025/04/05 23:46:50.818 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=7d872db7-39fb-4761-a57b-2ad86e034999] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:50.881 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:50.881 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:50.895 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.935998ms] [2025/04/05 23:46:50.896 +00:00] [INFO] [2pc.go:1331] ["send TxnHeartBeat"] [startTS=457152077729103873] [newTTL=35001] [isPipelinedTxn=false] [2025/04/05 23:46:50.898 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:50.898 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:50.898 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:50.898 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:50.898 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:50.898 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:50.898 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:50.898 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:50.898 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:50.898 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:50.898 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:50.898 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-39] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:50.900 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestMemDBTracker (30.47s) === NAME === RUN TestRunning [2025/04/05 23:46:50.910 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:50.911 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:50.912 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:50.912 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:50.912 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:50.912 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:50.912 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:50.912 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:50.913 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:50.913 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:50.913 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:50.917 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:50.925 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:50.926 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:50.926 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:50.938 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:50.950 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:50.986 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=515] ["lease id"=22319608566134f1] [2025/04/05 23:46:50.989 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:51.081 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=372] ["elapsed time"=89.231079ms] [2025/04/05 23:46:51.081 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:51.083 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:51.089 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=72792845-89d1-4d02-9ecd-06414b7df74e] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:51.089 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:51.091 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.093 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:51.093 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184631422976/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:51.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:51.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:51.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:51.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:51.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:51.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:51.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:51.094 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:51.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:51.094 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:51.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:51.094 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:51.094 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [2025/04/05 23:46:51.095 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566134f8] [ownerID=72792845-89d1-4d02-9ecd-06414b7df74e] [op=none] [2025/04/05 23:46:51.096 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.096 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [ownerKey=/tidb/ddl/fg/owner/22319608566134f8] [currRev=1885] [2025/04/05 23:46:51.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:51.097 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:51.097 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189608566135e9] [ownerID=e5c8004d-fb80-4589-9f07-8eced62c4447] [op=none] [2025/04/05 23:46:51.098 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:51.098 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [2025/04/05 23:46:51.098 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [ownerKey=/tidb/br-stream/owner/6f189608566135e9] [currRev=1886] [2025/04/05 23:46:51.098 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566134f8] [ownerID=72792845-89d1-4d02-9ecd-06414b7df74e] [op=none] [2025/04/05 23:46:51.098 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [op=none] [2025/04/05 23:46:51.098 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:51.105 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:51.105 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.106 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:51.106 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:51.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:51.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:51.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:51.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:51.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:51.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:51.135 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:51.135 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:51.135 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:51.135 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:51.135 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:51.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:51.136 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:51.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:51.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:51.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:51.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:51.137 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:51.138 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:51.138 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:51.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:51.140 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960856613501] [ownerID=72792845-89d1-4d02-9ecd-06414b7df74e] [op=none] [2025/04/05 23:46:51.140 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.140 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:51.140 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [ownerKey=/tidb/stats/owner/2231960856613501] [currRev=1888] [2025/04/05 23:46:51.142 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8f854a93-60ff-4c86-8ffc-bc3e89d40858] [2025/04/05 23:46:51.142 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [ttl-worker=task-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [originalCount=0] [newCount=4] [2025/04/05 23:46:51.142 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [ttl-worker=task-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [originalCount=0] [newCount=4] [2025/04/05 23:46:51.142 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:51.143 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:51.143 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896811143578039 [2025/04/05 23:46:51.146 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:51.153 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:51.160 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.277529ms] [2025/04/05 23:46:51.160 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:51.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:51.163 +00:00] [INFO] [set.go:172] ["set global var"] [conn=85] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:51.175 +00:00] [INFO] [set.go:172] ["set global var"] [conn=85] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:51.178 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=85] [schemaVersion=372] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:51.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:337, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:51.192 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:337, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:51.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=85] [job="ID:337, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:335, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.215 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=2.442232ms] [gotSchemaVersion=373] [phyTblIDs="[335]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:51.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=373] [2025/04/05 23:46:51.223 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=373] ["take time"=12.491108ms] [job="ID:337, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.234 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=85] [job="ID:337, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:335, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.252 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=2.399268ms] [gotSchemaVersion=374] [phyTblIDs="[335]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:51.257 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=374] [2025/04/05 23:46:51.259 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=374] ["take time"=11.930743ms] [job="ID:337, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=85] [job="ID:337, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:335, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.275 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 335, Old Table Name: t)"] [2025/04/05 23:46:51.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=1.057808ms] [gotSchemaVersion=375] [phyTblIDs="[335]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:51.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=375] [2025/04/05 23:46:51.296 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=9.120762ms] [job="ID:337, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.306 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=337] [tableIDs="[335]"] [comment="drop table: table ID"] [2025/04/05 23:46:51.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=337] [jobType="drop table"] [2025/04/05 23:46:51.316 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=337] [conn=85] [job="ID:337, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:335, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=337] [2025/04/05 23:46:51.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=85] [schemaVersion=375] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896811337287461 [2025/04/05 23:46:51.349 +00:00] [INFO] [set.go:172] ["set global var"] [conn=86] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:51.365 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:339, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:51.365 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:339, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int);"] [2025/04/05 23:46:51.371 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=339] [conn=86] [job="ID:339, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:338, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.375 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 338, Table Name: t)"] [2025/04/05 23:46:51.389 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.529473ms] [gotSchemaVersion=376] [phyTblIDs="[338]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:51.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=339] [version=376] [2025/04/05 23:46:51.396 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=10.172818ms] [job="ID:339, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.409 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=339] [conn=86] [job="ID:339, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:338, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.420 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=339] [2025/04/05 23:46:51.421 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=86] [schemaVersion=376] [cur_db=test] [sql="create table t(a int);"] [user=] [2025/04/05 23:46:51.635 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:51.635 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [] [2025/04/05 23:46:51.635 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:51.635 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.635 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:51.635 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:51.635 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 157, tp general"] ["take time"=44.37µs] [2025/04/05 23:46:51.635 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 158, tp general"] ["take time"=35.59µs] [2025/04/05 23:46:51.635 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.635 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.636 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:51.636 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:51.637 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=72792845-89d1-4d02-9ecd-06414b7df74e] ["take time"=2.769948ms] [2025/04/05 23:46:51.638 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.638 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:51.638 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8f854a93-60ff-4c86-8ffc-bc3e89d40858] [2025/04/05 23:46:51.638 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [ttl-worker=task-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [originalCount=4] [newCount=0] [2025/04/05 23:46:51.638 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:51.638 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:51.638 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:51.638 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:51.638 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [ttl-worker=task-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [originalCount=4] [newCount=0] [2025/04/05 23:46:51.640 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:51.640 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:51.641 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:51.641 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:51.643 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.643 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=515] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:51.644 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:51.644 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:51.645 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [2025/04/05 23:46:51.645 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:51.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:51.644 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.645 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [2025/04/05 23:46:51.645 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.646 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:51.646 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:51.646 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:51.646 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:51.646 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:51.646 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:51.646 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e5c8004d-fb80-4589-9f07-8eced62c4447] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:51.646 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:51.646 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:51.646 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:51.646 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:51.647 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [error="context canceled"] [2025/04/05 23:46:51.647 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [2025/04/05 23:46:51.647 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [error="context canceled"] [2025/04/05 23:46:51.647 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=72792845-89d1-4d02-9ecd-06414b7df74e] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:51.661 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:51.661 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:51.706 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:51.706 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:51.721 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.832362ms] [2025/04/05 23:46:51.723 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:51.723 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:51.723 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:51.723 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:51.723 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:51.723 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:51.723 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:51.723 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:51.723 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:51.723 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-40] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:51.724 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:51.724 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:51.724 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRunning (0.82s) === NAME === RUN TestBlocked [2025/04/05 23:46:51.729 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:51.730 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:51.731 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:51.731 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:51.731 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:51.731 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:51.731 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:51.731 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:51.732 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:51.732 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:51.732 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:51.736 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:51.741 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:51.741 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:51.742 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:51.751 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:51.761 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:51.797 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=960] ["lease id"=6f189608566135ff] [2025/04/05 23:46:51.799 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:51.883 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=376] ["elapsed time"=81.133147ms] [2025/04/05 23:46:51.883 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:51.885 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:51.890 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9b2ec283-40f8-499c-8419-d090d89aaf69] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:51.890 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:51.892 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:51.893 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:51.893 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184637882368/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:51.893 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:51.893 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:51.894 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [2025/04/05 23:46:51.895 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613605] [ownerID=9b2ec283-40f8-499c-8419-d090d89aaf69] [op=none] [2025/04/05 23:46:51.895 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:51.895 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [ownerKey=/tidb/ddl/fg/owner/6f18960856613605] [currRev=1917] [2025/04/05 23:46:51.895 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:51.896 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:51.896 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:51.896 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566134b6] [ownerID=90251e11-3a4e-4a61-931b-99749c8cfd07] [op=none] [2025/04/05 23:46:51.896 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [2025/04/05 23:46:51.897 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [ownerKey=/tidb/br-stream/owner/3eaa9608566134b6] [currRev=1917] [2025/04/05 23:46:51.897 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613605] [ownerID=9b2ec283-40f8-499c-8419-d090d89aaf69] [op=none] [2025/04/05 23:46:51.897 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [op=none] [2025/04/05 23:46:51.897 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:51.903 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:51.904 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:51.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:51.905 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:51.914 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:51.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:51.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:51.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:51.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:51.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:51.925 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:51.925 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:51.925 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:51.925 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:51.925 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:51.926 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:51.926 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:51.927 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:51.927 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:51.927 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:51.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:51.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:51.929 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f1896085661360d] [ownerID=9b2ec283-40f8-499c-8419-d090d89aaf69] [op=none] [2025/04/05 23:46:51.929 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:51.929 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [ownerKey=/tidb/stats/owner/6f1896085661360d] [currRev=1919] [2025/04/05 23:46:51.930 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:51.931 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/64041635-e6ef-4688-90aa-93b9ffd4d3a4] [2025/04/05 23:46:51.931 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [ttl-worker=task-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [originalCount=0] [newCount=4] [2025/04/05 23:46:51.931 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [ttl-worker=task-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [originalCount=0] [newCount=4] [2025/04/05 23:46:51.931 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:51.932 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:51.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:51.933 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:51.933 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896811933320417 [2025/04/05 23:46:51.938 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:51.945 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.939884ms] [2025/04/05 23:46:51.945 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:51.945 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:51.945 +00:00] [INFO] [set.go:172] ["set global var"] [conn=87] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:51.948 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=87] [schemaVersion=376] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:51.960 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:51.960 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:51.965 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=87] [job="ID:340, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:338, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=1.576978ms] [gotSchemaVersion=377] [phyTblIDs="[338]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:51.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=377] [2025/04/05 23:46:51.985 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=8.608981ms] [job="ID:340, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:51.994 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=87] [job="ID:340, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:338, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.009 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=1.652024ms] [gotSchemaVersion=378] [phyTblIDs="[338]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:52.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=378] [2025/04/05 23:46:52.014 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=378] ["take time"=8.385601ms] [job="ID:340, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.022 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=87] [job="ID:340, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:338, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.027 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 338, Old Table Name: t)"] [2025/04/05 23:46:52.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=1.078206ms] [gotSchemaVersion=379] [phyTblIDs="[338]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:52.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=379] [2025/04/05 23:46:52.044 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=8.290784ms] [job="ID:340, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.053 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=340] [tableIDs="[338]"] [comment="drop table: table ID"] [2025/04/05 23:46:52.060 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=340] [jobType="drop table"] [2025/04/05 23:46:52.061 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=87] [job="ID:340, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:338, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:51.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.078 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/05 23:46:52.079 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=87] [schemaVersion=379] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896812079498560 [2025/04/05 23:46:52.097 +00:00] [INFO] [set.go:172] ["set global var"] [conn=88] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743896812099090648 [2025/04/05 23:46:52.113 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:52.113 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int);"] [2025/04/05 23:46:52.119 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=88] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.123 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: t)"] [2025/04/05 23:46:52.135 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=1.269283ms] [gotSchemaVersion=380] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:52.138 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=380] [2025/04/05 23:46:52.140 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=380] ["take time"=8.084027ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=88] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/05 23:46:52.161 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=88] [schemaVersion=380] [cur_db=test] [sql="create table t(a int);"] [user=] [2025/04/05 23:46:52.277 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:52.277 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [] [2025/04/05 23:46:52.277 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.277 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:52.278 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:52.278 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:52.278 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 159, tp general"] ["take time"=54.478µs] [2025/04/05 23:46:52.278 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 160, tp general"] ["take time"=44.206µs] [2025/04/05 23:46:52.278 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.278 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.279 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:52.279 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:52.280 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9b2ec283-40f8-499c-8419-d090d89aaf69] ["take time"=2.708607ms] [2025/04/05 23:46:52.280 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.280 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:52.280 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/64041635-e6ef-4688-90aa-93b9ffd4d3a4] [2025/04/05 23:46:52.280 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [ttl-worker=task-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [originalCount=4] [newCount=0] [2025/04/05 23:46:52.280 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.280 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.280 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.280 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.280 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [ttl-worker=task-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [originalCount=4] [newCount=0] [2025/04/05 23:46:52.283 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.283 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.283 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.283 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.285 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.285 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=960] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:52.286 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:52.286 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:52.286 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:52.286 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [2025/04/05 23:46:52.286 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.287 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:52.287 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:52.287 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:52.286 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:52.286 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:52.287 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [] [2025/04/05 23:46:52.287 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.287 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.287 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.288 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:52.288 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:52.288 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=90251e11-3a4e-4a61-931b-99749c8cfd07] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:52.288 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:52.288 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:52.288 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:52.288 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:52.288 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:52.288 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [error="context canceled"] [2025/04/05 23:46:52.288 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:52.288 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:52.288 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:52.289 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [error="context canceled"] [2025/04/05 23:46:52.289 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [2025/04/05 23:46:52.289 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [error="context canceled"] [2025/04/05 23:46:52.289 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=9b2ec283-40f8-499c-8419-d090d89aaf69] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:52.304 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:52.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:52.346 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:52.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:52.357 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=79.594955ms] [2025/04/05 23:46:52.359 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:52.359 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:52.359 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:52.359 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:52.359 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:52.359 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:52.359 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:52.359 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-41] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:52.359 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:52.359 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:52.359 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:52.359 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:52.360 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestBlocked (0.64s) === NAME === RUN TestCommitting [2025/04/05 23:46:52.366 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:52.366 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:52.367 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:52.368 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:52.368 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:52.368 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:52.368 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:52.368 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:52.368 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:52.369 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:52.369 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:52.372 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:52.377 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:52.378 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:52.379 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:52.388 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:52.398 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:52.432 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1449] ["lease id"=6f1896085661361c] [2025/04/05 23:46:52.434 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:52.517 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=380] ["elapsed time"=81.005729ms] [2025/04/05 23:46:52.517 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:52.519 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:52.525 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=bff2e233-f0ca-4f21-8203-3d722465bd69] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:52.525 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:52.527 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.528 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:52.528 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184638197760/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:52.528 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:52.528 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:52.528 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [2025/04/05 23:46:52.530 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566134cf] [ownerID=bff2e233-f0ca-4f21-8203-3d722465bd69] [op=none] [2025/04/05 23:46:52.530 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.530 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566134cf] [currRev=1947] [2025/04/05 23:46:52.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:52.531 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:52.531 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:52.531 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566134d1] [ownerID=7356ea81-39dd-437e-8dcd-14d36979ac12] [op=none] [2025/04/05 23:46:52.532 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [2025/04/05 23:46:52.532 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [ownerKey=/tidb/br-stream/owner/3eaa9608566134d1] [currRev=1947] [2025/04/05 23:46:52.532 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566134cf] [ownerID=bff2e233-f0ca-4f21-8203-3d722465bd69] [op=none] [2025/04/05 23:46:52.532 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [op=none] [2025/04/05 23:46:52.532 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:52.537 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:52.537 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.538 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:52.538 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:52.546 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:52.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:52.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:52.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:52.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:52.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:52.557 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:52.557 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:52.557 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:52.557 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:52.557 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:52.558 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:52.558 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:52.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:52.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:52.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:52.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:52.559 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:52.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:52.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:52.559 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:52.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:52.560 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:52.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:52.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:52.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:52.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:52.561 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:52.562 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f18960856613626] [ownerID=bff2e233-f0ca-4f21-8203-3d722465bd69] [op=none] [2025/04/05 23:46:52.562 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.562 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [ownerKey=/tidb/stats/owner/6f18960856613626] [currRev=1949] [2025/04/05 23:46:52.563 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a506e55b-ff55-4c25-9f35-4cf4ac934b46] [2025/04/05 23:46:52.564 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [ttl-worker=task-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [originalCount=0] [newCount=4] [2025/04/05 23:46:52.564 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [ttl-worker=task-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [originalCount=0] [newCount=4] [2025/04/05 23:46:52.564 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.564 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:52.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:52.564 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:52.564 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896812565045918 [2025/04/05 23:46:52.571 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:52.578 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.454341ms] [2025/04/05 23:46:52.578 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:52.578 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:52.583 +00:00] [INFO] [set.go:172] ["set global var"] [conn=90] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:52.604 +00:00] [INFO] [set.go:172] ["set global var"] [conn=90] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:52.606 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=90] [schemaVersion=380] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:52.618 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:343, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:52.618 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:343, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:52.625 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=343] [conn=90] [job="ID:343, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=2.208381ms] [gotSchemaVersion=381] [phyTblIDs="[341]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:52.646 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=343] [version=381] [2025/04/05 23:46:52.648 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=381] ["take time"=9.936659ms] [job="ID:343, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.659 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=343] [conn=90] [job="ID:343, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.673 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.735454ms] [gotSchemaVersion=382] [phyTblIDs="[341]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:52.676 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=343] [version=382] [2025/04/05 23:46:52.678 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=382] ["take time"=8.794549ms] [job="ID:343, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.687 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=343] [conn=90] [job="ID:343, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.692 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 341, Old Table Name: t)"] [2025/04/05 23:46:52.704 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=969.826µs] [gotSchemaVersion=383] [phyTblIDs="[341]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:52.708 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=343] [version=383] [2025/04/05 23:46:52.709 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=383] ["take time"=7.96533ms] [job="ID:343, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.719 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=343] [tableIDs="[341]"] [comment="drop table: table ID"] [2025/04/05 23:46:52.727 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=343] [jobType="drop table"] [2025/04/05 23:46:52.728 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=343] [conn=90] [job="ID:343, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.747 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=343] [2025/04/05 23:46:52.747 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=90] [schemaVersion=383] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896812747836431 testkit.go:123: RefreshSession rand seed: 1743896812749982042 [2025/04/05 23:46:52.761 +00:00] [INFO] [set.go:172] ["set global var"] [conn=92] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:52.777 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:345, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:52.777 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:345, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int);"] [2025/04/05 23:46:52.783 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=91] [job="ID:345, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.787 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 344, Table Name: t)"] [2025/04/05 23:46:52.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.298095ms] [gotSchemaVersion=384] [phyTblIDs="[344]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:52.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=384] [2025/04/05 23:46:52.806 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=8.769714ms] [job="ID:345, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:52.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.817 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=345] [conn=91] [job="ID:345, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:52.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:52.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=345] [2025/04/05 23:46:52.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=91] [schemaVersion=384] [cur_db=test] [sql="create table t(a int);"] [user=] [2025/04/05 23:46:52.940 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152086104604673] [2025/04/05 23:46:52.940 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152086091497489] [2025/04/05 23:46:52.942 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:52.942 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [] [2025/04/05 23:46:52.942 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.942 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:52.942 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:52.942 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:52.942 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 161, tp general"] ["take time"=41.438µs] [2025/04/05 23:46:52.943 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 162, tp general"] ["take time"=29.304µs] [2025/04/05 23:46:52.943 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.943 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.944 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:52.944 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:52.944 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=bff2e233-f0ca-4f21-8203-3d722465bd69] ["take time"=2.361311ms] [2025/04/05 23:46:52.944 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.945 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:52.945 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a506e55b-ff55-4c25-9f35-4cf4ac934b46] [2025/04/05 23:46:52.945 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [ttl-worker=task-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [originalCount=4] [newCount=0] [2025/04/05 23:46:52.945 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.945 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.945 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.945 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:52.945 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [ttl-worker=task-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [originalCount=4] [newCount=0] [2025/04/05 23:46:52.947 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.947 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.947 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.947 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:52.949 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.949 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1449] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:52.950 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [2025/04/05 23:46:52.950 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:52.950 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:52.951 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:52.951 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.951 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.951 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:52.951 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:52.950 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:52.950 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:52.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:52.951 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:52.951 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:52.952 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:52.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:52.952 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7356ea81-39dd-437e-8dcd-14d36979ac12] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:52.952 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:52.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:52.952 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:52.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:52.952 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:52.952 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:52.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:52.952 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:52.953 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [error="context canceled"] [2025/04/05 23:46:52.953 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [2025/04/05 23:46:52.968 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:52.968 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:53.011 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=bff2e233-f0ca-4f21-8203-3d722465bd69] [error="context canceled"] [2025/04/05 23:46:53.011 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:53.011 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:53.022 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=79.928316ms] [2025/04/05 23:46:53.024 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:53.024 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:53.024 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:53.024 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:53.024 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:53.024 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:53.024 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:53.024 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-42] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:53.024 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:53.025 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:53.025 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:53.025 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:53.026 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestCommitting (0.67s) === NAME === RUN TestRollbackTxnState [2025/04/05 23:46:53.031 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:53.032 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:53.032 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:53.033 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:53.033 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:53.033 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:53.033 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:53.033 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:53.033 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:53.034 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:53.034 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:53.037 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:53.043 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:53.043 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:53.044 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:53.054 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:53.063 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:53.101 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=684] ["lease id"=2231960856613548] [2025/04/05 23:46:53.103 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:53.187 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=384] ["elapsed time"=82.041869ms] [2025/04/05 23:46:53.188 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:53.190 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:53.195 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d6380892-2b18-4f79-a7d6-a08ba3549436] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:53.195 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:53.197 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.198 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:53.198 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184714420224/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:53.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:53.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:53.198 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:53.199 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:53.199 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:53.199 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:53.199 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [2025/04/05 23:46:53.201 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:53.201 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e7972576-9814-497b-9989-cba8e4f5736a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:53.202 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566134f1] [ownerID=d6380892-2b18-4f79-a7d6-a08ba3549436] [op=none] [2025/04/05 23:46:53.202 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.202 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566134f1] [currRev=1977] [2025/04/05 23:46:53.204 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:53.204 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f1896085661363a] [ownerID=e7972576-9814-497b-9989-cba8e4f5736a] [op=none] [2025/04/05 23:46:53.204 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [2025/04/05 23:46:53.204 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [ownerKey=/tidb/br-stream/owner/6f1896085661363a] [currRev=1978] [2025/04/05 23:46:53.204 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566134f1] [ownerID=d6380892-2b18-4f79-a7d6-a08ba3549436] [op=none] [2025/04/05 23:46:53.204 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [op=none] [2025/04/05 23:46:53.204 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:53.208 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:53.208 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.209 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:53.209 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:53.218 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:53.224 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:53.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:53.229 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:53.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:53.230 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:53.230 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:53.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:53.230 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:53.230 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:53.230 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:53.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:53.231 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:53.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:53.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:53.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:53.232 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:53.232 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:53.233 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:53.233 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:53.233 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:53.235 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:53.235 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/2231960856613552] [ownerID=d6380892-2b18-4f79-a7d6-a08ba3549436] [op=none] [2025/04/05 23:46:53.235 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.235 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [ownerKey=/tidb/stats/owner/2231960856613552] [currRev=1980] [2025/04/05 23:46:53.237 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/72f40e0f-4a91-4824-ad38-783cb7f90b0a] [2025/04/05 23:46:53.237 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [ttl-worker=task-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [originalCount=0] [newCount=4] [2025/04/05 23:46:53.237 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [ttl-worker=task-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [originalCount=0] [newCount=4] [2025/04/05 23:46:53.237 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.237 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:53.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:53.238 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:53.238 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896813238989484 [2025/04/05 23:46:53.243 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:53.250 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.796356ms] [2025/04/05 23:46:53.250 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:53.250 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:53.261 +00:00] [INFO] [set.go:172] ["set global var"] [conn=93] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:53.264 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=93] [schemaVersion=384] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:53.276 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:346, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:53.276 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:346, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:53.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=93] [job="ID:346, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=1.521609ms] [gotSchemaVersion=385] [phyTblIDs="[344]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:53.300 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=385] [2025/04/05 23:46:53.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=8.774161ms] [job="ID:346, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.311 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=93] [job="ID:346, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=1.812698ms] [gotSchemaVersion=386] [phyTblIDs="[344]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:53.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=386] [2025/04/05 23:46:53.337 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=386] ["take time"=9.606558ms] [job="ID:346, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.345 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=93] [job="ID:346, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.351 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 344, Old Table Name: t)"] [2025/04/05 23:46:53.363 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=939.714µs] [gotSchemaVersion=387] [phyTblIDs="[344]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:53.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=387] [2025/04/05 23:46:53.369 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=387] ["take time"=8.627728ms] [job="ID:346, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.379 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=346] [tableIDs="[344]"] [comment="drop table: table ID"] [2025/04/05 23:46:53.388 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="drop table"] [2025/04/05 23:46:53.389 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=346] [conn=93] [job="ID:346, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/05 23:46:53.407 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=93] [schemaVersion=387] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896813407819677 [2025/04/05 23:46:53.423 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:348, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int);"] [2025/04/05 23:46:53.423 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:348, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:53.429 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=94] [job="ID:348, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.433 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 347, Table Name: t)"] [2025/04/05 23:46:53.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=1.36848ms] [gotSchemaVersion=388] [phyTblIDs="[347]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:53.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=388] [2025/04/05 23:46:53.452 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=8.746243ms] [job="ID:348, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.465 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=348] [conn=94] [job="ID:348, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/05 23:46:53.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=94] [schemaVersion=388] [cur_db=test] [sql="create table t(a int);"] [user=] [2025/04/05 23:46:53.590 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:53.590 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:53.590 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [] [2025/04/05 23:46:53.590 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.590 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:53.590 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:53.590 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 163, tp general"] ["take time"=48.332µs] [2025/04/05 23:46:53.590 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 164, tp general"] ["take time"=31.345µs] [2025/04/05 23:46:53.590 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.590 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.591 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:53.591 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:53.592 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d6380892-2b18-4f79-a7d6-a08ba3549436] ["take time"=2.41702ms] [2025/04/05 23:46:53.592 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.592 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:53.592 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/72f40e0f-4a91-4824-ad38-783cb7f90b0a] [2025/04/05 23:46:53.592 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [ttl-worker=task-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [originalCount=4] [newCount=0] [2025/04/05 23:46:53.593 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:53.593 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:53.593 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:53.593 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:53.593 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [ttl-worker=task-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [originalCount=4] [newCount=0] [2025/04/05 23:46:53.595 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:53.595 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:53.595 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:53.596 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:53.597 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.598 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:53.598 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=684] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e7972576-9814-497b-9989-cba8e4f5736a] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:53.599 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:53.600 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:53.599 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:53.600 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:53.599 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:53.599 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:53.600 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:53.600 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:53.600 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:53.600 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:53.600 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:53.600 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e7972576-9814-497b-9989-cba8e4f5736a] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:53.600 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [error="context canceled"] [2025/04/05 23:46:53.601 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:53.601 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:53.601 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:53.601 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:53.601 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:53.601 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [error="context canceled"] [2025/04/05 23:46:53.601 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [2025/04/05 23:46:53.601 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [error="context canceled"] [2025/04/05 23:46:53.602 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d6380892-2b18-4f79-a7d6-a08ba3549436] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:53.617 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:53.617 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:53.669 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:53.669 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:53.682 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.734392ms] [2025/04/05 23:46:53.684 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:53.684 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:53.684 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:53.684 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:53.684 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:53.684 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:53.684 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:53.684 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:53.684 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:53.684 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-43] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:53.684 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:53.684 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:53.685 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRollbackTxnState (0.66s) === NAME === RUN TestTxnInfoWithPreparedStmt [2025/04/05 23:46:53.690 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:53.691 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:53.691 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:53.692 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:53.692 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:53.692 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:53.692 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:53.692 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:53.692 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:53.693 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:53.693 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:53.696 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:53.701 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:53.702 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:53.702 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:53.711 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:53.721 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:53.758 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=446] ["lease id"=2231960856613562] [2025/04/05 23:46:53.760 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:53.854 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=388] ["elapsed time"=90.595132ms] [2025/04/05 23:46:53.854 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:53.858 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:53.866 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:53.866 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:53.868 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:53.869 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:53.869 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184750637056/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:53.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:53.870 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:53.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:53.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:53.870 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:53.870 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [2025/04/05 23:46:53.871 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661350c] [ownerID=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [op=none] [2025/04/05 23:46:53.871 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:53.872 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [ownerKey=/tidb/ddl/fg/owner/3eaa96085661350c] [currRev=2006] [2025/04/05 23:46:53.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:53.872 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=27670bd3-4683-417a-853c-e421063a2526] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:53.873 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613650] [ownerID=27670bd3-4683-417a-853c-e421063a2526] [op=none] [2025/04/05 23:46:53.873 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:53.873 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [2025/04/05 23:46:53.873 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [ownerKey=/tidb/br-stream/owner/6f18960856613650] [currRev=2007] [2025/04/05 23:46:53.874 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661350c] [ownerID=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [op=none] [2025/04/05 23:46:53.874 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [op=none] [2025/04/05 23:46:53.874 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:53.880 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:53.880 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:53.881 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:53.881 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:53.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:53.901 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:53.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:53.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:53.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:53.907 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:53.907 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:53.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:53.907 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:53.907 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:53.907 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:53.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:53.908 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:53.910 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:53.910 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:53.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:53.912 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:53.912 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/223196085661356e] [ownerID=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [op=none] [2025/04/05 23:46:53.912 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:53.913 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [ownerKey=/tidb/stats/owner/223196085661356e] [currRev=2009] [2025/04/05 23:46:53.915 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/31c723b7-907a-4bce-8774-2336869f8ed4] [2025/04/05 23:46:53.915 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [ttl-worker=task-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [originalCount=0] [newCount=4] [2025/04/05 23:46:53.915 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [ttl-worker=task-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [originalCount=0] [newCount=4] [2025/04/05 23:46:53.915 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:53.916 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:53.916 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:53.916 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:53.916 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896813916427745 [2025/04/05 23:46:53.923 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:53.929 +00:00] [INFO] [set.go:172] ["set global var"] [conn=95] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:53.930 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.321365ms] [2025/04/05 23:46:53.930 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:53.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:53.953 +00:00] [INFO] [set.go:172] ["set global var"] [conn=95] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:53.956 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=95] [schemaVersion=388] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:53.970 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:349, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:53.970 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:349, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:53.977 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=95] [job="ID:349, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:53.993 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.735459ms] [gotSchemaVersion=389] [phyTblIDs="[347]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:53.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=389] [2025/04/05 23:46:53.999 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=389] ["take time"=9.719002ms] [job="ID:349, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.009 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=95] [job="ID:349, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.024 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.797725ms] [gotSchemaVersion=390] [phyTblIDs="[347]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:54.028 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=390] [2025/04/05 23:46:54.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=390] ["take time"=9.667498ms] [job="ID:349, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=95] [job="ID:349, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.048 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 347, Old Table Name: t)"] [2025/04/05 23:46:54.060 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=946.49µs] [gotSchemaVersion=391] [phyTblIDs="[347]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:54.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=391] [2025/04/05 23:46:54.066 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=391] ["take time"=8.579424ms] [job="ID:349, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.076 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=349] [tableIDs="[347]"] [comment="drop table: table ID"] [2025/04/05 23:46:54.083 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=349] [jobType="drop table"] [2025/04/05 23:46:54.085 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=349] [conn=95] [job="ID:349, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:53.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=349] [2025/04/05 23:46:54.108 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=95] [schemaVersion=391] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896814109073624 [2025/04/05 23:46:54.125 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:351, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:54.125 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:351, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/05 23:46:54.131 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=351] [conn=96] [job="ID:351, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.135 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 350, Table Name: t)"] [2025/04/05 23:46:54.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.620972ms] [gotSchemaVersion=392] [phyTblIDs="[350]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:54.154 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=351] [version=392] [2025/04/05 23:46:54.155 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=392] ["take time"=9.398165ms] [job="ID:351, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.167 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=351] [conn=96] [job="ID:351, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.179 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=351] [2025/04/05 23:46:54.179 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=96] [schemaVersion=392] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/05 23:46:54.286 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:54.286 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:54.286 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [] [2025/04/05 23:46:54.286 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.286 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:54.286 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:54.286 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 165, tp general"] ["take time"=46.053µs] [2025/04/05 23:46:54.287 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 166, tp general"] ["take time"=37.155µs] [2025/04/05 23:46:54.287 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.287 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.288 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:54.288 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:54.289 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] ["take time"=2.542315ms] [2025/04/05 23:46:54.289 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.289 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:54.289 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/31c723b7-907a-4bce-8774-2336869f8ed4] [2025/04/05 23:46:54.289 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [ttl-worker=task-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [originalCount=4] [newCount=0] [2025/04/05 23:46:54.289 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:54.289 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:54.289 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:54.289 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:54.289 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [ttl-worker=task-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [originalCount=4] [newCount=0] [2025/04/05 23:46:54.291 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:54.292 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:54.292 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:54.292 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:54.295 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.295 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:54.296 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=446] [2025/04/05 23:46:54.296 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [] [2025/04/05 23:46:54.296 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:54.296 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:54.296 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=27670bd3-4683-417a-853c-e421063a2526] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:54.297 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:54.297 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:54.297 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:54.298 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:54.298 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:54.297 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:54.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:54.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:54.297 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:54.297 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [] [2025/04/05 23:46:54.298 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:54.298 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:54.298 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=27670bd3-4683-417a-853c-e421063a2526] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:54.298 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:54.298 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:54.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:54.298 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.298 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:54.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:54.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:54.298 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.298 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:54.298 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [error="context canceled"] [2025/04/05 23:46:54.298 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:54.298 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:54.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:54.299 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [error="context canceled"] [2025/04/05 23:46:54.299 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [2025/04/05 23:46:54.359 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=dc5660b1-33df-4aec-a0b5-aaf3185bf7f3] [error="context canceled"] [2025/04/05 23:46:54.359 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:54.359 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:54.369 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.128768ms] [2025/04/05 23:46:54.372 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:54.372 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:54.372 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:54.372 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:54.372 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:54.372 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:54.372 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:54.372 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-44] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:54.372 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:54.372 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:54.372 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:54.372 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:54.373 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestTxnInfoWithPreparedStmt (0.69s) === NAME === RUN TestTxnInfoWithScalarSubquery [2025/04/05 23:46:54.379 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:54.380 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:54.381 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:54.382 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:54.382 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:54.382 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:54.382 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:54.382 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:54.382 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:54.383 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:54.383 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:54.387 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:54.393 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:54.394 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:54.395 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:54.405 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:54.415 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:54.449 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1911] ["lease id"=6f18960856613666] [2025/04/05 23:46:54.451 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:54.542 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=392] ["elapsed time"=88.72311ms] [2025/04/05 23:46:54.542 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:54.545 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:54.550 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=31141fad-fa5f-419a-af65-f374986fb2de] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:54.550 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:54.552 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:54.553 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:54.553 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184801837056/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:54.554 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:54.554 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:54.554 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [2025/04/05 23:46:54.556 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613588] [ownerID=31141fad-fa5f-419a-af65-f374986fb2de] [op=none] [2025/04/05 23:46:54.556 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:54.556 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [ownerKey=/tidb/ddl/fg/owner/2231960856613588] [currRev=2036] [2025/04/05 23:46:54.557 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:54.557 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:54.557 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:54.557 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96085661352a] [ownerID=05885909-473c-4d52-93e5-1ef2bd020a6f] [op=none] [2025/04/05 23:46:54.557 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [2025/04/05 23:46:54.557 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [ownerKey=/tidb/br-stream/owner/3eaa96085661352a] [currRev=2037] [2025/04/05 23:46:54.558 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613588] [ownerID=31141fad-fa5f-419a-af65-f374986fb2de] [op=none] [2025/04/05 23:46:54.558 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [op=none] [2025/04/05 23:46:54.558 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:54.563 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:54.563 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:54.564 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:54.565 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:54.573 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:54.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:54.586 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:54.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:54.587 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:54.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:54.587 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:54.587 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:54.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:54.587 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:54.587 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:54.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:54.588 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:54.589 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:54.589 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:54.589 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:54.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:54.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:54.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:54.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:54.591 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:54.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:54.594 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:54.594 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896814594856268 [2025/04/05 23:46:54.594 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b7543775-6b48-4f54-ba17-648149dc4a9b] [2025/04/05 23:46:54.595 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:54.595 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [ttl-worker=task-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [originalCount=0] [newCount=4] [2025/04/05 23:46:54.595 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [ttl-worker=task-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [originalCount=0] [newCount=4] [2025/04/05 23:46:54.595 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:54.601 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:54.718 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=129.669198ms] [2025/04/05 23:46:54.718 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:54.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:54.724 +00:00] [INFO] [set.go:172] ["set global var"] [conn=97] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:54.737 +00:00] [INFO] [set.go:172] ["set global var"] [conn=97] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:54.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=97] [schemaVersion=392] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:54.755 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:54.754 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:54.761 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=97] [job="ID:352, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.576214ms] [gotSchemaVersion=393] [phyTblIDs="[350]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:54.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=393] [2025/04/05 23:46:54.781 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=393] ["take time"=8.933443ms] [job="ID:352, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=97] [job="ID:352, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.808 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=1.559983ms] [gotSchemaVersion=394] [phyTblIDs="[350]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:54.812 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=394] [2025/04/05 23:46:54.814 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=394] ["take time"=8.684891ms] [job="ID:352, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=97] [job="ID:352, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.829 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 350, Old Table Name: t)"] [2025/04/05 23:46:54.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=1.248605ms] [gotSchemaVersion=395] [phyTblIDs="[350]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:54.847 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=395] [2025/04/05 23:46:54.848 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=395] ["take time"=8.558142ms] [job="ID:352, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.857 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=352] [tableIDs="[350]"] [comment="drop table: table ID"] [2025/04/05 23:46:54.864 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="drop table"] [2025/04/05 23:46:54.865 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=97] [job="ID:352, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.882 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/05 23:46:54.882 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=97] [schemaVersion=395] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896814883105647 [2025/04/05 23:46:54.899 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:54.899 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/05 23:46:54.906 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=98] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.911 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 353, Table Name: t)"] [2025/04/05 23:46:54.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=1.479639ms] [gotSchemaVersion=396] [phyTblIDs="[353]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:54.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=396] [2025/04/05 23:46:54.930 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=396] ["take time"=8.381833ms] [job="ID:354, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:54.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.942 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=98] [job="ID:354, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:54.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:54.952 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/05 23:46:54.952 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=98] [schemaVersion=396] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/05 23:46:55.066 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:55.066 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:55.066 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [] [2025/04/05 23:46:55.066 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.066 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:55.066 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:55.066 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 167, tp general"] ["take time"=53.899µs] [2025/04/05 23:46:55.066 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 168, tp general"] ["take time"=39.982µs] [2025/04/05 23:46:55.066 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.066 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.068 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:55.068 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:55.069 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=31141fad-fa5f-419a-af65-f374986fb2de] ["take time"=2.8437ms] [2025/04/05 23:46:55.069 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.069 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:55.069 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b7543775-6b48-4f54-ba17-648149dc4a9b] [2025/04/05 23:46:55.069 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [ttl-worker=task-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [originalCount=4] [newCount=0] [2025/04/05 23:46:55.069 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.069 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.069 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.069 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.069 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [ttl-worker=task-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [originalCount=4] [newCount=0] [2025/04/05 23:46:55.072 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.072 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.072 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.072 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.074 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.074 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1911] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.075 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.075 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:55.076 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:55.075 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:55.076 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:55.075 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:55.076 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:55.077 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:55.076 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:55.077 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [error="context canceled"] [2025/04/05 23:46:55.077 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.078 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:55.078 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:55.078 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:55.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:55.078 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=05885909-473c-4d52-93e5-1ef2bd020a6f] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:55.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:55.078 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:55.078 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [error="context canceled"] [2025/04/05 23:46:55.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:55.078 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:55.078 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:55.078 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:55.079 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [error="context canceled"] [2025/04/05 23:46:55.079 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [2025/04/05 23:46:55.099 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:55.099 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:55.139 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=31141fad-fa5f-419a-af65-f374986fb2de] [error="context canceled"] [2025/04/05 23:46:55.139 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:55.139 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:55.150 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.679005ms] [2025/04/05 23:46:55.153 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:55.153 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:55.153 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:55.153 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:55.153 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:55.153 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:55.153 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:55.153 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-45] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:55.153 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:55.153 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:55.153 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:55.153 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:55.155 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestTxnInfoWithScalarSubquery (0.78s) === NAME === RUN TestTxnInfoWithPSProtocol [2025/04/05 23:46:55.160 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:55.161 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:55.162 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:55.162 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:55.162 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:55.163 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:55.163 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:55.163 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:55.163 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:55.163 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:55.163 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:55.167 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:55.173 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:55.174 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:55.174 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:55.184 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:55.199 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:55.233 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1286] ["lease id"=223196085661359f] [2025/04/05 23:46:55.235 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:55.329 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=396] ["elapsed time"=90.513727ms] [2025/04/05 23:46:55.329 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:55.337 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:55.344 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1a636967-c318-4ad5-b178-7b707f60b92f] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:55.344 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:55.346 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.347 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:55.347 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184817684480/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:55.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:55.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:55.348 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:55.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:55.348 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:55.348 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [2025/04/05 23:46:55.350 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613684] [ownerID=1a636967-c318-4ad5-b178-7b707f60b92f] [op=none] [2025/04/05 23:46:55.350 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.350 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [ownerKey=/tidb/ddl/fg/owner/6f18960856613684] [currRev=2066] [2025/04/05 23:46:55.351 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:55.351 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bc79cb73-5550-437d-b065-a7767366f884] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:55.351 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:55.351 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613686] [ownerID=bc79cb73-5550-437d-b065-a7767366f884] [op=none] [2025/04/05 23:46:55.351 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [2025/04/05 23:46:55.351 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [ownerKey=/tidb/br-stream/owner/6f18960856613686] [currRev=2067] [2025/04/05 23:46:55.352 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f18960856613684] [ownerID=1a636967-c318-4ad5-b178-7b707f60b92f] [op=none] [2025/04/05 23:46:55.352 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [op=none] [2025/04/05 23:46:55.352 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:55.358 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:55.359 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:55.360 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:55.369 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:55.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:55.380 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:55.380 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:55.380 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:55.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:55.381 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:55.381 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:55.381 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:55.381 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:55.381 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:55.382 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:55.382 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:55.383 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:55.383 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:55.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:55.385 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:55.387 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a1728aa8-e64c-4291-982d-6926b5d778bf] [2025/04/05 23:46:55.387 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [ttl-worker=task-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [originalCount=0] [newCount=4] [2025/04/05 23:46:55.387 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [ttl-worker=task-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [originalCount=0] [newCount=4] [2025/04/05 23:46:55.388 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.388 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:55.388 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:55.388 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896815389073109 [2025/04/05 23:46:55.389 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:55.397 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:55.403 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.671476ms] [2025/04/05 23:46:55.403 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:55.403 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:55.410 +00:00] [INFO] [set.go:172] ["set global var"] [conn=99] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:55.412 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=99] [schemaVersion=396] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:55.424 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:55.424 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:55.430 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=99] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.445 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=1.932721ms] [gotSchemaVersion=397] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:55.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=397] [2025/04/05 23:46:55.450 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=397] ["take time"=9.610688ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.460 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=99] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=1.900638ms] [gotSchemaVersion=398] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:55.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=398] [2025/04/05 23:46:55.479 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=398] ["take time"=9.288345ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=99] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.495 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 353, Old Table Name: t)"] [2025/04/05 23:46:55.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=961.386µs] [gotSchemaVersion=399] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:55.511 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=399] [2025/04/05 23:46:55.512 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=399] ["take time"=7.733362ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.521 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop table: table ID"] [2025/04/05 23:46:55.527 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/05 23:46:55.528 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=99] [job="ID:355, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.545 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/05 23:46:55.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=99] [schemaVersion=399] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896815546062804 [2025/04/05 23:46:55.561 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:55.561 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key)"] [2025/04/05 23:46:55.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=100] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.571 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 356, Table Name: t)"] [2025/04/05 23:46:55.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.2277ms] [gotSchemaVersion=400] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:55.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=400] [2025/04/05 23:46:55.588 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=400] ["take time"=8.012932ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.598 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=100] [job="ID:357, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:55.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:55.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/05 23:46:55.608 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=100] [schemaVersion=400] [cur_db=test] [sql="create table t (a int primary key)"] [user=] [2025/04/05 23:46:55.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152086825762828] [2025/04/05 23:46:55.819 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:55.819 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [] [2025/04/05 23:46:55.819 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:55.819 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.819 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:55.820 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:55.820 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 169, tp general"] ["take time"=48.873µs] [2025/04/05 23:46:55.820 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 170, tp general"] ["take time"=33.619µs] [2025/04/05 23:46:55.820 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.820 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.821 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:55.821 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:55.822 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1a636967-c318-4ad5-b178-7b707f60b92f] ["take time"=2.409526ms] [2025/04/05 23:46:55.822 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.822 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:55.822 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a1728aa8-e64c-4291-982d-6926b5d778bf] [2025/04/05 23:46:55.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [ttl-worker=task-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [originalCount=4] [newCount=0] [2025/04/05 23:46:55.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:55.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [ttl-worker=task-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [originalCount=4] [newCount=0] [2025/04/05 23:46:55.824 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:55.831 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.831 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:55.832 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1286] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:55.833 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:55.833 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:55.833 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [2025/04/05 23:46:55.833 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:55.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:55.833 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bc79cb73-5550-437d-b065-a7767366f884] [2025/04/05 23:46:55.833 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:55.834 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:55.834 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [error="context canceled"] [2025/04/05 23:46:55.834 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.835 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:55.835 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:55.835 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bc79cb73-5550-437d-b065-a7767366f884] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:55.835 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:55.835 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:55.835 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:55.835 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:55.835 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [error="context canceled"] [2025/04/05 23:46:55.835 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:55.835 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:55.835 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:55.835 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:55.836 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [error="context canceled"] [2025/04/05 23:46:55.836 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [2025/04/05 23:46:55.853 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:55.853 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:55.896 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1a636967-c318-4ad5-b178-7b707f60b92f] [error="context canceled"] [2025/04/05 23:46:55.896 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:55.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:55.909 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.513381ms] [2025/04/05 23:46:55.912 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:55.912 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:55.912 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:55.912 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:55.912 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:55.912 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:55.912 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:55.912 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:55.912 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-46] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:55.912 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:55.912 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:55.912 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:55.913 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestTxnInfoWithPSProtocol (0.76s) === NAME === RUN TestInTxnPSProtoPointGet [2025/04/05 23:46:55.919 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:55.920 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:55.921 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:55.922 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:55.922 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:55.922 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:55.922 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:55.922 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:55.922 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:55.923 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:55.923 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:55.927 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:55.933 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:55.933 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:55.934 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:55.945 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:55.955 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:55.990 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=404] ["lease id"=6f1896085661369b] [2025/04/05 23:46:55.992 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:56.078 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=400] ["elapsed time"=82.329702ms] [2025/04/05 23:46:56.078 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:56.080 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:56.087 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=60151b27-81cf-4e28-bc00-904fc5f2473d] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:56.087 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:56.089 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.090 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:56.090 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184817696768/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:56.090 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:56.090 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:56.090 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [2025/04/05 23:46:56.092 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566136a0] [ownerID=60151b27-81cf-4e28-bc00-904fc5f2473d] [op=none] [2025/04/05 23:46:56.092 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.092 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [ownerKey=/tidb/ddl/fg/owner/6f189608566136a0] [currRev=2095] [2025/04/05 23:46:56.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:56.093 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:56.093 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa96085661355f] [ownerID=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [op=none] [2025/04/05 23:46:56.094 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [2025/04/05 23:46:56.094 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [ownerKey=/tidb/br-stream/owner/3eaa96085661355f] [currRev=2096] [2025/04/05 23:46:56.094 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:56.094 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566136a0] [ownerID=60151b27-81cf-4e28-bc00-904fc5f2473d] [op=none] [2025/04/05 23:46:56.095 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [op=none] [2025/04/05 23:46:56.095 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:56.100 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:56.100 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:56.102 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:56.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:56.118 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:56.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:56.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:56.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:56.123 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:56.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:56.123 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:56.123 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:56.123 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:56.123 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:56.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:56.124 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:56.126 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:56.126 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:56.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:56.128 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:56.130 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4d662484-da02-4a3d-a5c8-dc2267ba4627] [2025/04/05 23:46:56.130 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [ttl-worker=task-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [originalCount=0] [newCount=4] [2025/04/05 23:46:56.130 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [ttl-worker=task-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [originalCount=0] [newCount=4] [2025/04/05 23:46:56.130 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:56.131 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:56.131 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896816131593756 [2025/04/05 23:46:56.132 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:56.140 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:56.150 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.488308ms] [2025/04/05 23:46:56.150 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:56.150 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:56.156 +00:00] [INFO] [set.go:172] ["set global var"] [conn=101] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:56.175 +00:00] [INFO] [set.go:172] ["set global var"] [conn=101] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:56.179 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=101] [schemaVersion=400] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:56.201 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:358, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:56.201 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:358, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:56.207 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=358] [conn=101] [job="ID:358, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=2.400429ms] [gotSchemaVersion=401] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:56.230 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=358] [version=401] [2025/04/05 23:46:56.232 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=401] ["take time"=11.627978ms] [job="ID:358, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.243 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=358] [conn=101] [job="ID:358, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.259 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=1.661039ms] [gotSchemaVersion=402] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:56.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=358] [version=402] [2025/04/05 23:46:56.265 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=402] ["take time"=8.987411ms] [job="ID:358, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.274 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=358] [conn=101] [job="ID:358, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.280 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 356, Old Table Name: t)"] [2025/04/05 23:46:56.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.260732ms] [gotSchemaVersion=403] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:56.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=358] [version=403] [2025/04/05 23:46:56.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=11.455232ms] [job="ID:358, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.313 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=358] [tableIDs="[356]"] [comment="drop table: table ID"] [2025/04/05 23:46:56.321 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=358] [jobType="drop table"] [2025/04/05 23:46:56.322 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=358] [conn=101] [job="ID:358, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.339 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=358] [2025/04/05 23:46:56.340 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=101] [schemaVersion=403] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896816340511883 [2025/04/05 23:46:56.358 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:360, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:56.358 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:360, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(c1 int primary key, c2 int, c3 int)"] [2025/04/05 23:46:56.364 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=360] [conn=102] [job="ID:360, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.369 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 359, Table Name: t1)"] [2025/04/05 23:46:56.385 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=1.532213ms] [gotSchemaVersion=404] [phyTblIDs="[359]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:56.389 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=360] [version=404] [2025/04/05 23:46:56.390 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=404] ["take time"=8.631167ms] [job="ID:360, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=360] [conn=102] [job="ID:360, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.414 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=360] [2025/04/05 23:46:56.414 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=102] [schemaVersion=404] [cur_db=test] [sql="create table t1(c1 int primary key, c2 int, c3 int)"] [user=] [2025/04/05 23:46:56.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152087035478025] [2025/04/05 23:46:56.436 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [] [2025/04/05 23:46:56.436 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:56.436 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:56.436 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.436 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:56.436 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:56.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 171, tp general"] ["take time"=53.128µs] [2025/04/05 23:46:56.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 172, tp general"] ["take time"=37.04µs] [2025/04/05 23:46:56.436 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.436 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.437 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:56.437 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:56.439 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=60151b27-81cf-4e28-bc00-904fc5f2473d] ["take time"=2.965526ms] [2025/04/05 23:46:56.439 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.439 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:56.439 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4d662484-da02-4a3d-a5c8-dc2267ba4627] [2025/04/05 23:46:56.439 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [ttl-worker=task-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [originalCount=4] [newCount=0] [2025/04/05 23:46:56.439 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:56.439 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:56.439 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:56.439 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:56.439 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [ttl-worker=task-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [originalCount=4] [newCount=0] [2025/04/05 23:46:56.442 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:56.442 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:56.442 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:56.442 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:56.444 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.444 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=404] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:56.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:56.445 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:56.445 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:56.445 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [] [2025/04/05 23:46:56.445 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:56.446 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:56.446 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:56.446 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:56.446 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:56.445 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:56.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:56.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:56.445 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:56.445 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [error="context canceled"] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:56.446 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:56.446 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:56.445 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:56.446 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:56.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:56.447 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:56.447 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=91fd0540-bfb7-4820-b2cb-9c34c65cc187] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:56.447 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:56.447 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:56.447 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:56.447 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:56.447 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:56.447 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:56.447 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [error="context canceled"] [2025/04/05 23:46:56.447 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:56.447 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:56.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:56.448 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [error="context canceled"] [2025/04/05 23:46:56.448 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [2025/04/05 23:46:56.465 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:56.465 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:56.515 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=60151b27-81cf-4e28-bc00-904fc5f2473d] [error="context canceled"] [2025/04/05 23:46:56.515 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:56.515 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:56.526 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.991488ms] [2025/04/05 23:46:56.528 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:56.528 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:56.528 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:56.528 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:56.528 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:56.528 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:56.528 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:56.528 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:56.528 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-47] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:56.528 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:56.528 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:56.528 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:56.529 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInTxnPSProtoPointGet (0.62s) === NAME === RUN TestTxnGoString [2025/04/05 23:46:56.535 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:56.535 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:56.536 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:56.537 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:56.537 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:56.537 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:56.537 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:56.537 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:56.537 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:56.538 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:56.538 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:56.542 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:56.547 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:56.548 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:56.549 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:56.558 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:56.568 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:56.609 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=311] ["lease id"=22319608566135d5] [2025/04/05 23:46:56.611 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:56.703 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=404] ["elapsed time"=89.248561ms] [2025/04/05 23:46:56.703 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:56.705 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:56.712 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:56.712 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:56.713 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:56.714 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:56.715 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184817713152/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:56.715 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:56.715 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [2025/04/05 23:46:56.717 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661357d] [ownerID=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [op=none] [2025/04/05 23:46:56.717 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:56.717 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [ownerKey=/tidb/ddl/fg/owner/3eaa96085661357d] [currRev=2126] [2025/04/05 23:46:56.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:56.717 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:56.718 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189608566136ba] [ownerID=7432f45b-86a3-4480-91dc-2f0270fe4dab] [op=none] [2025/04/05 23:46:56.718 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [2025/04/05 23:46:56.718 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [ownerKey=/tidb/br-stream/owner/6f189608566136ba] [currRev=2126] [2025/04/05 23:46:56.718 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:56.719 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661357d] [ownerID=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [op=none] [2025/04/05 23:46:56.719 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [op=none] [2025/04/05 23:46:56.719 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:56.725 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestTxnGoString\n\ttests/realtikvtest/txntest/txn_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:56.726 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:56.726 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:56.727 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:56.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:56.743 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:56.748 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:56.748 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:56.748 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:56.748 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:56.748 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:56.748 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:56.748 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:56.748 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:56.748 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:56.749 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:56.749 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:56.750 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:56.750 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:56.750 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:56.750 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:56.750 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:56.750 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:56.751 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:56.751 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:56.751 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:56.753 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:56.755 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/81d94eae-de43-4cc4-9c2e-5162d06b14b0] [2025/04/05 23:46:56.756 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [ttl-worker=task-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [originalCount=0] [newCount=4] [2025/04/05 23:46:56.756 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [ttl-worker=task-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [originalCount=0] [newCount=4] [2025/04/05 23:46:56.756 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:56.757 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:56.757 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:56.757 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:46:56.757 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743896816757515135 [2025/04/05 23:46:56.764 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:56.772 +00:00] [INFO] [set.go:172] ["set global var"] [conn=103] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:56.773 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.154896ms] [2025/04/05 23:46:56.773 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:56.773 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:56.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=103] [schemaVersion=404] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 23:46:56.790 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:56.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 23:46:56.793 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319608566135dd] [ownerID=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [op=none] [2025/04/05 23:46:56.793 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:56.793 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [ownerKey=/tidb/bindinfo/owner/22319608566135dd] [currRev=2130] [2025/04/05 23:46:56.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=103] [job="ID:361, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=3.240053ms] [gotSchemaVersion=405] [phyTblIDs="[359]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:56.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=405] [2025/04/05 23:46:56.822 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=405] ["take time"=12.355959ms] [job="ID:361, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.832 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=103] [job="ID:361, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=2.122071ms] [gotSchemaVersion=406] [phyTblIDs="[359]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:56.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=406] [2025/04/05 23:46:56.854 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=406] ["take time"=9.780465ms] [job="ID:361, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=103] [job="ID:361, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.869 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 359, Old Table Name: t1)"] [2025/04/05 23:46:56.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=970.251µs] [gotSchemaVersion=407] [phyTblIDs="[359]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:56.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=407] [2025/04/05 23:46:56.888 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=8.371362ms] [job="ID:361, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.898 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[359]"] [comment="drop table: table ID"] [2025/04/05 23:46:56.906 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="drop table"] [2025/04/05 23:46:56.907 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=103] [job="ID:361, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.926 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/05 23:46:56.926 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=103] [schemaVersion=407] [cur_db=test] [sql="drop table `t1`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896816926891124 [2025/04/05 23:46:56.938 +00:00] [INFO] [set.go:172] ["set global var"] [conn=104] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:56.941 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=104] [schemaVersion=407] [cur_db=test] [sql="drop table if exists gostr;"] [user=] [2025/04/05 23:46:56.954 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:56.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table gostr (id int);"] [2025/04/05 23:46:56.960 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=104] [job="ID:363, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.964 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 362, Table Name: gostr)"] [2025/04/05 23:46:56.977 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.318541ms] [gotSchemaVersion=408] [phyTblIDs="[362]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:56.981 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=408] [2025/04/05 23:46:56.982 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=408] ["take time"=8.394297ms] [job="ID:363, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:56.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:56.993 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=104] [job="ID:363, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:56.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/05 23:46:57.004 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=104] [schemaVersion=408] [cur_db=test] [sql="create table gostr (id int);"] [user=] [2025/04/05 23:46:57.011 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:57.011 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [] [2025/04/05 23:46:57.011 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:57.011 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.011 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:57.011 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:57.011 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 173, tp general"] ["take time"=47.294µs] [2025/04/05 23:46:57.012 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 174, tp general"] ["take time"=37.6µs] [2025/04/05 23:46:57.012 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.012 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.013 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:57.013 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:57.014 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] ["take time"=2.523778ms] [2025/04/05 23:46:57.014 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.014 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:57.014 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/81d94eae-de43-4cc4-9c2e-5162d06b14b0] [2025/04/05 23:46:57.014 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [ttl-worker=task-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [originalCount=4] [newCount=0] [2025/04/05 23:46:57.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.014 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.014 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [ttl-worker=task-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [originalCount=4] [newCount=0] [2025/04/05 23:46:57.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.017 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.019 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.019 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=311] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:57.020 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:57.020 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:57.020 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.021 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:57.021 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:57.020 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:57.021 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:57.021 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [2025/04/05 23:46:57.021 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [error="context canceled"] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.022 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7432f45b-86a3-4480-91dc-2f0270fe4dab] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:57.022 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:57.022 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:57.022 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:57.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [] [2025/04/05 23:46:57.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:57.022 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:57.022 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [2025/04/05 23:46:57.022 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [error="context canceled"] [2025/04/05 23:46:57.023 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:57.023 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:57.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:57.023 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [error="context canceled"] [2025/04/05 23:46:57.023 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=9e10ee90-8100-4073-8e8f-ce9b198ad4c6] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:57.081 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:57.081 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:57.092 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.350579ms] [2025/04/05 23:46:57.095 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:57.095 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:57.095 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:57.095 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:57.095 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:57.095 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:57.095 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:57.095 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:57.095 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:57.095 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-48] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:57.095 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:57.095 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:57.096 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestTxnGoString (0.57s) === NAME === RUN TestSetTransactionIsolationOneSho [2025/04/05 23:46:57.101 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:57.101 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:57.102 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:57.102 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:57.102 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:57.103 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:57.103 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:57.103 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:57.103 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:57.103 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:57.103 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:57.107 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:57.112 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:57.112 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:57.113 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:57.123 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:57.132 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:57.168 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1428] ["lease id"=22319608566135f3] [2025/04/05 23:46:57.170 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:57.254 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=408] ["elapsed time"=81.786021ms] [2025/04/05 23:46:57.254 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:57.257 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:57.262 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7b305107-2495-4b36-a60f-b9adf490ef6c] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:57.262 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:57.264 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.265 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:57.265 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184837722112/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:57.265 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:57.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:57.266 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:57.266 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [2025/04/05 23:46:57.267 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566136d2] [ownerID=7b305107-2495-4b36-a60f-b9adf490ef6c] [op=none] [2025/04/05 23:46:57.267 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.267 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [ownerKey=/tidb/ddl/fg/owner/6f189608566136d2] [currRev=2156] [2025/04/05 23:46:57.268 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:57.268 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:57.268 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:57.268 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189608566136d4] [ownerID=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [op=none] [2025/04/05 23:46:57.269 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [2025/04/05 23:46:57.269 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [ownerKey=/tidb/br-stream/owner/6f189608566136d4] [currRev=2157] [2025/04/05 23:46:57.269 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566136d2] [ownerID=7b305107-2495-4b36-a60f-b9adf490ef6c] [op=none] [2025/04/05 23:46:57.269 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [op=none] [2025/04/05 23:46:57.269 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:57.274 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionIsolationOneSho\n\ttests/realtikvtest/txntest/txn_test.go:127\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:57.274 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.275 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:57.275 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:57.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:57.290 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:57.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:57.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:57.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:57.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:57.294 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:57.294 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:57.294 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:57.294 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:57.294 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:57.295 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:57.295 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:57.296 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:57.296 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:57.296 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:57.296 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:57.297 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:57.298 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:57.300 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f50c1831-579a-489f-87a4-3efcc473e8d6] [2025/04/05 23:46:57.300 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [ttl-worker=task-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [originalCount=0] [newCount=4] [2025/04/05 23:46:57.301 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [ttl-worker=task-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [originalCount=0] [newCount=4] [2025/04/05 23:46:57.301 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.301 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:57.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:57.301 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:57.301 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896817301842666 [2025/04/05 23:46:57.307 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:57.314 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.265826ms] [2025/04/05 23:46:57.314 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:57.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:57.322 +00:00] [INFO] [set.go:172] ["set global var"] [conn=105] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:57.325 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=105] [schemaVersion=408] [cur_db=test] [sql="alter table `gostr` nocache"] [user=] [2025/04/05 23:46:57.336 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:57.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `gostr`"] [2025/04/05 23:46:57.342 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=105] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=1.639887ms] [gotSchemaVersion=409] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:57.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=409] [2025/04/05 23:46:57.362 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=409] ["take time"=8.715408ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=105] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=1.488385ms] [gotSchemaVersion=410] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:57.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=410] [2025/04/05 23:46:57.391 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=8.422916ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.399 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=105] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.405 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 362, Old Table Name: gostr)"] [2025/04/05 23:46:57.417 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=893.032µs] [gotSchemaVersion=411] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:57.421 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=411] [2025/04/05 23:46:57.422 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=411] ["take time"=7.49363ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.431 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=364] [tableIDs="[362]"] [comment="drop table: table ID"] [2025/04/05 23:46:57.437 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/05 23:46:57.438 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=364] [conn=105] [job="ID:364, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.455 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/05 23:46:57.456 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=105] [schemaVersion=411] [cur_db=test] [sql="drop table `gostr`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896817456412684 [2025/04/05 23:46:57.459 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=106] [schemaVersion=411] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:57.471 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:366, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:57.471 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:366, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (k int, v int)"] [2025/04/05 23:46:57.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=366] [conn=106] [job="ID:366, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.479 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 365, Table Name: t)"] [2025/04/05 23:46:57.492 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=1.372408ms] [gotSchemaVersion=412] [phyTblIDs="[365]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:57.495 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=366] [version=412] [2025/04/05 23:46:57.497 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=412] ["take time"=7.981239ms] [job="ID:366, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.507 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=366] [conn=106] [job="ID:366, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.517 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=366] [2025/04/05 23:46:57.517 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=106] [schemaVersion=412] [cur_db=test] [sql="create table t (k int, v int)"] [user=] [2025/04/05 23:46:57.532 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=412] [error="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress"] [errorVerbose="[executor:1568]Transaction characteristics can't be changed while a transaction is in progress\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).setSysVariable\n\tpkg/executor/set.go:214\ngithub.com/pingcap/tidb/pkg/executor.(*SetExecutor).Next\n\tpkg/executor/set.go:107\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1080\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1565\ntests/realtikvtest/txntest/txntest_test.TestSetTransactionIsolationOneSho\n\ttests/realtikvtest/txntest/txn_test.go:159\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 106,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152087323574299\",\n \"user\": null\n}"] [2025/04/05 23:46:57.532 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:57.532 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [] [2025/04/05 23:46:57.532 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:57.532 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.532 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:57.532 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:57.532 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 175, tp general"] ["take time"=53.441µs] [2025/04/05 23:46:57.533 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 176, tp general"] ["take time"=35.715µs] [2025/04/05 23:46:57.533 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.533 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.533 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:57.534 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:57.535 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7b305107-2495-4b36-a60f-b9adf490ef6c] ["take time"=2.505609ms] [2025/04/05 23:46:57.535 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.535 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:57.535 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f50c1831-579a-489f-87a4-3efcc473e8d6] [2025/04/05 23:46:57.535 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [ttl-worker=task-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [originalCount=4] [newCount=0] [2025/04/05 23:46:57.535 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.535 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.535 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.535 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:57.535 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [ttl-worker=task-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [originalCount=4] [newCount=0] [2025/04/05 23:46:57.537 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.537 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.538 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.538 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:57.540 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.540 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1428] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:57.541 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:57.542 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:57.542 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:57.542 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:57.542 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:57.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:57.541 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:57.541 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:57.542 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:57.542 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [error="context canceled"] [2025/04/05 23:46:57.542 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.543 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:57.543 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:57.543 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:57.543 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:57.543 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=33a70a6b-fe9e-44bb-856f-ece44b2bf549] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:57.543 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:57.543 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [error="context canceled"] [2025/04/05 23:46:57.543 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:57.543 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:57.543 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:57.543 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:57.543 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:57.544 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [error="context canceled"] [2025/04/05 23:46:57.544 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [2025/04/05 23:46:57.558 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:57.558 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:57.603 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7b305107-2495-4b36-a60f-b9adf490ef6c] [error="context canceled"] [2025/04/05 23:46:57.603 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:57.603 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:57.613 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.141216ms] [2025/04/05 23:46:57.615 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:57.615 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:57.615 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:57.615 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:57.615 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:57.615 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:57.615 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:57.615 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:57.615 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-49] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:57.615 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:57.615 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:57.616 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:57.617 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestSetTransactionIsolationOneSho (0.52s) === NAME === RUN TestStatementErrorInTransaction [2025/04/05 23:46:57.621 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:57.622 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:57.622 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:57.623 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:57.623 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:57.623 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:57.623 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:57.623 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:57.623 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:57.624 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:57.624 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:57.627 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:57.632 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:57.632 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:57.633 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:57.641 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:57.650 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:57.684 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1086] ["lease id"=6f189608566136e8] [2025/04/05 23:46:57.686 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:57.770 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=412] ["elapsed time"=81.70876ms] [2025/04/05 23:46:57.770 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:57.772 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:57.777 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:57.777 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:57.778 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:57.779 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:57.779 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184839831552/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:57.779 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:57.779 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:57.779 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:57.780 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:57.780 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:57.780 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:57.780 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [2025/04/05 23:46:57.782 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566135b8] [ownerID=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [op=none] [2025/04/05 23:46:57.782 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:57.782 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566135b8] [currRev=2186] [2025/04/05 23:46:57.782 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:57.782 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:57.783 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566135ba] [ownerID=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [op=none] [2025/04/05 23:46:57.783 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [2025/04/05 23:46:57.783 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [ownerKey=/tidb/br-stream/owner/3eaa9608566135ba] [currRev=2186] [2025/04/05 23:46:57.783 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:57.783 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566135b8] [ownerID=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [op=none] [2025/04/05 23:46:57.784 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [op=none] [2025/04/05 23:46:57.784 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:57.787 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:57.787 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:57.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:57.788 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:57.797 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:57.803 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:57.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:57.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:57.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:57.807 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:57.807 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:57.807 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:57.807 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:57.807 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:57.807 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:57.808 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:57.808 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:57.809 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:57.809 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:57.809 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:57.810 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:57.810 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:57.810 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:57.812 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:57.814 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8aea1c7d-c7d2-4021-9eb3-cda35a3e91e0] [2025/04/05 23:46:57.814 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [ttl-worker=task-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [originalCount=0] [newCount=4] [2025/04/05 23:46:57.814 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [ttl-worker=task-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [originalCount=0] [newCount=4] [2025/04/05 23:46:57.814 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:57.814 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:57.814 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:57.814 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:57.814 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896817814898572 [2025/04/05 23:46:57.820 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:57.826 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.190561ms] [2025/04/05 23:46:57.826 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:57.827 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:57.833 +00:00] [INFO] [set.go:172] ["set global var"] [conn=107] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:57.851 +00:00] [INFO] [set.go:172] ["set global var"] [conn=107] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:57.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=107] [schemaVersion=412] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:57.864 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:57.864 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:46:57.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=107] [job="ID:367, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=1.726267ms] [gotSchemaVersion=413] [phyTblIDs="[365]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:57.888 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=413] [2025/04/05 23:46:57.890 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=413] ["take time"=8.972091ms] [job="ID:367, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.900 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=107] [job="ID:367, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.735074ms] [gotSchemaVersion=414] [phyTblIDs="[365]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:57.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=414] [2025/04/05 23:46:57.920 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=414] ["take time"=8.939197ms] [job="ID:367, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=107] [job="ID:367, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.935 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 365, Old Table Name: t)"] [2025/04/05 23:46:57.948 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=1.121406ms] [gotSchemaVersion=415] [phyTblIDs="[365]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:57.952 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=415] [2025/04/05 23:46:57.954 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=8.434933ms] [job="ID:367, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.963 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=367] [tableIDs="[365]"] [comment="drop table: table ID"] [2025/04/05 23:46:57.970 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=367] [jobType="drop table"] [2025/04/05 23:46:57.971 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=107] [job="ID:367, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:57.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/05 23:46:57.996 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=107] [schemaVersion=415] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896817996990390 [2025/04/05 23:46:58.016 +00:00] [INFO] [set.go:172] ["set global var"] [conn=108] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:58.030 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:369, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table statement_side_effect (c int primary key)"] [2025/04/05 23:46:58.030 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:369, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:58.036 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=369] [conn=108] [job="ID:369, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.040 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 368, Table Name: statement_side_effect)"] [2025/04/05 23:46:58.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=1.328993ms] [gotSchemaVersion=416] [phyTblIDs="[368]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:58.056 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=416] [2025/04/05 23:46:58.058 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=416] ["take time"=8.187364ms] [job="ID:369, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:57.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=369] [conn=108] [job="ID:369, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:57.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.078 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/05 23:46:58.078 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=108] [schemaVersion=416] [cur_db=test] [sql="create table statement_side_effect (c int primary key)"] [user=] [2025/04/05 23:46:58.090 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=108] [schemaVersion=416] [cur_db=test] [sql="drop table if exists test;"] [user=] [2025/04/05 23:46:58.103 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:371, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:58.103 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:371, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table test (\n \t\t a int(11) DEFAULT NULL,\n \t\t b int(11) DEFAULT NULL\n \t) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;"] [2025/04/05 23:46:58.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=371] [conn=108] [job="ID:371, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.113 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 370, Table Name: test)"] [2025/04/05 23:46:58.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=1.936831ms] [gotSchemaVersion=417] [phyTblIDs="[370]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:58.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=371] [version=417] [2025/04/05 23:46:58.134 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=417] ["take time"=8.791767ms] [job="ID:371, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.145 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=371] [conn=108] [job="ID:371, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.157 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=371] [2025/04/05 23:46:58.157 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=108] [schemaVersion=417] [cur_db=test] [sql="create table test (\n \t\t a int(11) DEFAULT NULL,\n \t\t b int(11) DEFAULT NULL\n \t) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;"] [user=] [2025/04/05 23:46:58.165 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'test.tset' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.tset' 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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestStatementErrorInTransaction\n\ttests/realtikvtest/txntest/txn_test.go:185\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="update tset set b=11 where a=1 and b=2;"] [2025/04/05 23:46:58.173 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:58.173 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [] [2025/04/05 23:46:58.173 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.173 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:58.173 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:58.173 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:58.173 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 177, tp general"] ["take time"=40.244µs] [2025/04/05 23:46:58.173 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 178, tp general"] ["take time"=48.273µs] [2025/04/05 23:46:58.173 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 179, tp general"] ["take time"=63.638µs] [2025/04/05 23:46:58.174 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.174 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.175 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:58.175 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:58.176 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] ["take time"=2.742606ms] [2025/04/05 23:46:58.176 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.176 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:58.176 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8aea1c7d-c7d2-4021-9eb3-cda35a3e91e0] [2025/04/05 23:46:58.176 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [ttl-worker=task-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [originalCount=4] [newCount=0] [2025/04/05 23:46:58.176 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.176 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.176 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.176 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.176 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [ttl-worker=task-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [originalCount=4] [newCount=0] [2025/04/05 23:46:58.178 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.178 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.178 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.179 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.181 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.181 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1086] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:58.182 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:58.182 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:58.183 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:58.183 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:58.183 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:58.182 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.183 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:58.182 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.183 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [error="context canceled"] [2025/04/05 23:46:58.183 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.183 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=75bf5632-4b2c-4a4d-8471-04f48f1588f0] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:58.183 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:58.183 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:58.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:58.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:58.183 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:58.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:58.184 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [error="context canceled"] [2025/04/05 23:46:58.184 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:58.184 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:58.184 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:58.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:58.184 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [error="context canceled"] [2025/04/05 23:46:58.184 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [2025/04/05 23:46:58.201 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:58.201 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:58.245 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f381ca12-6dc5-4ef1-8e7a-462c53875ab8] [error="context canceled"] [2025/04/05 23:46:58.245 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:58.245 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:58.255 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.34243ms] [2025/04/05 23:46:58.257 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:58.257 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:58.257 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:58.257 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:58.257 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:58.257 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:58.257 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:58.257 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:58.258 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:58.258 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:58.258 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:58.257 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-50] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:58.259 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestStatementErrorInTransaction (0.64s) === NAME === RUN TestWriteConflictMessage [2025/04/05 23:46:58.264 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:58.265 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:58.265 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:58.266 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:58.266 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:58.266 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:58.266 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:58.266 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:58.266 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:58.267 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:58.267 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:58.271 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:58.276 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:58.276 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:58.277 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:58.286 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:58.295 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:58.328 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=612] ["lease id"=223196085661362b] [2025/04/05 23:46:58.330 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:58.413 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=417] ["elapsed time"=81.472538ms] [2025/04/05 23:46:58.413 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:58.416 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:58.420 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=21765c3c-e301-494b-8245-3d1bbec99d7e] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:58.421 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:58.422 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.423 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:58.423 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184839843840/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:58.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:58.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:58.424 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:58.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:58.424 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:58.424 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:58.424 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [2025/04/05 23:46:58.425 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566135dc] [ownerID=21765c3c-e301-494b-8245-3d1bbec99d7e] [op=none] [2025/04/05 23:46:58.425 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.426 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566135dc] [currRev=2219] [2025/04/05 23:46:58.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:58.426 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:58.427 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:58.427 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613709] [ownerID=e7cd47e5-e31e-4314-8c87-96926fd73a27] [op=none] [2025/04/05 23:46:58.427 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [2025/04/05 23:46:58.427 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [ownerKey=/tidb/br-stream/owner/6f18960856613709] [currRev=2220] [2025/04/05 23:46:58.427 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566135dc] [ownerID=21765c3c-e301-494b-8245-3d1bbec99d7e] [op=none] [2025/04/05 23:46:58.427 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [op=none] [2025/04/05 23:46:58.427 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:58.432 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestWriteConflictMessage\n\ttests/realtikvtest/txntest/txn_test.go:193\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:58.432 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.433 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:58.433 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:58.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:58.449 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:58.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:58.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:58.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:58.454 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:58.454 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:58.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:58.454 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:58.454 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:58.454 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:58.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:58.455 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:58.456 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:58.456 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:58.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:58.458 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:58.460 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fa828fe8-5db8-4057-a734-10ec2426a197] [2025/04/05 23:46:58.460 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [ttl-worker=task-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [originalCount=0] [newCount=4] [2025/04/05 23:46:58.460 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [ttl-worker=task-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [originalCount=0] [newCount=4] [2025/04/05 23:46:58.460 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.461 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:58.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:58.462 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:58.462 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896818462736995 [2025/04/05 23:46:58.468 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:58.475 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.82287ms] [2025/04/05 23:46:58.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:58.475 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:58.481 +00:00] [INFO] [set.go:172] ["set global var"] [conn=109] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:46:58.492 +00:00] [INFO] [set.go:172] ["set global var"] [conn=109] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:58.495 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=109] [schemaVersion=417] [cur_db=test] [sql="alter table `statement_side_effect` nocache"] [user=] [2025/04/05 23:46:58.496 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=109] [schemaVersion=417] [cur_db=test] [sql="alter table `test` nocache"] [user=] [2025/04/05 23:46:58.508 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:58.508 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `statement_side_effect`,`test`"] [2025/04/05 23:46:58.513 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=109] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.527 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=1.563935ms] [gotSchemaVersion=418] [phyTblIDs="[368]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:58.531 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=418] [2025/04/05 23:46:58.533 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=418] ["take time"=8.525819ms] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.542 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=109] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.556 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.709433ms] [gotSchemaVersion=419] [phyTblIDs="[368]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:58.560 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=419] [2025/04/05 23:46:58.561 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=419] ["take time"=8.736954ms] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.569 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=109] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.574 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 368, Old Table Name: statement_side_effect)"] [2025/04/05 23:46:58.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=944.8µs] [gotSchemaVersion=420] [phyTblIDs="[368]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:58.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=420] [2025/04/05 23:46:58.591 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=420] ["take time"=7.578097ms] [job="ID:372, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.599 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=372] [tableIDs="[368]"] [comment="drop table: table ID"] [2025/04/05 23:46:58.604 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=372] [jobType="drop table"] [2025/04/05 23:46:58.605 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=109] [job="ID:372, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.622 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/05 23:46:58.632 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:373, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `statement_side_effect`,`test`"] [2025/04/05 23:46:58.632 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:373, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:58.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=373] [conn=109] [job="ID:373, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=420] [neededSchemaVersion=421] ["elapsed time"=1.840562ms] [gotSchemaVersion=421] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:58.655 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=373] [version=421] [2025/04/05 23:46:58.656 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=421] ["take time"=8.332553ms] [job="ID:373, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=373] [conn=109] [job="ID:373, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.677 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=421] [neededSchemaVersion=422] ["elapsed time"=1.807587ms] [gotSchemaVersion=422] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:58.680 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=373] [version=422] [2025/04/05 23:46:58.682 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=422] ["take time"=6.992873ms] [job="ID:373, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.690 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=373] [conn=109] [job="ID:373, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.696 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 370, Old Table Name: test)"] [2025/04/05 23:46:58.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=422] [neededSchemaVersion=423] ["elapsed time"=947.942µs] [gotSchemaVersion=423] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:58.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=373] [version=423] [2025/04/05 23:46:58.713 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=423] ["take time"=7.326055ms] [job="ID:373, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.721 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=373] [tableIDs="[370]"] [comment="drop table: table ID"] [2025/04/05 23:46:58.725 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=373] [jobType="drop table"] [2025/04/05 23:46:58.726 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=373] [conn=109] [job="ID:373, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.741 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=373] [2025/04/05 23:46:58.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=109] [schemaVersion=423] [cur_db=test] [sql="drop table `statement_side_effect`,`test`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896818742203282 [2025/04/05 23:46:58.760 +00:00] [INFO] [set.go:172] ["set global var"] [conn=110] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743896818761928292 [2025/04/05 23:46:58.766 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=110] [schemaVersion=423] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 23:46:58.779 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:375, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:58.778 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:375, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (c int primary key)"] [2025/04/05 23:46:58.783 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=110] [job="ID:375, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.788 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 374, Table Name: t)"] [2025/04/05 23:46:58.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=423] [neededSchemaVersion=424] ["elapsed time"=1.291117ms] [gotSchemaVersion=424] [phyTblIDs="[374]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:58.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=424] [2025/04/05 23:46:58.805 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=424] ["take time"=8.17988ms] [job="ID:375, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.816 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=375] [conn=110] [job="ID:375, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/05 23:46:58.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=110] [schemaVersion=424] [cur_db=test] [sql="create table t (c int primary key)"] [user=] [2025/04/05 23:46:58.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152087664623630] [2025/04/05 23:46:58.834 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457152087664623628, conflictStartTS=457152087664623630, conflictCommitTS=457152087664623631, key={tableID=374, tableName=test.t, handle=1}, originalKey=7480000000000001765f728000000000000001, primary={tableID=374, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001765f728000000000000001, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:46:58.834 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=457152087664623628, conflictStartTS=457152087664623630, conflictCommitTS=457152087664623631, key={tableID=374, tableName=test.t, handle=1}, originalKey=7480000000000001765f728000000000000001, primary={tableID=374, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001765f728000000000000001, reason=Optimistic [try again later]"] [2025/04/05 23:46:58.835 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=424] [error="previous statement: insert into t values (1): [kv:9007]Write conflict, txnStartTS=457152087664623628, conflictStartTS=457152087664623630, conflictCommitTS=457152087664623631, key={tableID=374, tableName=test.t, handle=1}, originalKey=7480000000000001765f728000000000000001, primary={tableID=374, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001765f728000000000000001, reason=Optimistic [try again later]"] [errorVerbose="[kv:9007]Write conflict, txnStartTS=457152087664623628, conflictStartTS=457152087664623630, conflictCommitTS=457152087664623631, key={tableID=374, tableName=test.t, handle=1}, originalKey=7480000000000001765f728000000000000001, primary={tableID=374, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001765f728000000000000001, reason=Optimistic [try again later]\nprevious statement: insert into t values (1)\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:280\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestWriteConflictMessage\n\ttests/realtikvtest/txntest/txn_test.go:203\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 110,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:46:58.847 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:58.847 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (id varchar(30) primary key clustered)"] [2025/04/05 23:46:58.852 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=377] [conn=110] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.856 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 376, Table Name: t2)"] [2025/04/05 23:46:58.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=424] [neededSchemaVersion=425] ["elapsed time"=1.334956ms] [gotSchemaVersion=425] [phyTblIDs="[376]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:58.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=377] [version=425] [2025/04/05 23:46:58.874 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=425] ["take time"=7.918043ms] [job="ID:377, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:58.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=377] [conn=110] [job="ID:377, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:58.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:58.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=377] [2025/04/05 23:46:58.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=110] [schemaVersion=425] [cur_db=test] [sql="create table t2 (id varchar(30) primary key clustered)"] [user=] [2025/04/05 23:46:58.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152087690838022] [2025/04/05 23:46:58.903 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457152087690838021, conflictStartTS=457152087690838022, conflictCommitTS=457152087690838024, key={tableID=376, tableName=test.t2, handle={hello}}, originalKey=7480000000000001785f720168656c6c6f000000fc, primary={tableID=376, tableName=test.t2, handle={hello}}, originalPrimaryKey=7480000000000001785f720168656c6c6f000000fc, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:46:58.903 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=457152087690838021, conflictStartTS=457152087690838022, conflictCommitTS=457152087690838024, key={tableID=376, tableName=test.t2, handle={hello}}, originalKey=7480000000000001785f720168656c6c6f000000fc, primary={tableID=376, tableName=test.t2, handle={hello}}, originalPrimaryKey=7480000000000001785f720168656c6c6f000000fc, reason=Optimistic [try again later]"] [2025/04/05 23:46:58.903 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=425] [error="previous statement: insert into t2 values ('hello'): [kv:9007]Write conflict, txnStartTS=457152087690838021, conflictStartTS=457152087690838022, conflictCommitTS=457152087690838024, key={tableID=376, tableName=test.t2, handle={hello}}, originalKey=7480000000000001785f720168656c6c6f000000fc, primary={tableID=376, tableName=test.t2, handle={hello}}, originalPrimaryKey=7480000000000001785f720168656c6c6f000000fc, reason=Optimistic [try again later]"] [errorVerbose="[kv:9007]Write conflict, txnStartTS=457152087690838021, conflictStartTS=457152087690838022, conflictCommitTS=457152087690838024, key={tableID=376, tableName=test.t2, handle={hello}}, originalKey=7480000000000001785f720168656c6c6f000000fc, primary={tableID=376, tableName=test.t2, handle={hello}}, originalPrimaryKey=7480000000000001785f720168656c6c6f000000fc, reason=Optimistic [try again later]\nprevious statement: insert into t2 values ('hello')\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:280\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestWriteConflictMessage\n\ttests/realtikvtest/txntest/txn_test.go:212\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 110,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:46:58.904 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [] [2025/04/05 23:46:58.904 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:58.904 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:58.904 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.904 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:58.904 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:58.904 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 180, tp general"] ["take time"=42.189µs] [2025/04/05 23:46:58.904 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 181, tp general"] ["take time"=34.425µs] [2025/04/05 23:46:58.904 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 182, tp general"] ["take time"=35.471µs] [2025/04/05 23:46:58.904 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 183, tp general"] ["take time"=30.217µs] [2025/04/05 23:46:58.904 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.904 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.905 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:58.905 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:58.906 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=21765c3c-e301-494b-8245-3d1bbec99d7e] ["take time"=2.760308ms] [2025/04/05 23:46:58.906 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.906 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:58.906 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fa828fe8-5db8-4057-a734-10ec2426a197] [2025/04/05 23:46:58.907 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [ttl-worker=task-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [originalCount=4] [newCount=0] [2025/04/05 23:46:58.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.907 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:58.907 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [ttl-worker=task-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [originalCount=4] [newCount=0] [2025/04/05 23:46:58.909 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.909 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.909 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.909 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:58.911 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.911 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=612] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:58.912 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:58.913 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:58.912 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.912 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:58.912 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:58.913 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:58.913 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:58.913 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:58.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:58.913 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:58.914 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [error="context canceled"] [2025/04/05 23:46:58.914 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.914 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e7cd47e5-e31e-4314-8c87-96926fd73a27] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:58.914 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:58.914 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:58.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:58.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:58.914 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:58.914 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:58.914 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [error="context canceled"] [2025/04/05 23:46:58.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:58.914 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:58.914 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:58.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:58.915 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [error="context canceled"] [2025/04/05 23:46:58.915 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [2025/04/05 23:46:58.915 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [error="context canceled"] [2025/04/05 23:46:58.915 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=21765c3c-e301-494b-8245-3d1bbec99d7e] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:58.930 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:58.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:58.974 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:58.974 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:58.984 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=80.519973ms] [2025/04/05 23:46:58.986 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:58.986 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:58.986 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:58.986 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:58.986 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:58.986 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:58.986 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:58.986 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:58.986 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:58.986 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:58.986 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-51] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:58.986 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:58.987 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestWriteConflictMessage (0.73s) === NAME === RUN TestDuplicateErrorMessage [2025/04/05 23:46:58.992 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:58.993 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:58.994 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:58.994 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:58.994 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:58.994 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:58.995 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:58.995 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:58.995 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:58.995 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:58.995 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:58.999 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:59.004 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:59.004 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:59.005 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:59.014 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:59.024 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:59.058 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=219] ["lease id"=6f18960856613723] [2025/04/05 23:46:59.060 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:46:59.146 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=425] ["elapsed time"=83.285637ms] [2025/04/05 23:46:59.146 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:46:59.148 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:46:59.153 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=18176c3c-5976-461a-9ab3-0b7608675606] [runWorker=true] [jobVersion=v2] [2025/04/05 23:46:59.153 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:46:59.155 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.156 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:46:59.156 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184839864320/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:46:59.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:59.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:59.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:59.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:59.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:59.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:59.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:59.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:59.157 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:46:59.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:59.157 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:59.157 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [2025/04/05 23:46:59.157 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:46:59.158 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566135ff] [ownerID=18176c3c-5976-461a-9ab3-0b7608675606] [op=none] [2025/04/05 23:46:59.159 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.159 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [ownerKey=/tidb/ddl/fg/owner/3eaa9608566135ff] [currRev=2260] [2025/04/05 23:46:59.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:59.160 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:59.160 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856613601] [ownerID=40b4d6dc-1029-4844-8070-f1fc451750cc] [op=none] [2025/04/05 23:46:59.160 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [2025/04/05 23:46:59.160 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:46:59.160 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [ownerKey=/tidb/br-stream/owner/3eaa960856613601] [currRev=2261] [2025/04/05 23:46:59.161 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9608566135ff] [ownerID=18176c3c-5976-461a-9ab3-0b7608675606] [op=none] [2025/04/05 23:46:59.161 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [op=none] [2025/04/05 23:46:59.161 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:46:59.165 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:46:59.166 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.166 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:59.167 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:46:59.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:59.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:59.187 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:59.187 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:59.187 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:46:59.187 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:59.187 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:46:59.187 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:59.187 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:46:59.187 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:46:59.187 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:46:59.188 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:59.188 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:59.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:59.190 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:46:59.190 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:59.190 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:59.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:59.192 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:46:59.194 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/33984701-5027-48d8-a3fc-011734c1a867] [2025/04/05 23:46:59.194 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:46:59.194 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [ttl-worker=task-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [originalCount=0] [newCount=4] [2025/04/05 23:46:59.194 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [ttl-worker=task-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [originalCount=0] [newCount=4] [2025/04/05 23:46:59.194 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.195 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:59.195 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:46:59.195 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896819195526707 [2025/04/05 23:46:59.200 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:46:59.206 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.842865ms] [2025/04/05 23:46:59.206 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:46:59.206 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:46:59.214 +00:00] [INFO] [set.go:172] ["set global var"] [conn=112] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:46:59.216 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=112] [schemaVersion=425] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:46:59.218 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=112] [schemaVersion=425] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/05 23:46:59.230 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:378, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:59.230 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:378, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`"] [2025/04/05 23:46:59.235 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=378] [conn=112] [job="ID:378, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.250 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=425] [neededSchemaVersion=426] ["elapsed time"=1.497542ms] [gotSchemaVersion=426] [phyTblIDs="[374]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:59.254 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=426] [2025/04/05 23:46:59.256 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=426] ["take time"=8.695783ms] [job="ID:378, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.265 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=378] [conn=112] [job="ID:378, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.280 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=426] [neededSchemaVersion=427] ["elapsed time"=1.530465ms] [gotSchemaVersion=427] [phyTblIDs="[374]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:59.284 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=427] [2025/04/05 23:46:59.285 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=427] ["take time"=8.451594ms] [job="ID:378, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=378] [conn=112] [job="ID:378, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.299 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 374, Old Table Name: t)"] [2025/04/05 23:46:59.311 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=427] [neededSchemaVersion=428] ["elapsed time"=951.879µs] [gotSchemaVersion=428] [phyTblIDs="[374]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:59.314 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=428] [2025/04/05 23:46:59.316 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=428] ["take time"=7.648293ms] [job="ID:378, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.324 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=378] [tableIDs="[374]"] [comment="drop table: table ID"] [2025/04/05 23:46:59.330 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=378] [jobType="drop table"] [2025/04/05 23:46:59.331 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=378] [conn=112] [job="ID:378, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.347 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=378] [2025/04/05 23:46:59.357 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:379, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:59.357 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:379, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`"] [2025/04/05 23:46:59.363 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=112] [job="ID:379, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=428] [neededSchemaVersion=429] ["elapsed time"=1.772622ms] [gotSchemaVersion=429] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:59.380 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=429] [2025/04/05 23:46:59.381 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=429] ["take time"=8.350152ms] [job="ID:379, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.391 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=112] [job="ID:379, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.405 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=429] [neededSchemaVersion=430] ["elapsed time"=1.802802ms] [gotSchemaVersion=430] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:59.408 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=430] [2025/04/05 23:46:59.410 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=430] ["take time"=8.129145ms] [job="ID:379, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.417 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=112] [job="ID:379, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.423 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 376, Old Table Name: t2)"] [2025/04/05 23:46:59.436 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=430] [neededSchemaVersion=431] ["elapsed time"=1.018187ms] [gotSchemaVersion=431] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:46:59.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=431] [2025/04/05 23:46:59.441 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=431] ["take time"=7.984909ms] [job="ID:379, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.449 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=379] [tableIDs="[376]"] [comment="drop table: table ID"] [2025/04/05 23:46:59.453 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=379] [jobType="drop table"] [2025/04/05 23:46:59.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=379] [conn=112] [job="ID:379, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.471 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/05 23:46:59.472 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=112] [schemaVersion=431] [cur_db=test] [sql="drop table `t`,`t2`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896819472402477 testkit.go:123: RefreshSession rand seed: 1743896819474454932 [2025/04/05 23:46:59.490 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:381, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:59.490 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:381, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (c int primary key, v int)"] [2025/04/05 23:46:59.496 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=113] [job="ID:381, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.500 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 380, Table Name: t)"] [2025/04/05 23:46:59.515 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=431] [neededSchemaVersion=432] ["elapsed time"=1.457793ms] [gotSchemaVersion=432] [phyTblIDs="[380]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:59.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=432] [2025/04/05 23:46:59.520 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=432] ["take time"=8.061808ms] [job="ID:381, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.530 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=381] [conn=113] [job="ID:381, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.541 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/05 23:46:59.541 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=113] [schemaVersion=432] [cur_db=test] [sql="create table t (c int primary key, v int)"] [user=] [2025/04/05 23:46:59.553 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:59.553 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (c int primary key, v int)"] [2025/04/05 23:46:59.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=383] [conn=113] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 382, Table Name: t2)"] [2025/04/05 23:46:59.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=432] [neededSchemaVersion=433] ["elapsed time"=1.397324ms] [gotSchemaVersion=433] [phyTblIDs="[382]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:59.580 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=383] [version=433] [2025/04/05 23:46:59.581 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=433] ["take time"=8.584773ms] [job="ID:383, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.592 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=383] [conn=113] [job="ID:383, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.602 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=383] [2025/04/05 23:46:59.602 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=113] [schemaVersion=433] [cur_db=test] [sql="create table t2 (c int primary key, v int)"] [user=] [2025/04/05 23:46:59.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152087874076681] [2025/04/05 23:46:59.609 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152087874076683] [2025/04/05 23:46:59.612 +00:00] [INFO] [adapter.go:1046] ["Transaction abort for the safety of lazy uniqueness check. Note this may not be a uniqueness violation."] [error="[kv:1062]Duplicate entry '1' for key 't.PRIMARY'"] [statement="update t set v = v + 1 where c = 1"] [conn=113] [txnStartTS=457152087874076678] [forUpdateTS=457152087874076685] [2025/04/05 23:46:59.612 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:46:59.613 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=433] [error="[executor:8147]transaction aborted because lazy uniqueness check is enabled and an error occurred: [kv:1062]Duplicate entry '1' for key 't.PRIMARY'"] [errorVerbose="[executor:8147]transaction aborted because lazy uniqueness check is enabled and an error occurred: [kv:1062]Duplicate entry '1' for key 't.PRIMARY'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML.func1\n\tpkg/executor/adapter.go:1055\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1099\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestDuplicateErrorMessage\n\ttests/realtikvtest/txntest/txn_test.go:232\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 113,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:46:59.625 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:59.625 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t3 (c int, v int, unique key i1(v))"] [2025/04/05 23:46:59.631 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=113] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.635 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 384, Table Name: t3)"] [2025/04/05 23:46:59.649 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=433] [neededSchemaVersion=434] ["elapsed time"=1.477296ms] [gotSchemaVersion=434] [phyTblIDs="[384]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:59.653 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=434] [2025/04/05 23:46:59.655 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=434] ["take time"=8.532617ms] [job="ID:385, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.665 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=385] [conn=113] [job="ID:385, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.677 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/05 23:46:59.677 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=113] [schemaVersion=434] [cur_db=test] [sql="create table t3 (c int, v int, unique key i1(v))"] [user=] [2025/04/05 23:46:59.690 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:387, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:46:59.690 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:387, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t4 (c int, v int, unique key i1(v))"] [2025/04/05 23:46:59.696 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=113] [job="ID:387, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.700 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 386, Table Name: t4)"] [2025/04/05 23:46:59.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=434] [neededSchemaVersion=435] ["elapsed time"=1.537052ms] [gotSchemaVersion=435] [phyTblIDs="[386]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:46:59.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=435] [2025/04/05 23:46:59.720 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=435] ["take time"=8.409831ms] [job="ID:387, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:46:59.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.731 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=387] [conn=113] [job="ID:387, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-05 23:46:59.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:46:59.742 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/05 23:46:59.742 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=113] [schemaVersion=435] [cur_db=test] [sql="create table t4 (c int, v int, unique key i1(v))"] [user=] [2025/04/05 23:46:59.749 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152087913660424] [2025/04/05 23:46:59.758 +00:00] [INFO] [adapter.go:1046] ["Transaction abort for the safety of lazy uniqueness check. Note this may not be a uniqueness violation."] [error="[kv:1062]Duplicate entry '1' for key 't3.i1'"] [statement="update t3 set c = c + 1 where v = 1"] [conn=113] [txnStartTS=457152087913660419] [forUpdateTS=457152087913660429] [2025/04/05 23:46:59.758 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:46:59.758 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=435] [error="[executor:8147]transaction aborted because lazy uniqueness check is enabled and an error occurred: [kv:1062]Duplicate entry '1' for key 't3.i1'"] [errorVerbose="[executor:8147]transaction aborted because lazy uniqueness check is enabled and an error occurred: [kv:1062]Duplicate entry '1' for key 't3.i1'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML.func1\n\tpkg/executor/adapter.go:1055\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML\n\tpkg/executor/adapter.go:1099\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:852\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestDuplicateErrorMessage\n\ttests/realtikvtest/txntest/txn_test.go:240\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 113,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:46:59.759 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:46:59.759 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:46:59.759 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.759 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:59.759 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 184, tp general"] ["take time"=48.068µs] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 185, tp general"] ["take time"=28.299µs] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 186, tp general"] ["take time"=38.937µs] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 187, tp general"] ["take time"=31.242µs] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 188, tp general"] ["take time"=30.957µs] [2025/04/05 23:46:59.759 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 189, tp general"] ["take time"=36.715µs] [2025/04/05 23:46:59.759 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.759 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.760 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:46:59.760 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:46:59.762 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=18176c3c-5976-461a-9ab3-0b7608675606] ["take time"=3.554068ms] [2025/04/05 23:46:59.762 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.762 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:46:59.762 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/33984701-5027-48d8-a3fc-011734c1a867] [2025/04/05 23:46:59.762 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [ttl-worker=task-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [originalCount=4] [newCount=0] [2025/04/05 23:46:59.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:59.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:59.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:59.763 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:46:59.763 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [ttl-worker=task-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [originalCount=4] [newCount=0] [2025/04/05 23:46:59.765 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:59.765 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:59.765 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:59.765 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:46:59.767 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.767 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=219] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:59.768 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:46:59.769 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:46:59.769 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:46:59.769 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:46:59.769 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:46:59.768 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [] [2025/04/05 23:46:59.769 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:46:59.769 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:46:59.769 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:46:59.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:46:59.768 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:46:59.768 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:46:59.769 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:59.768 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:46:59.769 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:46:59.769 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:46:59.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:46:59.769 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [error="context canceled"] [2025/04/05 23:46:59.769 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.770 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:46:59.770 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:46:59.770 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=40b4d6dc-1029-4844-8070-f1fc451750cc] [daemon-id=LogBackup::Advancer] [2025/04/05 23:46:59.770 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:46:59.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:46:59.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:46:59.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:46:59.770 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:46:59.770 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [error="context canceled"] [2025/04/05 23:46:59.770 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:46:59.770 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:46:59.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:46:59.771 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [error="context canceled"] [2025/04/05 23:46:59.771 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [2025/04/05 23:46:59.789 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:46:59.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:46:59.831 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=18176c3c-5976-461a-9ab3-0b7608675606] [error="context canceled"] [2025/04/05 23:46:59.831 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:46:59.831 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:46:59.841 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.47135ms] [2025/04/05 23:46:59.844 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:46:59.844 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:46:59.844 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:46:59.844 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:46:59.844 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:46:59.844 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:46:59.844 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:46:59.844 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:46:59.844 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:46:59.844 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-52] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:46:59.844 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:46:59.844 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:46:59.845 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateErrorMessage (0.86s) === NAME === RUN TestAssertionWhenPessimisticLockLost [2025/04/05 23:46:59.850 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:46:59.850 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:46:59.851 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:46:59.852 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:46:59.852 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:46:59.852 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:46:59.852 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:46:59.852 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:46:59.852 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:46:59.852 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:46:59.853 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:46:59.856 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:46:59.861 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:59.861 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:59.862 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:46:59.871 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:46:59.880 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:46:59.913 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=731] ["lease id"=2231960856613672] [2025/04/05 23:46:59.915 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:00.004 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=435] ["elapsed time"=86.668657ms] [2025/04/05 23:47:00.004 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:00.007 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:00.012 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0999c7df-c66f-472d-9c8a-e372fff11fa7] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:00.013 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:47:00.014 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.015 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:00.016 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184839888896/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:00.016 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:00.016 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:00.016 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [2025/04/05 23:47:00.018 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613677] [ownerID=0999c7df-c66f-472d-9c8a-e372fff11fa7] [op=none] [2025/04/05 23:47:00.018 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.018 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [ownerKey=/tidb/ddl/fg/owner/2231960856613677] [currRev=2305] [2025/04/05 23:47:00.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:00.018 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:00.019 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:00.019 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613748] [ownerID=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [op=none] [2025/04/05 23:47:00.019 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [2025/04/05 23:47:00.019 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [ownerKey=/tidb/br-stream/owner/6f18960856613748] [currRev=2306] [2025/04/05 23:47:00.020 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/2231960856613677] [ownerID=0999c7df-c66f-472d-9c8a-e372fff11fa7] [op=none] [2025/04/05 23:47:00.020 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [op=none] [2025/04/05 23:47:00.020 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:00.024 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:47:00.024 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.025 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:00.025 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:00.033 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:00.040 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:00.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:47:00.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:47:00.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:00.045 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:47:00.045 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:47:00.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:47:00.045 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:47:00.045 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:00.045 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:47:00.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:47:00.047 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:47:00.048 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:47:00.048 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:00.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:00.053 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:00.055 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/87751562-aaa4-46b3-af4e-55086733ee27] [2025/04/05 23:47:00.056 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [ttl-worker=task-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [originalCount=0] [newCount=4] [2025/04/05 23:47:00.056 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [ttl-worker=task-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [originalCount=0] [newCount=4] [2025/04/05 23:47:00.056 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:00.056 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:47:00.056 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896820056780244 [2025/04/05 23:47:00.057 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:47:00.064 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:47:00.070 +00:00] [INFO] [set.go:172] ["set global var"] [conn=115] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:47:00.071 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.342885ms] [2025/04/05 23:47:00.071 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:47:00.071 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:47:00.073 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=115] [schemaVersion=435] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:47:00.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=115] [schemaVersion=435] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/05 23:47:00.075 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=115] [schemaVersion=435] [cur_db=test] [sql="alter table `t3` nocache"] [user=] [2025/04/05 23:47:00.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=115] [schemaVersion=435] [cur_db=test] [sql="alter table `t4` nocache"] [user=] [2025/04/05 23:47:00.088 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:388, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`,`t3`,`t4`"] [2025/04/05 23:47:00.088 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:388, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:00.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=115] [job="ID:388, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=435] [neededSchemaVersion=436] ["elapsed time"=1.732266ms] [gotSchemaVersion=436] [phyTblIDs="[380]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.111 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=436] [2025/04/05 23:47:00.113 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=436] ["take time"=8.646038ms] [job="ID:388, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=115] [job="ID:388, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.135 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=436] [neededSchemaVersion=437] ["elapsed time"=1.710616ms] [gotSchemaVersion=437] [phyTblIDs="[380]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.139 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=437] [2025/04/05 23:47:00.140 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=437] ["take time"=8.355435ms] [job="ID:388, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.148 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=115] [job="ID:388, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.153 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 380, Old Table Name: t)"] [2025/04/05 23:47:00.164 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=437] [neededSchemaVersion=438] ["elapsed time"=874.966µs] [gotSchemaVersion=438] [phyTblIDs="[380]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.168 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=438] [2025/04/05 23:47:00.169 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=438] ["take time"=7.233373ms] [job="ID:388, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.177 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=388] [tableIDs="[380]"] [comment="drop table: table ID"] [2025/04/05 23:47:00.183 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=388] [jobType="drop table"] [2025/04/05 23:47:00.184 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=388] [conn=115] [job="ID:388, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.201 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=388] [2025/04/05 23:47:00.210 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:389, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`,`t3`,`t4`"] [2025/04/05 23:47:00.210 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:389, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:00.215 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=115] [job="ID:389, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.229 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=438] [neededSchemaVersion=439] ["elapsed time"=1.752573ms] [gotSchemaVersion=439] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=439] [2025/04/05 23:47:00.234 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=439] ["take time"=8.224349ms] [job="ID:389, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.246 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=115] [job="ID:389, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.276 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=439] [neededSchemaVersion=440] ["elapsed time"=1.736035ms] [gotSchemaVersion=440] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.280 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=440] [2025/04/05 23:47:00.281 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=440] ["take time"=12.047668ms] [job="ID:389, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=115] [job="ID:389, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.294 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 382, Old Table Name: t2)"] [2025/04/05 23:47:00.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=440] [neededSchemaVersion=441] ["elapsed time"=966.437µs] [gotSchemaVersion=441] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=441] [2025/04/05 23:47:00.310 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=441] ["take time"=7.188202ms] [job="ID:389, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.323 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=389] [tableIDs="[382]"] [comment="drop table: table ID"] [2025/04/05 23:47:00.331 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=389] [jobType="drop table"] [2025/04/05 23:47:00.333 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=389] [conn=115] [job="ID:389, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.352 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=389] [2025/04/05 23:47:00.362 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:390, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:00.362 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:390, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`,`t3`,`t4`"] [2025/04/05 23:47:00.368 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=390] [conn=115] [job="ID:390, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.385 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=441] [neededSchemaVersion=442] ["elapsed time"=2.007616ms] [gotSchemaVersion=442] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.388 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=442] [2025/04/05 23:47:00.390 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=442] ["take time"=9.924627ms] [job="ID:390, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=390] [conn=115] [job="ID:390, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=442] [neededSchemaVersion=443] ["elapsed time"=1.950137ms] [gotSchemaVersion=443] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=443] [2025/04/05 23:47:00.417 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=443] ["take time"=8.599332ms] [job="ID:390, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.425 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=390] [conn=115] [job="ID:390, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.431 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 384, Old Table Name: t3)"] [2025/04/05 23:47:00.443 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=443] [neededSchemaVersion=444] ["elapsed time"=936.483µs] [gotSchemaVersion=444] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.446 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=444] [2025/04/05 23:47:00.448 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=444] ["take time"=7.568548ms] [job="ID:390, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.456 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=390] [tableIDs="[384]"] [comment="drop table: table ID"] [2025/04/05 23:47:00.460 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=390] [jobType="drop table"] [2025/04/05 23:47:00.461 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=390] [conn=115] [job="ID:390, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.477 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=390] [2025/04/05 23:47:00.488 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:00.488 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`,`t3`,`t4`"] [2025/04/05 23:47:00.493 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=115] [job="ID:391, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=444] [neededSchemaVersion=445] ["elapsed time"=2.014981ms] [gotSchemaVersion=445] [phyTblIDs="[386]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=445] [2025/04/05 23:47:00.514 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=445] ["take time"=9.168885ms] [job="ID:391, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=115] [job="ID:391, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=445] [neededSchemaVersion=446] ["elapsed time"=2.024176ms] [gotSchemaVersion=446] [phyTblIDs="[386]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=446] [2025/04/05 23:47:00.543 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=446] ["take time"=8.706026ms] [job="ID:391, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=115] [job="ID:391, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.557 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 386, Old Table Name: t4)"] [2025/04/05 23:47:00.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=446] [neededSchemaVersion=447] ["elapsed time"=1.017035ms] [gotSchemaVersion=447] [phyTblIDs="[386]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:00.573 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=447] [2025/04/05 23:47:00.575 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=447] ["take time"=7.892879ms] [job="ID:391, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.583 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=391] [tableIDs="[386]"] [comment="drop table: table ID"] [2025/04/05 23:47:00.587 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=391] [jobType="drop table"] [2025/04/05 23:47:00.593 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=115] [job="ID:391, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.610 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/05 23:47:00.611 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 115\n# Query_time: 0.533967029\n# Parse_time: 0.000059181\n# Compile_time: 0.000243677\n# Rewrite_time: 0.00000409\n# Optimize_time: 0.000038644\n# Wait_TS: 0.000315393\n# DB: test\n# Is_internal: false\n# Digest: 933099c6ac34a00ea2bec7ce2a448e12911d6a3da899f3b37560f7d998e82adf\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `t`,`t2`,`t3`,`t4`;"] [2025/04/05 23:47:00.611 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=115] [schemaVersion=447] [cur_db=test] [sql="drop table `t`,`t2`,`t3`,`t4`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896820611580027 testkit.go:123: RefreshSession rand seed: 1743896820613574212 [2025/04/05 23:47:00.630 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:00.631 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key, val text)"] [2025/04/05 23:47:00.636 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=116] [job="ID:393, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:392, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.640 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 392, Table Name: t)"] [2025/04/05 23:47:00.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=447] [neededSchemaVersion=448] ["elapsed time"=1.357086ms] [gotSchemaVersion=448] [phyTblIDs="[392]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:00.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=448] [2025/04/05 23:47:00.659 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=448] ["take time"=8.559736ms] [job="ID:393, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.670 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=116] [job="ID:393, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:392, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:00.680 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/05 23:47:00.680 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=116] [schemaVersion=448] [cur_db=test] [sql="create table t (id int primary key, val text)"] [user=] [2025/04/05 23:47:00.687 +00:00] [INFO] [prewrite.go:473] ["prewrite encounters lock. More locks belonging to the same transaction may be omitted"] [session=117] [txnID=457152088149327889] [lock="key: 7480000000000001885f728000000000000001, primary: 7480000000000001885f728000000000000001, txnStartTS: 457152088149327887, lockForUpdateTS:457152088149327887, minCommitTs:457152088149327888, ttl: 0, type: PessimisticLock, UseAsyncCommit: false, txnSize: 0"] [policy=TryResolvePolicy] [2025/04/05 23:47:00.694 +00:00] [ERROR] [2pc.go:527] ["assertion failed when checking by pessimistic lock results"] [stack="github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkAssertionByPessimisticLockResults\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:527\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).initKeysAndMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:651\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:817\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 23:47:00.694 +00:00] [WARN] [error.go:324] ["2PC failed"] [error="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))"] [errorVerbose="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))\ngithub.com/tikv/client-go/v2/error.ExtractKeyErr\n\texternal/com_github_tikv_client_go_v2/error/error.go:323\ngithub.com/tikv/client-go/v2/txnkv/txnlock.ExtractLockFromKeyErr\n\texternal/com_github_tikv_client_go_v2/txnkv/txnlock/lock.go:27\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).extractKeyErrs\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:468\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).sendReqAndCheck\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:400\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionPrewrite.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:240\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1098\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1059\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:821\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).prewriteMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:293\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1814\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:00.695 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))"] [errorVerbose="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))\ngithub.com/tikv/client-go/v2/error.ExtractKeyErr\n\texternal/com_github_tikv_client_go_v2/error/error.go:323\ngithub.com/tikv/client-go/v2/txnkv/txnlock.ExtractLockFromKeyErr\n\texternal/com_github_tikv_client_go_v2/txnkv/txnlock/lock.go:27\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).extractKeyErrs\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:468\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).sendReqAndCheck\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:400\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionPrewrite.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:240\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1098\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1059\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:821\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).prewriteMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:293\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1814\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=true] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:47:00.696 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))"] [errorVerbose="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))\ngithub.com/tikv/client-go/v2/error.ExtractKeyErr\n\texternal/com_github_tikv_client_go_v2/error/error.go:323\ngithub.com/tikv/client-go/v2/txnkv/txnlock.ExtractLockFromKeyErr\n\texternal/com_github_tikv_client_go_v2/txnkv/txnlock/lock.go:27\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).extractKeyErrs\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:468\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).sendReqAndCheck\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:400\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionPrewrite.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:240\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1098\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1059\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:821\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).prewriteMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:293\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1814\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:00.697 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=448] [error="previous statement: insert into t values (1, 'a') on duplicate key update val = concat(val, 'a'): tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))"] [errorVerbose="tikv aborts txn: Error(Txn(Error(Mvcc(Error(PessimisticLockNotFound { start_ts: TimeStamp(457152088149327887), key: [116, 128, 0, 0, 0, 0, 0, 1, 136, 95, 114, 128, 0, 0, 0, 0, 0, 0, 1], reason: LockMissingAmendFail })))))\ngithub.com/tikv/client-go/v2/error.ExtractKeyErr\n\texternal/com_github_tikv_client_go_v2/error/error.go:323\ngithub.com/tikv/client-go/v2/txnkv/txnlock.ExtractLockFromKeyErr\n\texternal/com_github_tikv_client_go_v2/txnkv/txnlock/lock.go:27\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).extractKeyErrs\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:468\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*prewrite1BatchReqHandler).sendReqAndCheck\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:400\ngithub.com/tikv/client-go/v2/txnkv/transaction.actionPrewrite.handleSingleBatch\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:240\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnBatches\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1098\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnGroupMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1059\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).doActionOnMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:821\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).prewriteMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/prewrite.go:293\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1814\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestAssertionWhenPessimisticLockLost\n\ttests/realtikvtest/txntest/txn_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\nprevious statement: insert into t values (1, 'a') on duplicate key update val = concat(val, 'a')"] [session="{\n \"currDBName\": \"test\",\n \"id\": 116,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:00.697 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:47:00.697 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [] [2025/04/05 23:47:00.697 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:00.698 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.698 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:00.698 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:00.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 190, tp general"] ["take time"=45.11µs] [2025/04/05 23:47:00.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 191, tp general"] ["take time"=30.803µs] [2025/04/05 23:47:00.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 192, tp general"] ["take time"=30.764µs] [2025/04/05 23:47:00.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 193, tp general"] ["take time"=28.683µs] [2025/04/05 23:47:00.698 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 194, tp general"] ["take time"=22.66µs] [2025/04/05 23:47:00.698 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.698 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.699 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:00.699 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:00.701 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0999c7df-c66f-472d-9c8a-e372fff11fa7] ["take time"=3.342458ms] [2025/04/05 23:47:00.701 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.701 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:00.701 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/87751562-aaa4-46b3-af4e-55086733ee27] [2025/04/05 23:47:00.701 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [ttl-worker=task-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [originalCount=4] [newCount=0] [2025/04/05 23:47:00.701 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:00.701 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:00.701 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:00.701 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:00.701 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [ttl-worker=task-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [originalCount=4] [newCount=0] [2025/04/05 23:47:00.703 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:00.703 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:00.704 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:00.704 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:00.706 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.706 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:00.707 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=731] [2025/04/05 23:47:00.707 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:00.707 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:47:00.707 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:00.707 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:00.707 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:47:00.708 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:47:00.707 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:00.707 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:00.708 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [2025/04/05 23:47:00.708 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:00.708 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:47:00.708 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:00.708 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:47:00.709 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:00.709 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:00.709 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [error="context canceled"] [2025/04/05 23:47:00.709 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.709 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:00.709 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:00.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:00.709 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e3fb0a2b-932e-44cd-9e04-5bedd0f89fa7] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:00.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:00.710 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:47:00.710 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:47:00.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:00.710 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [error="context canceled"] [2025/04/05 23:47:00.710 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:47:00.710 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:47:00.710 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:47:00.710 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [error="context canceled"] [2025/04/05 23:47:00.711 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [2025/04/05 23:47:00.726 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:47:00.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:47:00.770 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=0999c7df-c66f-472d-9c8a-e372fff11fa7] [error="context canceled"] [2025/04/05 23:47:00.770 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:00.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:00.780 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.948751ms] [2025/04/05 23:47:00.783 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:47:00.783 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:47:00.783 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:47:00.783 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:47:00.783 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:47:00.783 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:47:00.783 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:47:00.783 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:47:00.783 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-53] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:00.783 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:47:00.783 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:47:00.783 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:47:00.784 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestAssertionWhenPessimisticLockLost (0.94s) === NAME === RUN TestSelectLockForPartitionTable [2025/04/05 23:47:00.789 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:47:00.790 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:47:00.790 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:47:00.791 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:47:00.791 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:47:00.791 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:47:00.791 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:47:00.791 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:47:00.791 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:47:00.792 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:47:00.792 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:47:00.799 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:47:00.805 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:00.806 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:00.806 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:00.815 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 23:47:00.825 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:47:00.860 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1575] ["lease id"=6f1896085661376a] [2025/04/05 23:47:00.863 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:00.948 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=448] ["elapsed time"=82.441249ms] [2025/04/05 23:47:00.949 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:00.951 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:00.956 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=45a28a4b-2853-4476-9081-e5031b3494eb] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:00.956 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:47:00.958 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:00.959 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:00.959 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 184839913472/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:00.959 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:00.959 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:00.959 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [2025/04/05 23:47:00.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:00.961 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856613653] [ownerID=45a28a4b-2853-4476-9081-e5031b3494eb] [op=none] [2025/04/05 23:47:00.961 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:00.962 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:00.962 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [ownerKey=/tidb/ddl/fg/owner/3eaa960856613653] [currRev=2357] [2025/04/05 23:47:00.962 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:00.963 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa960856613655] [ownerID=9f842734-3de7-4245-a6e6-36c43fac649b] [op=none] [2025/04/05 23:47:00.963 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [2025/04/05 23:47:00.963 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [ownerKey=/tidb/br-stream/owner/3eaa960856613655] [currRev=2358] [2025/04/05 23:47:00.963 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa960856613653] [ownerID=45a28a4b-2853-4476-9081-e5031b3494eb] [op=none] [2025/04/05 23:47:00.963 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [op=none] [2025/04/05 23:47:00.963 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:00.967 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:47:00.967 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:00.968 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:00.968 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:00.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:00.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:00.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:47:00.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:47:00.989 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 23:47:00.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:00.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:47:00.989 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 23:47:00.989 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:00.989 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 23:47:00.989 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 23:47:00.990 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:47:00.991 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:47:00.992 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:00.992 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:00.995 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:00.997 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/aefb3792-873c-4f35-ba2b-a69336d5182b] [2025/04/05 23:47:00.997 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [ttl-worker=task-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [originalCount=0] [newCount=4] [2025/04/05 23:47:00.997 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [ttl-worker=task-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [originalCount=0] [newCount=4] [2025/04/05 23:47:00.997 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:00.999 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 23:47:00.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:00.999 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:47:00.999 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896820999585838 [2025/04/05 23:47:01.006 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 23:47:01.014 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.97274ms] [2025/04/05 23:47:01.014 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 23:47:01.014 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 23:47:01.022 +00:00] [INFO] [set.go:172] ["set global var"] [conn=118] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:47:01.025 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=118] [schemaVersion=448] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:47:01.038 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:394, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:01.038 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:394, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:47:01.044 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=394] [conn=118] [job="ID:394, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:392, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=448] [neededSchemaVersion=449] ["elapsed time"=1.847026ms] [gotSchemaVersion=449] [phyTblIDs="[392]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:01.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=394] [version=449] [2025/04/05 23:47:01.065 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=449] ["take time"=9.461599ms] [job="ID:394, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.075 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=394] [conn=118] [job="ID:394, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:392, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=449] [neededSchemaVersion=450] ["elapsed time"=1.863905ms] [gotSchemaVersion=450] [phyTblIDs="[392]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:01.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=394] [version=450] [2025/04/05 23:47:01.095 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=450] ["take time"=8.671651ms] [job="ID:394, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.104 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=394] [conn=118] [job="ID:394, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:392, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.110 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 392, Old Table Name: t)"] [2025/04/05 23:47:01.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=450] [neededSchemaVersion=451] ["elapsed time"=1.010056ms] [gotSchemaVersion=451] [phyTblIDs="[392]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:01.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=394] [version=451] [2025/04/05 23:47:01.128 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=451] ["take time"=8.000872ms] [job="ID:394, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.136 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=394] [tableIDs="[392]"] [comment="drop table: table ID"] [2025/04/05 23:47:01.143 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=394] [jobType="drop table"] [2025/04/05 23:47:01.144 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=394] [conn=118] [job="ID:394, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:392, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:00.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=394] [2025/04/05 23:47:01.161 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=118] [schemaVersion=451] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896821162238960 [2025/04/05 23:47:01.180 +00:00] [INFO] [set.go:172] ["set global var"] [conn=119] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743896821182133777 [2025/04/05 23:47:01.199 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:406, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:01.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:01.199 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:406, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:01.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, b int, c int, key idx(a, b, c)) PARTITION BY HASH (c) PARTITIONS 10"] [2025/04/05 23:47:01.205 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=406] [conn=119] [job="ID:406, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:395, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:01.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.210 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 395, Table Name: t)"] [2025/04/05 23:47:01.229 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=451] [neededSchemaVersion=452] ["elapsed time"=2.15527ms] [gotSchemaVersion=452] [phyTblIDs="[395,396,397,398,399,400,401,402,403,404,405]"] [actionTypes="[3,3,3,3,3,3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:01.233 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=406] [version=452] [2025/04/05 23:47:01.235 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=452] ["take time"=9.288791ms] [job="ID:406, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:01.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.247 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=406] [conn=119] [job="ID:406, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:395, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:01.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:01.259 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=406] [2025/04/05 23:47:01.259 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=119] [schemaVersion=452] [cur_db=test] [sql="create table t(a int, b int, c int, key idx(a, b, c)) PARTITION BY HASH (c) PARTITIONS 10"] [user=] [2025/04/05 23:47:01.352 +00:00] [INFO] [analyze.go:415] ["save analyze results concurrently"] [buildStatsConcurrency=2] [saveStatsConcurrency=2] [2025/04/05 23:47:01.505 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p0] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.409 +00:00] ["end time"=2025/04/05 23:47:01.500 +00:00] [cost=91.006055ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.511 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p1] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.409 +00:00] ["end time"=2025/04/05 23:47:01.506 +00:00] [cost=97.046412ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.592 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p2] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.417 +00:00] ["end time"=2025/04/05 23:47:01.587 +00:00] [cost=170.618233ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.598 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p3] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.418 +00:00] ["end time"=2025/04/05 23:47:01.593 +00:00] [cost=175.401628ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.671 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p4] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.425 +00:00] ["end time"=2025/04/05 23:47:01.666 +00:00] [cost=241.03956ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.675 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p5] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.426 +00:00] ["end time"=2025/04/05 23:47:01.670 +00:00] [cost=244.634513ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.746 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p6] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.432 +00:00] ["end time"=2025/04/05 23:47:01.741 +00:00] [cost=309.022691ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.749 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p7] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.433 +00:00] ["end time"=2025/04/05 23:47:01.744 +00:00] [cost=311.236697ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.823 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p8] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.506 +00:00] ["end time"=2025/04/05 23:47:01.818 +00:00] [cost=312.111995ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.825 +00:00] [INFO] [analyze.go:593] ["analyze table `test`.`t` has finished"] [partition=p9] ["job info"="analyze table all indexes, all columns with 256 buckets, 100 topn, 1 samplerate"] ["start time"=2025/04/05 23:47:01.512 +00:00] ["end time"=2025/04/05 23:47:01.820 +00:00] [cost=308.181794ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"] [2025/04/05 23:47:01.837 +00:00] [INFO] [global_stats.go:106] ["use async merge global stats"] [category=stats] [sampled=] [tableID=395] [table=t] [2025/04/05 23:47:01.967 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:01.967 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:01.967 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:01.967 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:01.998 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:47:01.998 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:47:01.998 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/aefb3792-873c-4f35-ba2b-a69336d5182b] [watcherID=36edb3b4-a248-431f-a179-20b7cc30090f] [2025/04/05 23:47:01.999 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:47:02.003 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:47:02.003 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:47:02.004 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:47:02.004 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:47:02.799 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:47:02.881 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152088306614283\n# Conn_ID: 119\n# Query_time: 1.615588037\n# Parse_time: 0.000100831\n# Compile_time: 0.013208602\n# Rewrite_time: 0.012809386\n# Optimize_time: 0.000085831\n# Wait_TS: 0.000102634\n# DB: test\n# Is_internal: false\n# Digest: d8a7882bcbe7ed5b735d585c8fc402824f4ac87a0772b64a1cdf2e93e0dbab7f\n# Mem_max: 172409\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"No predicate column has been collected yet for table test.t, so only indexes and the columns composing the indexes will be analyzed\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p0, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p1, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p2, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p3, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p4, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p5, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p6, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p7, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p8, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"},{\"Level\":\"Note\",\"Message\":\"Analyze use auto adjusted sample rate 1.000000 for table test.t's partition p9, reason to use this rate is \\\"use min(1, 110000/10000) as the sample-rate=1\\\"\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nanalyze table t;"] [2025/04/05 23:47:02.916 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152088726044678] [2025/04/05 23:47:02.921 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:47:02.921 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [] [2025/04/05 23:47:02.921 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:02.921 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.921 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:02.921 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:02.921 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 195, tp general"] ["take time"=42.934µs] [2025/04/05 23:47:02.921 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 196, tp general"] ["take time"=35.918µs] [2025/04/05 23:47:02.922 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.922 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.923 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:02.923 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:02.924 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=45a28a4b-2853-4476-9081-e5031b3494eb] ["take time"=2.702586ms] [2025/04/05 23:47:02.924 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.924 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:02.924 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/aefb3792-873c-4f35-ba2b-a69336d5182b] [watcherID=36edb3b4-a248-431f-a179-20b7cc30090f] [2025/04/05 23:47:02.924 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:47:02.924 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/aefb3792-873c-4f35-ba2b-a69336d5182b] [2025/04/05 23:47:02.924 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [ttl-worker=task-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [originalCount=4] [newCount=0] [2025/04/05 23:47:02.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:02.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:02.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:02.924 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:02.924 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [ttl-worker=task-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [originalCount=4] [newCount=0] [2025/04/05 23:47:02.926 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:02.927 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:02.927 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:02.927 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:02.929 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.929 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1575] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:02.930 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:02.930 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:02.931 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:02.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:02.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:02.930 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:02.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 23:47:02.930 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 23:47:02.930 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [2025/04/05 23:47:02.931 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:02.931 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.931 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [2025/04/05 23:47:02.931 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:02.931 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:02.931 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:02.931 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:02.931 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [error="context canceled"] [2025/04/05 23:47:02.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:02.931 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.932 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:02.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:02.932 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:02.932 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9f842734-3de7-4245-a6e6-36c43fac649b] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:02.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:02.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:02.932 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:47:02.932 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [error="context canceled"] [2025/04/05 23:47:02.932 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 23:47:02.932 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:47:02.932 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 23:47:02.932 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 23:47:02.933 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [error="context canceled"] [2025/04/05 23:47:02.933 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [2025/04/05 23:47:02.933 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [error="context canceled"] [2025/04/05 23:47:02.933 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=45a28a4b-2853-4476-9081-e5031b3494eb] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:02.949 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 23:47:02.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 23:47:02.992 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:02.992 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:03.002 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.405764ms] [2025/04/05 23:47:03.005 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:47:03.005 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:47:03.005 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:47:03.005 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:47:03.005 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:47:03.005 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:47:03.005 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:47:03.005 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:47:03.005 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:47:03.005 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:47:03.005 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:47:03.005 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-54] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:03.006 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestSelectLockForPartitionTable (2.22s) === NAME === RUN TestTxnEntrySizeLimit [2025/04/05 23:47:03.014 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:03.015 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:03.015 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:03.017 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:03.017 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:03.019 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:03.028 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=ade29054-8539-4dd2-9249-0ab09b76cbc9] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:03.057 +00:00] [WARN] [controller.go:216] ["[resource group controller] server does not save config, load config failed"] [2025/04/05 23:47:03.057 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:03.058 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/pkg/testkit.tryMakeImageOnce\n\tpkg/testkit/mockstore.go:125\ngithub.com/pingcap/tidb/pkg/testkit.tryMakeImage\n\tpkg/testkit/mockstore.go:89\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:76\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:305\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:47:03.170 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=111.694413ms] [2025/04/05 23:47:03.170 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:03.171 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=329aa658-cdec-47ad-a978-c04455bad4eb] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:03.171 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2025/04/05 23:47:03.171 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:03.171 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=329aa658-cdec-47ad-a978-c04455bad4eb] [2025/04/05 23:47:03.171 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2025/04/05 23:47:03.172 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185108377600/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:03.172 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:03.172 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:03.172 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:03.172 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:03.172 +00:00] [WARN] [domain.go:1588] ["pd / etcd client not provided, won't begin Advancer."] [2025/04/05 23:47:03.173 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:47:03.173 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:03.181 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:47:03.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.181 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:47:03.186 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.321 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=128.835612ms] [2025/04/05 23:47:03.321 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:03.326 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:47:03.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=136.089919ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.334 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.343 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:47:03.344 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:47:03.345 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:47:03.369 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.369 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:03.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.425 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=6.376114ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.428 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.428 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:47:03.430 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=12.244988ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.472 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:47:03.472 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:03.482 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.482 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:47:03.489 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.511 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=1.368467ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.515 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.515 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:47:03.516 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=7.095954ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.525 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.535 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:47:03.536 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:47:03.546 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:47:03.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.562 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.212501ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.565 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.565 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:47:03.566 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=6.389602ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.573 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.582 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:47:03.582 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:47:03.599 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.599 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:03.605 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.633 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=3.79671ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.636 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:47:03.636 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=8.044912ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.647 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.664 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:47:03.665 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:03.676 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.676 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:03.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=1.900152ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.700 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:47:03.702 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=7.041314ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.710 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:47:03.722 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:03.733 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.733 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:03.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=1.816355ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.756 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:47:03.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=6.444238ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.764 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:47:03.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:03.784 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:03.784 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=972.246µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.801 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:47:03.803 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=6.57033ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.810 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:47:03.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:47:03.828 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:03.828 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.833 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.090974ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.846 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:47:03.848 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=6.101737ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.855 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.863 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:47:03.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:47:03.874 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.874 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:47:03.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=1.453266ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.894 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:47:03.896 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=6.576535ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.903 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.913 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:47:03.913 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:47:03.922 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.922 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:03.927 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.940 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=1.437102ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:03.943 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:03.943 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:47:03.945 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=6.425668ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.952 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.961 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:47:03.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:47:03.963 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:03.974 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:03.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:03.974 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:03.978 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:03.997 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=2.325074ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.000 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:47:04.001 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=7.00565ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:03.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.009 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:03.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.022 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:47:04.023 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:47:04.034 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.007276ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.061 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:47:04.063 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=6.877758ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.071 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.082 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:47:04.082 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:47:04.092 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.092 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=1.39377ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.112 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:47:04.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=6.866503ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.131 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:47:04.131 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:47:04.141 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.141 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.146 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.159 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=1.38457ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.162 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.162 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:47:04.163 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=6.252155ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.170 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.173 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:04.180 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:47:04.180 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:47:04.190 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.190 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.206 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.288451ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.209 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:47:04.211 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=6.842914ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.219 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.229 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:47:04.229 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:47:04.240 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.240 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.258 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=1.444707ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.262 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.262 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:47:04.264 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=6.916149ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.271 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.281 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:47:04.282 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:47:04.292 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.292 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:47:04.298 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.310 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=1.430361ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.314 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.314 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:47:04.315 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=6.378245ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.322 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.332 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:47:04.332 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:47:04.345 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.345 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:47:04.350 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.369 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.331109ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.372 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.372 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:47:04.372 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=6.576808ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.382 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.395 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:47:04.395 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:47:04.408 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.408 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=1.37032ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.432 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:47:04.433 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=6.749631ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.440 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.449 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:47:04.450 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:47:04.458 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.458 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=960.552µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.476 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:47:04.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=6.37919ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.484 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.492 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:47:04.493 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:47:04.501 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.501 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:47:04.506 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=730.426µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.518 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:47:04.519 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=6.027872ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.526 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.533 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:47:04.534 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:47:04.693 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.693 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.697 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.713 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=1.880878ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.716 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.716 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:47:04.717 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=6.538082ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.725 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:47:04.736 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:47:04.745 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.745 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.749 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.222862ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.763 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:47:04.765 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=6.487071ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.772 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.780 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:47:04.780 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:47:04.790 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:47:04.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=1.369161ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.810 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:47:04.812 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=6.63904ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.819 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.828 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:47:04.829 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:47:04.838 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.838 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.842 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.059336ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.856 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:47:04.857 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=6.160602ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.864 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.872 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:47:04.872 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:47:04.881 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.245151ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.901 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:47:04.902 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=6.605413ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.909 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:47:04.918 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:47:04.928 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.928 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.932 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.110083ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.946 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:47:04.947 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=6.107446ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.954 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:47:04.963 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:47:04.964 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:04.973 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:04.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:04.973 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:04.977 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:04.991 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=1.511152ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:04.994 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:04.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:47:04.995 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=6.69867ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:04.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.002 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:04.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.012 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:47:05.012 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:47:05.014 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:47:05.022 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.022 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:05.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=1.673813ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.044 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:47:05.045 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=6.52638ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.052 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.063 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:47:05.063 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:47:05.074 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.074 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:05.077 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.091 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=1.758365ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.094 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:47:05.095 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=6.494306ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.103 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.113 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:47:05.114 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:47:05.127 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.127 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:47:05.132 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=2.687186ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.155 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:47:05.158 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=8.593472ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.167 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.172 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:47:05.181 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:47:05.181 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:47:05.189 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:47:05.193 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=837.678µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.205 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:47:05.207 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=6.62019ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.213 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.221 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:47:05.221 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:47:05.234 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:47:05.239 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.253 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=1.525795ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:47:05.256 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.256 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:47:05.258 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=7.056364ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.266 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.276 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:47:05.286 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.286 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:47:05.291 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.304 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=1.475832ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.307 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.307 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:47:05.309 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=6.82918ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.316 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.326 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:47:05.326 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:47:05.335 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.335 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:05.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.350 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.18069ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.353 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.353 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:47:05.355 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=6.894393ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.362 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:47:05.370 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:47:05.380 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.380 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:05.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.394 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.098252ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.397 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.397 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:47:05.399 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=6.213661ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.407 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.416 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:47:05.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:47:05.430 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:05.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=2.701821ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.461 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:47:05.463 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=8.620288ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.472 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.487 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:47:05.487 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:47:05.500 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.500 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:05.506 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.526 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=2.549795ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.529 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.529 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:47:05.531 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=8.102124ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.540 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.555 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:47:05.555 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:47:05.568 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.568 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:05.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.595 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=2.758351ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.598 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.598 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:47:05.600 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=8.644775ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.610 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.625 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:47:05.625 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:47:05.640 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.640 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:47:05.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.669 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=2.998015ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.672 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.672 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:47:05.673 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=8.234175ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.683 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:47:05.699 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:47:05.713 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.713 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:47:05.719 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.879623ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.746 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:47:05.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=9.070429ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:47:05.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:47:05.786 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.786 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:05.791 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=2.645876ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.823 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:47:05.824 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=8.237655ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.833 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:47:05.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:47:05.860 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.860 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:47:05.865 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.073406ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.886 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:47:05.887 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=6.960846ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.909 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:47:05.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:47:05.921 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.921 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:47:05.927 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.032555ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:05.947 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:05.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:47:05.948 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=6.717983ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.957 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:05.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:47:05.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:47:05.988 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:05.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:05.988 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:47:05.994 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.702196ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.029 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:47:06.031 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=10.757241ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:05.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:05.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:47:06.060 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:47:06.073 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:06.066 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.066 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:47:06.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.066 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.097 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.337942ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.101 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:47:06.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=8.802494ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.066 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.112 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.066 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:47:06.125 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:47:06.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:47:06.135 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:06.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.498921ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.156 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:47:06.156 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=6.217731ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.164 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.173 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:47:06.173 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:47:06.180 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:06.180 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:06.180 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:06.183 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:06.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.183 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:06.188 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=1.509326ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.204 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:47:06.205 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=6.652432ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.212 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.223 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:47:06.223 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:47:06.224 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:06.234 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:47:06.239 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.251 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=1.505622ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.255 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:47:06.256 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=6.932301ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.263 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.273 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:47:06.273 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:47:06.280 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.280 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:47:06.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=277.198µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:47:06.293 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.293 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:47:06.294 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=5.011767ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.300 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:47:06.306 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:47:06.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:47:06.321 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.011253ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:47:06.336 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:47:06.338 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=6.787336ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.345 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.353 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:47:06.366 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.366 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:47:06.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.390 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=2.287045ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.393 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.393 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:47:06.394 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=6.036089ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:47:06.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:47:06.425 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.425 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:47:06.431 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.443 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=1.469758ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.446 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.446 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:47:06.448 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=6.539115ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.455 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.464 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:47:06.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:47:06.475 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:06.475 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:47:06.480 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=1.598511ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:06.497 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:06.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:47:06.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=6.258899ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:06.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.505 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:06.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:06.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:47:06.515 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:47:06.653 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=3.480560018s] [2025/04/05 23:47:06.653 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:06.653 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=329aa658-cdec-47ad-a978-c04455bad4eb] [2025/04/05 23:47:06.654 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:06.654 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 202, tp general"] ["take time"=52.975µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 203, tp general"] ["take time"=35.453µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 204, tp general"] ["take time"=37.139µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 205, tp general"] ["take time"=32.793µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 206, tp general"] ["take time"=32.026µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 197, tp general"] ["take time"=33.12µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 198, tp general"] ["take time"=23.058µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 199, tp general"] ["take time"=29.977µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 200, tp general"] ["take time"=23.679µs] [2025/04/05 23:47:06.654 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 201, tp general"] ["take time"=23.933µs] [2025/04/05 23:47:06.655 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/ddl/fg/owner] [ID=329aa658-cdec-47ad-a978-c04455bad4eb] [2025/04/05 23:47:06.655 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:06.655 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:06.673 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=329aa658-cdec-47ad-a978-c04455bad4eb] ["take time"=20.056658ms] [2025/04/05 23:47:06.674 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=329aa658-cdec-47ad-a978-c04455bad4eb] [2025/04/05 23:47:06.674 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:06.674 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:06.674 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:06.674 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:06.674 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:06.674 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:06.676 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1.1\n\tpkg/session/session.go:1992\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1999\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 23:47:06.677 +00:00] [WARN] [domain.go:1038] ["get mdl info from tidb_mdl_info failed"] [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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.drainRecordSet\n\tpkg/session/session.go:1253\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1997\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).refreshMDLCheckTableInfo\n\tpkg/domain/domain.go:1036\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1194\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:06.677 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:06.677 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:06.677 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=24.00955ms] [2025/04/05 23:47:06.678 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=ade29054-8539-4dd2-9249-0ab09b76cbc9] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:06.717 +00:00] [WARN] [controller.go:216] ["[resource group controller] server does not save config, load config failed"] [2025/04/05 23:47:06.717 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:06.851 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=132.699052ms] [2025/04/05 23:47:06.852 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:06.855 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:06.858 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:06.858 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2025/04/05 23:47:06.858 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:06.858 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2025/04/05 23:47:06.858 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.859 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185108385792/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:06.859 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:06.859 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:06.859 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:06.859 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:06.859 +00:00] [WARN] [domain.go:1588] ["pd / etcd client not provided, won't begin Advancer."] [2025/04/05 23:47:06.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:06.867 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/bindinfo/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.867 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:06.878 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:06.886 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:06.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:06.891 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:06.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:06.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:06.892 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/stats/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.892 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:06.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:06.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:06.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:06.893 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:06.894 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:06.897 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [ttl-worker=task-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [originalCount=0] [newCount=4] [2025/04/05 23:47:06.897 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [ttl-worker=task-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [originalCount=0] [newCount=4] [2025/04/05 23:47:06.897 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:06.900 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:47:06.900 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:06.900 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.900 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:06.900 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:47:06.900 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:06.900 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/ddl/fg/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.900 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:06.900 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:06.901 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] ["take time"=788.976µs] [2025/04/05 23:47:06.901 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.901 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:06.908 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/05 23:47:06.908 +00:00] [INFO] [job_manager.go:513] ["failed to get TTL delay metrics"] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:06.909 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [ttl-worker=task-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [originalCount=4] [newCount=0] [2025/04/05 23:47:06.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:06.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:06.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:06.909 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:06.909 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [ttl-worker=task-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [originalCount=4] [newCount=0] [2025/04/05 23:47:06.911 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:06.911 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:06.911 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:06.912 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/stats/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/stats/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/bindinfo/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:06.914 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:06.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:06.914 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:06.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:06.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:06.914 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:06.914 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:06.915 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:06.915 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:06.976 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/bindinfo/owner] [ID=0b71ee67-4986-4dc5-8f21-542ef8a2cca4] [2025/04/05 23:47:06.976 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:06.976 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:06.983 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.15684ms] [2025/04/05 23:47:06.984 +00:00] [INFO] [db.go:567] ["Closing database"] [2025/04/05 23:47:06.985 +00:00] [INFO] [db.go:584] ["Flushing memtable"] [2025/04/05 23:47:06.985 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=2158939] [2025/04/05 23:47:07.017 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2025/04/05 23:47:07.017 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2025/04/05 23:47:07.049 +00:00] [INFO] [levels.go:546] ["compact send discard stats"] [stats="numSkips:0, skippedBytes:0"] [2025/04/05 23:47:07.049 +00:00] [INFO] [levels.go:628] ["compaction done"] [def="0 top:[0:1](2122050), bot:[0:0](0), skip:0, write_amp:1.00"] [deleted=1] [added=3] [duration=32.43235ms] [2025/04/05 23:47:07.050 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2025/04/05 23:47:07.050 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2025/04/05 23:47:07.050 +00:00] [INFO] [db.go:625] ["Waiting for closer"] [2025/04/05 23:47:07.053 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:07.054 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:07.054 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:07.056 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:07.056 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:07.058 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:07.067 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=ea696c50-53e6-4f27-8eb2-c8deb6f414a8] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:07.095 +00:00] [WARN] [controller.go:216] ["[resource group controller] server does not save config, load config failed"] [2025/04/05 23:47:07.096 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:07.096 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:251\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:222\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:77\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:305\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:47:07.205 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=108.062773ms] [2025/04/05 23:47:07.205 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:07.205 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=40605f35-6f57-4995-be78-465b9d9430ba] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:07.205 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2025/04/05 23:47:07.206 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:07.206 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=40605f35-6f57-4995-be78-465b9d9430ba] [2025/04/05 23:47:07.206 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2025/04/05 23:47:07.206 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185129463808/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:07.206 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:07.206 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:07.206 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:07.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:07.206 +00:00] [WARN] [domain.go:1588] ["pd / etcd client not provided, won't begin Advancer."] [2025/04/05 23:47:07.207 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There 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:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 23:47:07.208 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:07.217 +00:00] [INFO] [job_submitter.go:133] ["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: 2025-04-05 23:47:07.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 23:47:07.222 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.354 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.238268ms] [2025/04/05 23:47:07.354 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:07.359 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 23:47:07.360 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=132.093746ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.368 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.377 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 23:47:07.377 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 23:47:07.378 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 23:47:07.402 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.402 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:07.410 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=6.296267ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.460 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 23:47:07.462 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=12.130862ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.476 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.503 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 23:47:07.504 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [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\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:07.513 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.513 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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' "] [2025/04/05 23:47:07.518 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.530 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=1.278741ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.533 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.533 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 23:47:07.535 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=6.73553ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.542 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.551 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 23:47:07.551 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [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=] [2025/04/05 23:47:07.560 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.560 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),KEY i_user (User))"] [2025/04/05 23:47:07.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.263546ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.579 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 23:47:07.581 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=6.616287ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.588 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.597 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 23:47:07.597 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [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),KEY i_user (User))"] [user=] [2025/04/05 23:47:07.613 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.613 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:07.620 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=3.626571ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.649 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 23:47:07.651 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=8.345553ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.661 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.679 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 23:47:07.680 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:07.691 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.691 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:07.697 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.713 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=1.87859ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.716 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.716 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 23:47:07.718 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=8.082216ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.726 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.737 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 23:47:07.737 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:07.748 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.748 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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),\n\t\tKEY i_user (User));"] [2025/04/05 23:47:07.753 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.767 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=1.773325ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.770 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.770 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 23:47:07.772 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=6.521898ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.779 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.790 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 23:47:07.790 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [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),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 23:47:07.798 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.798 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:07.803 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=921.833µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.815 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.815 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 23:47:07.817 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=6.87366ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.824 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.833 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 23:47:07.833 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [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=] [2025/04/05 23:47:07.842 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.842 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:07.846 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.857 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.065331ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.860 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.860 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 23:47:07.862 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=7.049711ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.869 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.877 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 23:47:07.877 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [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=] [2025/04/05 23:47:07.887 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.887 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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';"] [2025/04/05 23:47:07.892 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.904 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=1.40329ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.907 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.907 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 23:47:07.908 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=6.078583ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.925 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 23:47:07.925 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [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=] [2025/04/05 23:47:07.935 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.935 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:07.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=1.382208ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:07.955 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:07.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 23:47:07.956 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=6.086309ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.964 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:07.973 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 23:47:07.973 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [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=] [2025/04/05 23:47:07.975 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:07.985 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:07.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:07.985 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:07.990 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.008 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=2.273826ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.012 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 23:47:08.012 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=6.01856ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:07.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.020 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:07.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.032 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 23:47:08.033 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [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=] [2025/04/05 23:47:08.043 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.043 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.048 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.063 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=1.850981ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.066 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.066 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 23:47:08.067 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=6.396247ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.074 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.085 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 23:47:08.085 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [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=] [2025/04/05 23:47:08.095 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.095 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.100 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.112 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=1.348008ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.115 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.115 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 23:47:08.117 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=6.964004ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.124 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.134 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 23:47:08.134 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:47:08.144 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.144 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.149 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.161 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=1.667599ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.164 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.164 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 23:47:08.166 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=7.02577ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 23:47:08.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 23:47:08.191 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.191 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.206 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.216622ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.207 +00:00] [WARN] [runaway.go:85] ["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:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:08.209 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 23:47:08.210 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=6.026329ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.225 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 23:47:08.226 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:47:08.235 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.235 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.252 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=1.369031ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.255 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 23:47:08.257 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=6.76343ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.264 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.273 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 23:47:08.273 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 23:47:08.283 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.283 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER))"] [2025/04/05 23:47:08.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=1.353991ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.302 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 23:47:08.305 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=6.915353ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.312 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 23:47:08.321 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 23:47:08.334 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.334 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:47:08.339 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.28124ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.360 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 23:47:08.361 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=6.649748ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.370 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.383 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 23:47:08.383 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT 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) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\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\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:47:08.395 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.395 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.400 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=1.343586ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.415 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 23:47:08.416 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=6.485708ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.423 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 23:47:08.433 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [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=] [2025/04/05 23:47:08.442 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.442 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.446 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=957.864µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.459 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.459 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 23:47:08.460 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=6.130035ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.467 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.475 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 23:47:08.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [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=] [2025/04/05 23:47:08.483 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.483 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 23:47:08.487 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.495 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=725.515µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.498 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.498 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 23:47:08.500 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=6.868219ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.507 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 23:47:08.514 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 23:47:08.524 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.524 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.529 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=1.834003ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.547 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 23:47:08.548 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=6.206926ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.556 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.567 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 23:47:08.567 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [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=] [2025/04/05 23:47:08.576 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.576 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.246288ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.594 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.595 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 23:47:08.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=6.308506ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.603 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 23:47:08.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 23:47:08.622 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.622 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tKEY i_user (USER)\n\t);"] [2025/04/05 23:47:08.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.638 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=1.350495ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.641 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 23:47:08.643 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=6.675034ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.650 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 23:47:08.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 23:47:08.668 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.668 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.673 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.683 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.043672ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.686 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 23:47:08.688 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=6.487471ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.694 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.702 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 23:47:08.703 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 23:47:08.712 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.712 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.727 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.190464ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.730 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 23:47:08.732 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=6.840483ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.739 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 23:47:08.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:47:08.757 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.757 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.761 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.076791ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.774 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 23:47:08.776 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=6.126154ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.783 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.792 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 23:47:08.792 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 23:47:08.793 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:08.802 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.802 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=1.438494ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.822 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 23:47:08.824 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=6.266064ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.831 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.841 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 23:47:08.841 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 23:47:08.851 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.851 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.856 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=1.616495ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.872 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 23:47:08.874 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=6.250801ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.881 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.891 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 23:47:08.891 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:47:08.901 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.901 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:08.906 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=1.657413ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.923 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 23:47:08.924 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=6.736929ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.932 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.942 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 23:47:08.942 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 23:47:08.955 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:08.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:08.955 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 23:47:08.961 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.981 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=2.581641ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:08.984 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:08.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 23:47:08.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=8.380295ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:08.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:08.995 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:08.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.009 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 23:47:09.009 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 23:47:09.018 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 23:47:09.022 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.030 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=812.502µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.034 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.034 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 23:47:09.036 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=6.495113ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.049 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 23:47:09.050 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 23:47:09.053 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:47:09.062 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.062 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 23:47:09.067 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=1.46194ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:47:09.084 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.084 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 23:47:09.086 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=6.89911ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.093 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.103 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 23:47:09.114 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.114 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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');"] [2025/04/05 23:47:09.118 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=1.452757ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.134 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 23:47:09.136 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=6.804957ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.143 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.152 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 23:47:09.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 23:47:09.161 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.161 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:09.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.112158ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.180 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 23:47:09.182 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=6.748028ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.188 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.196 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 23:47:09.197 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 23:47:09.205 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.205 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:09.206 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:47:09.210 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.041787ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 23:47:09.225 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=6.688717ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.232 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.240 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 23:47:09.241 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 23:47:09.254 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.254 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:09.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.281 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=2.636741ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.284 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.284 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 23:47:09.286 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=8.797494ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.295 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 23:47:09.309 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 23:47:09.321 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.321 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:09.326 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=2.349812ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.348 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 23:47:09.349 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=7.028135ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.357 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.371 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 23:47:09.371 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 23:47:09.385 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.385 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:09.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.413 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.94179ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.416 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 23:47:09.417 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=8.826114ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.426 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 23:47:09.442 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 23:47:09.456 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.456 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:47:09.462 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.484 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=2.935015ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.487 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 23:47:09.489 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=8.229283ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.498 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 23:47:09.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:47:09.527 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.527 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 23:47:09.533 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.555 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=2.875278ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.559 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 23:47:09.560 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=8.627931ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.569 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.584 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 23:47:09.584 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(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\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 23:47:09.597 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.597 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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));"] [2025/04/05 23:47:09.602 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=2.605973ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.626 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 23:47:09.629 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=8.504599ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.637 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 23:47:09.652 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [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=] [2025/04/05 23:47:09.663 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.663 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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;"] [2025/04/05 23:47:09.668 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.685 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=1.972914ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.688 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.688 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 23:47:09.689 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=6.678345ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.697 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.708 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 23:47:09.709 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\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=] [2025/04/05 23:47:09.720 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.720 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:47:09.725 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.005448ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.744 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.744 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 23:47:09.745 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=6.549409ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.753 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.765 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 23:47:09.765 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:47:09.780 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.780 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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)"] [2025/04/05 23:47:09.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.809 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.063632ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.812 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.812 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 23:47:09.814 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=8.514922ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.823 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 23:47:09.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [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=] [2025/04/05 23:47:09.851 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.851 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 23:47:09.856 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.010159ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.876 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 23:47:09.877 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=6.496951ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.885 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 23:47:09.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [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\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 23:47:09.905 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.905 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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 );"] [2025/04/05 23:47:09.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.921 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.204731ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.925 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.925 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 23:47:09.927 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=6.91545ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.933 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.942 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 23:47:09.942 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [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=] [2025/04/05 23:47:09.951 +00:00] [INFO] [job_submitter.go:133] ["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:1, start time: 2025-04-05 23:47:09.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:09.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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);"] [2025/04/05 23:47:09.956 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.968 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=1.361991ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:09.971 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:09.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 23:47:09.973 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=6.794238ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.980 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:09.990 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 23:47:09.990 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [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=] [2025/04/05 23:47:09.992 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 23:47:10.001 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.001 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 23:47:10.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.018 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=1.333226ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:10.021 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:10.021 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 23:47:10.022 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=6.407993ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:09.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:09.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.038 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 23:47:10.039 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 23:47:10.046 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.046 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 23:47:10.050 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=272.868µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 23:47:10.059 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:10.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 23:47:10.062 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.014639ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.073 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 23:47:10.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 23:47:10.084 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.084 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [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;"] [2025/04/05 23:47:10.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.003373ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 23:47:10.101 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:10.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 23:47:10.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=6.482388ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.110 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.118 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 23:47:10.130 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.130 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 23:47:10.136 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=2.294527ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:10.157 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:10.157 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 23:47:10.157 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=6.047613ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.165 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.178 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 23:47:10.178 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 23:47:10.187 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.187 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 23:47:10.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.204 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=1.460136ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:10.208 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:10.208 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 23:47:10.209 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=6.088925ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.213 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:10.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:10.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:10.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:10.215 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.225 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 23:47:10.225 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 23:47:10.235 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.235 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 23:47:10.239 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.252 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=1.531735ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:10.255 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 23:47:10.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 23:47:10.257 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=6.396101ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.264 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.273 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 23:47:10.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 23:47:10.409 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=3.203106592s] [2025/04/05 23:47:10.410 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=40605f35-6f57-4995-be78-465b9d9430ba] [2025/04/05 23:47:10.410 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:10.410 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:10.410 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:10.410 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 212, tp general"] ["take time"=38.407µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 213, tp general"] ["take time"=29.683µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 214, tp general"] ["take time"=25.305µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 215, tp general"] ["take time"=28.848µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 216, tp general"] ["take time"=24.565µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 207, tp general"] ["take time"=25.308µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 208, tp general"] ["take time"=28.416µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 209, tp general"] ["take time"=29.243µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 210, tp general"] ["take time"=27.633µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 211, tp general"] ["take time"=27.216µs] [2025/04/05 23:47:10.411 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/ddl/fg/owner] [ID=40605f35-6f57-4995-be78-465b9d9430ba] [2025/04/05 23:47:10.411 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:10.411 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:10.420 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=40605f35-6f57-4995-be78-465b9d9430ba] ["take time"=9.357059ms] [2025/04/05 23:47:10.420 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=40605f35-6f57-4995-be78-465b9d9430ba] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:10.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:10.420 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=9.865118ms] [2025/04/05 23:47:10.420 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=ea696c50-53e6-4f27-8eb2-c8deb6f414a8] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:10.449 +00:00] [WARN] [controller.go:216] ["[resource group controller] server does not save config, load config failed"] [2025/04/05 23:47:10.449 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:10.564 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=113.312253ms] [2025/04/05 23:47:10.564 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:10.566 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:10.569 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:10.569 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2025/04/05 23:47:10.569 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2025/04/05 23:47:10.569 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:10.569 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:10.569 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185129467904/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:10.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:10.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:10.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:10.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:10.569 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:10.569 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:10.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:10.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:10.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:10.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:10.570 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:10.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:10.570 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:10.570 +00:00] [WARN] [domain.go:1588] ["pd / etcd client not provided, won't begin Advancer."] [2025/04/05 23:47:10.576 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:10.576 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/bindinfo/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:10.576 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:10.586 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:10.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:10.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:10.599 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:10.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:10.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:10.600 +00:00] [INFO] [mock.go:89] ["owner manager gets owner"] [ownerKey=/tidb/stats/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:10.600 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:10.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:10.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:10.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:10.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:10.603 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:10.605 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [ttl-worker=task-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [originalCount=0] [newCount=4] [2025/04/05 23:47:10.605 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [ttl-worker=task-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [originalCount=0] [newCount=4] [2025/04/05 23:47:10.605 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:10.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:10.609 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:47:10.609 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896830609826666 testkit.go:123: RefreshSession rand seed: 1743896830611874100 [2025/04/05 23:47:10.624 +00:00] [INFO] [set.go:172] ["set global var"] [conn=122] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:47:10.634 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:10.634 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b longtext)"] [2025/04/05 23:47:10.638 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=121] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.640 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/05 23:47:10.725 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=75.2063ms] [2025/04/05 23:47:10.725 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 23:47:10.725 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:10.729 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 23:47:10.731 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=81.014843ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:10.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.738 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=121] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:10.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:10.745 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 23:47:10.745 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=121] [schemaVersion=56] [cur_db=test] [sql="create table t (a int, b longtext)"] [user=] [2025/04/05 23:47:10.897 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:10.897 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=56] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:313\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 121,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:11.061 +00:00] [INFO] [2pc.go:698] ["[BIG_TXN]"] [session=121] ["key sample"=7480000000000000705f728000000000000002] [size=7340074] [keys=1] [puts=1] [dels=0] [locks=0] [checks=0] [txnStartTS=457152090844430336] [2025/04/05 23:47:11.249 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:11.250 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=56] [error="[kv:8025]entry too large, the max entry size is 8388608, the size of data is 9428010"] [errorVerbose="[kv:8025]entry too large, the max entry size is 8388608, the size of data is 9428010\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:318\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 121,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:11.388 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:11.389 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=56] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:321\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 122,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:123: RefreshSession rand seed: 1743896831389653980 [2025/04/05 23:47:11.530 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:11.530 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=56] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:324\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 123,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:11.532 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:11.539 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:11.539 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a varchar(255)"] [2025/04/05 23:47:11.544 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.551 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=815.493µs] [gotSchemaVersion=57] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.555 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/05 23:47:11.557 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=6.907937ms] [job="ID:114, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.563 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=817.466µs] [gotSchemaVersion=58] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.574 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/05 23:47:11.576 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=6.065844ms] [job="ID:114, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.577 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:11.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:11.577 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:11.577 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:11.581 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.588 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=773.333µs] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2025/04/05 23:47:11.593 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=6.138911ms] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.598 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.605 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:47:11.605 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:47:11.609 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:47:11.614 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:47:11.614 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:47:11.614 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:47:11.614 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:47:11.625 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.633 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 23:47:11.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091022950400, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.642 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091022950400, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000200,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:11.644 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.644 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000200] ["range count"=1] [2025/04/05 23:47:11.644 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.668 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000200] ["current end key"=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.668 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=114] [2025/04/05 23:47:11.668 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=114] [2025/04/05 23:47:11.668 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=114] [2025/04/05 23:47:11.768 +00:00] [INFO] [backfilling.go:474] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=114] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:11.768 +00:00] [WARN] [backfilling.go:1011] ["backfill worker failed"] [category=ddl] ["job ID"=114] ["total added count"=0] ["start key"=7480000000000000705f728000000000000002] ["result next key"=7480000000000000705f728000000000000002] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:11.768 +00:00] [WARN] [reorg.go:407] ["run reorg job done"] [category=ddl] ["handled rows"=0] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:11.773 +00:00] [WARN] [modify_column.go:663] ["run modify column job failed, convert job to rollback"] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091022950400, Version: v2, UniqueWarnings:0"] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:11.773 +00:00] [WARN] [job_worker.go:723] ["run DDL job error"] [category=ddl] [jobID=114] [conn=121] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:11.778 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 23:47:11.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091022950400, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.790 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=688.444µs] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.793 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=60] [2025/04/05 23:47:11.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=6.677549ms] [job="ID:114, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091022950400, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.802 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="modify column"] [2025/04/05 23:47:11.803 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=121] [job="ID:114, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.535 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091022950400, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.810 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 23:47:11.812 +00:00] [INFO] [job_scheduler.go:519] ["job not found, might already finished"] [category=ddl] [job_id=114] [2025/04/05 23:47:11.817 +00:00] [INFO] [executor.go:6906] ["DDL job is failed"] [category=ddl] [jobID=114] [2025/04/05 23:47:11.817 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:11.817 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=56] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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.(*executor).DoDDLJobWrapper\n\tpkg/ddl/executor.go:6907\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).ModifyColumn\n\tpkg/ddl/executor.go:3433\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).AlterTable\n\tpkg/ddl/executor.go:1837\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:424\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:162\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:327\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 121,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:11.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=121] [schemaVersion=56] [cur_db=test] [sql="alter table t modify column a varchar(255)"] [user=] [2025/04/05 23:47:11.829 +00:00] [INFO] [set.go:172] ["set global var"] [conn=121] [name=tidb_txn_entry_size_limit] [val=8388608] [2025/04/05 23:47:11.830 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:11.836 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:11.836 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a varchar(255)"] [2025/04/05 23:47:11.841 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=121] [job="ID:115, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=765.515µs] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2025/04/05 23:47:11.854 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=6.669012ms] [job="ID:115, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=121] [job="ID:115, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=768.864µs] [gotSchemaVersion=62] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=62] [2025/04/05 23:47:11.872 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=6.085316ms] [job="ID:115, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=121] [job="ID:115, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=820.46µs] [gotSchemaVersion=63] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:11.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=63] [2025/04/05 23:47:11.890 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=6.493008ms] [job="ID:115, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.895 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=121] [job="ID:115, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.921 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.928 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=115] [2025/04/05 23:47:11.932 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=121] [job="ID:115, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091100545024, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:11.937 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:115, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091100545024, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:4,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000200,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:11.939 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.939 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000200] ["range count"=1] [2025/04/05 23:47:11.939 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.965 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000200] ["current end key"=7480000000000000705f72800000000000000200] [2025/04/05 23:47:11.965 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=115] [2025/04/05 23:47:11.965 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=115] [2025/04/05 23:47:11.965 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=115] [2025/04/05 23:47:12.083 +00:00] [INFO] [2pc.go:698] ["[BIG_TXN]"] [session=0] ["key sample"=7480000000000000705f728000000000000002] [size=7340083] [keys=1] [puts=1] [dels=0] [locks=0] [checks=0] [txnStartTS=457152091118632960] [2025/04/05 23:47:12.161 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=9581494] ["size of flushChan"=0] [2025/04/05 23:47:12.161 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0] [2025/04/05 23:47:12.162 +00:00] [INFO] [backfilling.go:398] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 0, physicalTableID: 112, range: [7480000000000000705f728000000000000002, 7480000000000000705f72800000000000000200), jobID: 115"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000705f7280000000000000020000] ["take time"=196.855659ms] [2025/04/05 23:47:12.162 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=115] [2025/04/05 23:47:12.162 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000705f728000000000000002] [2025/04/05 23:47:12.194 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2025/04/05 23:47:12.203 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: modify column, Table ID: 112, Table Name: t, Column ID: 4, Column Name: a)"] [2025/04/05 23:47:12.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=881.557µs] [gotSchemaVersion=64] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:12.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=64] [2025/04/05 23:47:12.218 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=6.428899ms] [job="ID:115, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091100545024, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.224 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="modify column"] [2025/04/05 23:47:12.225 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=121] [job="ID:115, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:1, start time: 2025-04-05 23:47:11.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091100545024, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.241 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 23:47:12.242 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 121\n# Query_time: 0.41254559\n# Parse_time: 0.000069628\n# Compile_time: 0.000278234\n# Rewrite_time: 0.000005877\n# Optimize_time: 0.000075256\n# Wait_TS: 0.000061118\n# DB: test\n# Is_internal: false\n# Digest: 162e56edd47761d383cac81f131a9c304ede73cc502ac74e9ea9298de788b634\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t modify column a varchar(255);"] [2025/04/05 23:47:12.242 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=121] [schemaVersion=64] [cur_db=test] [sql="alter table t modify column a varchar(255)"] [user=] [2025/04/05 23:47:12.243 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:12.250 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:12.250 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a int"] [2025/04/05 23:47:12.255 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=122] [job="ID:116, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.264 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=984.474µs] [gotSchemaVersion=65] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:12.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=65] [2025/04/05 23:47:12.269 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=6.825167ms] [job="ID:116, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=122] [job="ID:116, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=851.145µs] [gotSchemaVersion=66] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:12.287 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=66] [2025/04/05 23:47:12.288 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=6.17616ms] [job="ID:116, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=122] [job="ID:116, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.301 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=814.86µs] [gotSchemaVersion=67] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:12.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=67] [2025/04/05 23:47:12.306 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=6.493944ms] [job="ID:116, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.311 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=122] [job="ID:116, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.335 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000200] [2025/04/05 23:47:12.342 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=116] [2025/04/05 23:47:12.346 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=122] [job="ID:116, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091209596928, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.350 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:116, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091209596928, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:5,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000200,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:12.353 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000200] [2025/04/05 23:47:12.353 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000200] ["range count"=1] [2025/04/05 23:47:12.353 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000200] [2025/04/05 23:47:12.376 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000200] ["current end key"=7480000000000000705f72800000000000000200] [2025/04/05 23:47:12.376 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=116] [2025/04/05 23:47:12.376 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=116] [2025/04/05 23:47:12.376 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=116] [2025/04/05 23:47:12.520 +00:00] [INFO] [2pc.go:698] ["[BIG_TXN]"] [session=0] ["key sample"=7480000000000000705f728000000000000002] [size=7340083] [keys=1] [puts=1] [dels=0] [locks=0] [checks=0] [txnStartTS=457152091226374144] [2025/04/05 23:47:12.570 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:47:12.608 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=7374572] ["size of flushChan"=0] [2025/04/05 23:47:12.608 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0] [2025/04/05 23:47:12.608 +00:00] [INFO] [backfilling.go:398] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 0, physicalTableID: 112, range: [7480000000000000705f728000000000000002, 7480000000000000705f72800000000000000200), jobID: 116"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000705f7280000000000000020000] ["take time"=232.541677ms] [2025/04/05 23:47:12.608 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=116] [2025/04/05 23:47:12.608 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:5,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000705f728000000000000002] [2025/04/05 23:47:12.644 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2025/04/05 23:47:12.652 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: modify column, Table ID: 112, Table Name: t, Column ID: 5, Column Name: a)"] [2025/04/05 23:47:12.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=712.675µs] [gotSchemaVersion=68] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:12.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=68] [2025/04/05 23:47:12.669 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=6.844591ms] [job="ID:116, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091209596928, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.674 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="modify column"] [2025/04/05 23:47:12.675 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=122] [job="ID:116, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:1, start time: 2025-04-05 23:47:12.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091209596928, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:12.697 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/05 23:47:12.697 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 122\n# Query_time: 0.455246553\n# Parse_time: 0.00006634\n# Compile_time: 0.000279235\n# Rewrite_time: 0.000004023\n# Optimize_time: 0.000069377\n# Wait_TS: 0.000062399\n# DB: test\n# Is_internal: false\n# Digest: de0b2129c814189c446ccba18cab3a3ba415cf0705d14db235877d81dd1b9efa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t modify column a int;"] [2025/04/05 23:47:12.697 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=122] [schemaVersion=68] [cur_db=test] [sql="alter table t modify column a int"] [user=] [2025/04/05 23:47:12.826 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:12.826 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=68] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:335\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 122,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:12.954 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:12.955 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=68] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:336\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 123,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:123: RefreshSession rand seed: 1743896832955644805 [2025/04/05 23:47:13.138 +00:00] [INFO] [2pc.go:698] ["[BIG_TXN]"] [session=124] ["key sample"=7480000000000000705f728000000000000008] [size=7340074] [keys=1] [puts=1] [dels=0] [locks=0] [checks=0] [txnStartTS=457152091382874112] [2025/04/05 23:47:13.177 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152091382874112] [2025/04/05 23:47:13.214 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=7356286] ["size of flushChan"=0] [2025/04/05 23:47:13.214 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0] [2025/04/05 23:47:13.219 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=14680444] ["size of flushChan"=1] [2025/04/05 23:47:13.234 +00:00] [INFO] [set.go:172] ["set global var"] [conn=121] [name=tidb_txn_entry_size_limit] [val=0] [2025/04/05 23:47:13.235 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:13.248 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a varchar(255)"] [2025/04/05 23:47:13.248 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:13.254 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=840.829µs] [gotSchemaVersion=69] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=69] [2025/04/05 23:47:13.274 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=12.6034ms] [job="ID:117, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.280 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.285 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0] [2025/04/05 23:47:13.289 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=874.803µs] [gotSchemaVersion=70] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.292 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=70] [2025/04/05 23:47:13.293 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=6.537897ms] [job="ID:117, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.300 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.308 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=822.492µs] [gotSchemaVersion=71] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.312 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=71] [2025/04/05 23:47:13.313 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=6.052816ms] [job="ID:117, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.319 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.369 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=117] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.377 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=117] [2025/04/05 23:47:13.381 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091474100224, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.385 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:117, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091474100224, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:6,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000800,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:13.388 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.388 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000800] ["range count"=1] [2025/04/05 23:47:13.388 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.421 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000800] ["current end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.421 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=117] [2025/04/05 23:47:13.421 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=117] [2025/04/05 23:47:13.421 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=117] [2025/04/05 23:47:13.603 +00:00] [INFO] [backfilling.go:474] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=117] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.603 +00:00] [WARN] [backfilling.go:1011] ["backfill worker failed"] [category=ddl] ["job ID"=117] ["total added count"=0] ["start key"=7480000000000000705f728000000000000002] ["result next key"=7480000000000000705f728000000000000002] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.603 +00:00] [WARN] [reorg.go:407] ["run reorg job done"] [category=ddl] ["handled rows"=0] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.607 +00:00] [WARN] [modify_column.go:663] ["run modify column job failed, convert job to rollback"] [category=ddl] [job="ID:117, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091474100224, Version: v2, UniqueWarnings:0"] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.608 +00:00] [WARN] [job_worker.go:723] ["run DDL job error"] [category=ddl] [jobID=117] [conn=121] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.613 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=117] [2025/04/05 23:47:13.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091474100224, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=694.981µs] [gotSchemaVersion=72] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.629 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=72] [2025/04/05 23:47:13.631 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=6.166753ms] [job="ID:117, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091474100224, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.637 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="modify column"] [2025/04/05 23:47:13.638 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=121] [job="ID:117, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.24 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091474100224, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.645 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=117] [2025/04/05 23:47:13.647 +00:00] [INFO] [job_scheduler.go:519] ["job not found, might already finished"] [category=ddl] [job_id=117] [2025/04/05 23:47:13.653 +00:00] [INFO] [executor.go:6906] ["DDL job is failed"] [category=ddl] [jobID=117] [2025/04/05 23:47:13.653 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:13.653 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 121\n# Query_time: 0.418936757\n# Parse_time: 0.000117945\n# Compile_time: 0.000452685\n# Rewrite_time: 0.000006158\n# Optimize_time: 0.000075256\n# Wait_TS: 0.000100677\n# DB: test\n# Is_internal: false\n# Digest: 162e56edd47761d383cac81f131a9c304ede73cc502ac74e9ea9298de788b634\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t modify column a varchar(255);"] [2025/04/05 23:47:13.653 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=68] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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.(*executor).DoDDLJobWrapper\n\tpkg/ddl/executor.go:6907\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).ModifyColumn\n\tpkg/ddl/executor.go:3433\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).AlterTable\n\tpkg/ddl/executor.go:1837\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:424\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:162\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:345\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 121,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:13.653 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=121] [schemaVersion=68] [cur_db=test] [sql="alter table t modify column a varchar(255)"] [user=] [2025/04/05 23:47:13.654 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:13.661 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:13.661 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a varchar(255)"] [2025/04/05 23:47:13.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.673 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=847.337µs] [gotSchemaVersion=73] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=73] [2025/04/05 23:47:13.679 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=6.851455ms] [job="ID:118, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.685 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=887.664µs] [gotSchemaVersion=74] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.696 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=74] [2025/04/05 23:47:13.698 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=6.740695ms] [job="ID:118, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.703 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=834.409µs] [gotSchemaVersion=75] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:13.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=75] [2025/04/05 23:47:13.716 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=6.713994ms] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.754 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=118] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.761 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 23:47:13.766 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091579219968, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:13.770 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091579219968, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:7,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000800,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:13.773 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.773 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000800] ["range count"=1] [2025/04/05 23:47:13.773 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.805 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000800] ["current end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:13.805 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=118] [2025/04/05 23:47:13.805 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=118] [2025/04/05 23:47:13.805 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=118] [2025/04/05 23:47:13.984 +00:00] [INFO] [backfilling.go:474] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=118] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.984 +00:00] [WARN] [backfilling.go:1011] ["backfill worker failed"] [category=ddl] ["job ID"=118] ["total added count"=0] ["start key"=7480000000000000705f728000000000000002] ["result next key"=7480000000000000705f728000000000000002] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.984 +00:00] [WARN] [reorg.go:407] ["run reorg job done"] [category=ddl] ["handled rows"=0] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.989 +00:00] [WARN] [modify_column.go:663] ["run modify column job failed, convert job to rollback"] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091579219968, Version: v2, UniqueWarnings:0"] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.989 +00:00] [WARN] [job_worker.go:723] ["run DDL job error"] [category=ddl] [jobID=118] [conn=122] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:13.994 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 23:47:13.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091579219968, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.007 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=741.891µs] [gotSchemaVersion=76] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.010 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=76] [2025/04/05 23:47:14.012 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=6.550082ms] [job="ID:118, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091579219968, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.018 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="modify column"] [2025/04/05 23:47:14.019 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=122] [job="ID:118, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:13.658 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091579219968, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.026 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 23:47:14.029 +00:00] [INFO] [job_scheduler.go:519] ["job not found, might already finished"] [category=ddl] [job_id=118] [2025/04/05 23:47:14.034 +00:00] [INFO] [executor.go:6906] ["DDL job is failed"] [category=ddl] [jobID=118] [2025/04/05 23:47:14.034 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:14.034 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 122\n# Query_time: 0.380782616\n# Parse_time: 0.000081023\n# Compile_time: 0.000278915\n# Rewrite_time: 0.000004688\n# Optimize_time: 0.000069377\n# Wait_TS: 0.000050359\n# DB: test\n# Is_internal: false\n# Digest: 162e56edd47761d383cac81f131a9c304ede73cc502ac74e9ea9298de788b634\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t modify column a varchar(255);"] [2025/04/05 23:47:14.035 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=72] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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.(*executor).DoDDLJobWrapper\n\tpkg/ddl/executor.go:6907\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).ModifyColumn\n\tpkg/ddl/executor.go:3433\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).AlterTable\n\tpkg/ddl/executor.go:1837\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:424\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:162\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:346\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 122,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:14.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=122] [schemaVersion=72] [cur_db=test] [sql="alter table t modify column a varchar(255)"] [user=] [2025/04/05 23:47:14.036 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:14.043 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:14.043 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a varchar(255)"] [2025/04/05 23:47:14.047 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=811.594µs] [gotSchemaVersion=77] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.058 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=77] [2025/04/05 23:47:14.060 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=6.446396ms] [job="ID:119, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.066 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.074 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=813.59µs] [gotSchemaVersion=78] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=78] [2025/04/05 23:47:14.079 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=6.855529ms] [job="ID:119, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=802.025µs] [gotSchemaVersion=79] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.095 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=79] [2025/04/05 23:47:14.097 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=6.719402ms] [job="ID:119, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.136 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=119] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.143 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=119] [2025/04/05 23:47:14.147 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091679096832, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.152 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:119, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091679096832, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:8,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000800,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:14.154 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.154 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000800] ["range count"=1] [2025/04/05 23:47:14.154 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.187 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000800] ["current end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.187 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=119] [2025/04/05 23:47:14.187 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=119] [2025/04/05 23:47:14.187 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=119] [2025/04/05 23:47:14.362 +00:00] [INFO] [backfilling.go:474] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=119] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.362 +00:00] [WARN] [backfilling.go:1011] ["backfill worker failed"] [category=ddl] ["job ID"=119] ["total added count"=0] ["start key"=7480000000000000705f728000000000000002] ["result next key"=7480000000000000705f728000000000000002] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.363 +00:00] [WARN] [reorg.go:407] ["run reorg job done"] [category=ddl] ["handled rows"=0] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.367 +00:00] [WARN] [modify_column.go:663] ["run modify column job failed, convert job to rollback"] [category=ddl] [job="ID:119, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091679096832, Version: v2, UniqueWarnings:0"] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.368 +00:00] [WARN] [job_worker.go:723] ["run DDL job error"] [category=ddl] [jobID=119] [conn=123] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.372 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=119] [2025/04/05 23:47:14.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091679096832, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.385 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=708.061µs] [gotSchemaVersion=80] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.388 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=80] [2025/04/05 23:47:14.391 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=6.483649ms] [job="ID:119, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091679096832, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.396 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="modify column"] [2025/04/05 23:47:14.397 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=123] [job="ID:119, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.039 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091679096832, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.404 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=119] [2025/04/05 23:47:14.407 +00:00] [INFO] [job_scheduler.go:519] ["job not found, might already finished"] [category=ddl] [job_id=119] [2025/04/05 23:47:14.412 +00:00] [INFO] [executor.go:6906] ["DDL job is failed"] [category=ddl] [jobID=119] [2025/04/05 23:47:14.412 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:14.412 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 123\n# Query_time: 0.377137248\n# Parse_time: 0.000074845\n# Compile_time: 0.000301524\n# Rewrite_time: 0.000004141\n# Optimize_time: 0.000085476\n# Wait_TS: 0.000053986\n# DB: test\n# Is_internal: false\n# Digest: 162e56edd47761d383cac81f131a9c304ede73cc502ac74e9ea9298de788b634\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t modify column a varchar(255);"] [2025/04/05 23:47:14.413 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=76] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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.(*executor).DoDDLJobWrapper\n\tpkg/ddl/executor.go:6907\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).ModifyColumn\n\tpkg/ddl/executor.go:3433\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).AlterTable\n\tpkg/ddl/executor.go:1837\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:424\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:162\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:347\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 123,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:14.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=123] [schemaVersion=76] [cur_db=test] [sql="alter table t modify column a varchar(255)"] [user=] [2025/04/05 23:47:14.414 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 23:47:14.420 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 23:47:14.420 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a varchar(255)"] [2025/04/05 23:47:14.425 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.437 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=822.085µs] [gotSchemaVersion=81] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.440 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=81] [2025/04/05 23:47:14.442 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=6.493825ms] [job="ID:120, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.341519ms] [gotSchemaVersion=82] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=82] [2025/04/05 23:47:14.463 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=8.830247ms] [job="ID:120, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=852.049µs] [gotSchemaVersion=83] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=83] [2025/04/05 23:47:14.482 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=7.027443ms] [job="ID:120, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.487 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.522 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=120] [physicalTableID=112] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.529 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=120] [2025/04/05 23:47:14.533 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091780022272, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.538 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:120, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091780022272, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:9,StartKey:7480000000000000705f728000000000000002,EndKey:7480000000000000705f72800000000000000800,First:false,PhysicalTableID:112,Ingest mode:false"] [2025/04/05 23:47:14.541 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000002] ["end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.541 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=112] ["range start"=7480000000000000705f728000000000000002] ["range end"=7480000000000000705f72800000000000000800] ["range count"=1] [2025/04/05 23:47:14.541 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000002] [endKey=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.574 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=112] ["end key"=7480000000000000705f72800000000000000800] ["current end key"=7480000000000000705f72800000000000000800] [2025/04/05 23:47:14.574 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=120] [2025/04/05 23:47:14.574 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=120] [2025/04/05 23:47:14.574 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=120] [2025/04/05 23:47:14.761 +00:00] [INFO] [backfilling.go:474] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=120] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.761 +00:00] [WARN] [backfilling.go:1011] ["backfill worker failed"] [category=ddl] ["job ID"=120] ["total added count"=0] ["start key"=7480000000000000705f728000000000000002] ["result next key"=7480000000000000705f728000000000000002] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.761 +00:00] [WARN] [reorg.go:407] ["run reorg job done"] [category=ddl] ["handled rows"=0] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.766 +00:00] [WARN] [modify_column.go:663] ["run modify column job failed, convert job to rollback"] [category=ddl] [job="ID:120, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457152091780022272, Version: v2, UniqueWarnings:0"] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.766 +00:00] [WARN] [job_worker.go:723] ["run DDL job error"] [category=ddl] [jobID=120] [conn=124] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Set\n\tpkg/store/driver/txn/txn_driver.go:213\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:872\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:835\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:364\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:470\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:14.771 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=120] [2025/04/05 23:47:14.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091780022272, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=719.02µs] [gotSchemaVersion=84] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 23:47:14.787 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=84] [2025/04/05 23:47:14.789 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=6.429507ms] [job="ID:120, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091780022272, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.794 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="modify column"] [2025/04/05 23:47:14.795 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=124] [job="ID:120, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:14.417 +0000 UTC, Err:[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083, ErrCount:1, SnapshotVersion:457152091780022272, Version: v2, UniqueWarnings:0"] [2025/04/05 23:47:14.802 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=120] [2025/04/05 23:47:14.805 +00:00] [INFO] [job_scheduler.go:519] ["job not found, might already finished"] [category=ddl] [job_id=120] [2025/04/05 23:47:14.809 +00:00] [INFO] [executor.go:6906] ["DDL job is failed"] [category=ddl] [jobID=120] [2025/04/05 23:47:14.810 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:14.810 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 124\n# Query_time: 0.396660767\n# Parse_time: 0.000066652\n# Compile_time: 0.000292287\n# Rewrite_time: 0.000006852\n# Optimize_time: 0.000080803\n# Wait_TS: 0.000068372\n# DB: test\n# Is_internal: false\n# Digest: 162e56edd47761d383cac81f131a9c304ede73cc502ac74e9ea9298de788b634\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# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t modify column a varchar(255);"] [2025/04/05 23:47:14.810 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=80] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340083\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.(*executor).DoDDLJobWrapper\n\tpkg/ddl/executor.go:6907\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).ModifyColumn\n\tpkg/ddl/executor.go:3433\ngithub.com/pingcap/tidb/pkg/ddl.(*executor).AlterTable\n\tpkg/ddl/executor.go:1837\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:424\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:162\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:348\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 124,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:14.810 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=124] [schemaVersion=80] [cur_db=test] [sql="alter table t modify column a varchar(255)"] [user=] [2025/04/05 23:47:14.961 +00:00] [INFO] [2pc.go:698] ["[BIG_TXN]"] [session=121] ["key sample"=7480000000000000705f728000000000000009] [size=7340074] [keys=1] [puts=1] [dels=0] [locks=0] [checks=0] [txnStartTS=457152091868889088] [2025/04/05 23:47:15.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457152091868889088] [2025/04/05 23:47:15.173 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 23:47:15.174 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=84] [error="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074"] [errorVerbose="[kv:8025]entry too large, the max entry size is 6291456, the size of data is 7340074\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/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:101\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*memBuffer).SetWithFlags\n\tpkg/store/driver/txn/unionstore_driver.go:96\ngithub.com/pingcap/tidb/pkg/table/tblctx.(*EncodeRowBuffer).WriteMemBufferEncoded\n\tpkg/table/tblctx/buffers.go:82\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).addRecord\n\tpkg/table/tables/tables.go:863\ngithub.com/pingcap/tidb/pkg/table/tables.(*TableCommon).AddRecord\n\tpkg/table/tables/tables.go:682\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).addRecordWithAutoIDHint\n\tpkg/executor/insert_common.go:1419\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).exec\n\tpkg/executor/insert.go:112\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:369\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:531\ntests/realtikvtest/txntest/txntest_test.TestTxnEntrySizeLimit\n\ttests/realtikvtest/txntest/txn_test.go:353\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 121,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:15.174 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/ddl/fg/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.174 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:15.174 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:15.174 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 221, tp add index"] ["take time"=39.62µs] [2025/04/05 23:47:15.174 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 218, tp add index"] ["take time"=29.82µs] [2025/04/05 23:47:15.175 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 219, tp add index"] ["take time"=26.048µs] [2025/04/05 23:47:15.175 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 220, tp add index"] ["take time"=29.623µs] [2025/04/05 23:47:15.175 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:15.175 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 217, tp general"] ["take time"=32.996µs] [2025/04/05 23:47:15.175 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/ddl/fg/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.175 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:15.175 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:15.179 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] ["take time"=5.26493ms] [2025/04/05 23:47:15.179 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.180 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:15.180 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:47:15.180 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [ttl-worker=task-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [originalCount=4] [newCount=0] [2025/04/05 23:47:15.180 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:15.180 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:15.180 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:15.180 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:15.180 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [ttl-worker=task-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [originalCount=4] [newCount=0] [2025/04/05 23:47:15.182 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:15.182 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:15.182 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:15.182 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/stats/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [mock.go:101] ["owner manager retire owner"] [ownerKey=/tidb/bindinfo/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:15.184 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:15.184 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/stats/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:15.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:15.185 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:15.185 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:15.185 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:15.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.185 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:15.185 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:47:15.185 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:47:15.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:15.185 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:47:15.185 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:15.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:15.185 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.185 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:15.185 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:15.184 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:15.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:15.185 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:15.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:15.185 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:15.244 +00:00] [INFO] [mock.go:113] ["owner manager is canceled"] [ownerKey=/tidb/bindinfo/owner] [ID=e27a7ff6-d667-4bd6-85c1-61d8f6c75729] [2025/04/05 23:47:15.244 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:15.244 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:15.250 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=75.455725ms] [2025/04/05 23:47:15.251 +00:00] [INFO] [db.go:567] ["Closing database"] [2025/04/05 23:47:15.251 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2025/04/05 23:47:15.251 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2025/04/05 23:47:15.251 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2025/04/05 23:47:15.251 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2025/04/05 23:47:15.252 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTxnEntrySizeLimit (12.24s) === NAME === RUN TestCheckTxnStatusOnOptimisticTxnBreakConsistency [2025/04/05 23:47:15.256 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:47:15.256 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:47:15.257 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:47:15.258 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:47:15.258 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:47:15.258 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:47:15.258 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:47:15.258 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:47:15.258 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:47:15.258 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:47:15.258 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:47:15.262 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:47:15.267 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:15.268 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:15.268 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:15.277 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:15.287 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:47:15.335 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=448] ["lease id"=3eaa9608566136ae] [2025/04/05 23:47:15.337 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:15.436 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=452] ["elapsed time"=95.516046ms] [2025/04/05 23:47:15.436 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:15.438 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:15.445 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b121b40f-50f7-45b7-895e-0462ac4b5506] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:15.445 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:47:15.447 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:15.448 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:15.448 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185372098560/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:15.448 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:15.449 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:15.449 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [2025/04/05 23:47:15.450 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566137a8] [ownerID=b121b40f-50f7-45b7-895e-0462ac4b5506] [op=none] [2025/04/05 23:47:15.450 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:15.450 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [ownerKey=/tidb/ddl/fg/owner/6f189608566137a8] [currRev=2392] [2025/04/05 23:47:15.451 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:15.451 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:15.451 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:15.452 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319608566136dd] [ownerID=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [op=none] [2025/04/05 23:47:15.452 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [2025/04/05 23:47:15.452 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [ownerKey=/tidb/br-stream/owner/22319608566136dd] [currRev=2393] [2025/04/05 23:47:15.452 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189608566137a8] [ownerID=b121b40f-50f7-45b7-895e-0462ac4b5506] [op=none] [2025/04/05 23:47:15.452 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [op=none] [2025/04/05 23:47:15.452 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:15.456 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:47:15.457 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:15.457 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:15.458 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:15.466 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:15.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:15.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:15.479 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:15.480 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:15.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:15.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:15.481 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:15.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:15.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:15.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:15.481 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:15.483 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:15.485 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f15ae708-5c9e-433d-b094-8d49914ce32e] [2025/04/05 23:47:15.485 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [ttl-worker=task-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [originalCount=0] [newCount=4] [2025/04/05 23:47:15.485 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [ttl-worker=task-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [originalCount=0] [newCount=4] [2025/04/05 23:47:15.485 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:15.486 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:15.487 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:47:15.487 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896835487185804 [2025/04/05 23:47:15.499 +00:00] [INFO] [set.go:172] ["set global var"] [conn=125] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:47:15.513 +00:00] [INFO] [set.go:172] ["set global var"] [conn=125] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:47:15.516 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=125] [schemaVersion=452] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:47:15.528 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:407, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:15.528 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:407, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 23:47:15.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=125] [job="ID:407, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:395, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=452] [neededSchemaVersion=453] ["elapsed time"=4.479043ms] [gotSchemaVersion=453] [phyTblIDs="[395,396,397,398,399,400,401,402,403,404,405]"] [actionTypes="[4,4,4,4,4,4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:15.560 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=453] [2025/04/05 23:47:15.563 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=453] ["take time"=15.081499ms] [job="ID:407, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=125] [job="ID:407, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:395, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.590 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=453] [neededSchemaVersion=454] ["elapsed time"=3.040735ms] [gotSchemaVersion=454] [phyTblIDs="[395,396,397,398,399,400,401,402,403,404,405]"] [actionTypes="[4,4,4,4,4,4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:15.594 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=454] [2025/04/05 23:47:15.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=454] ["take time"=10.511598ms] [job="ID:407, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=125] [job="ID:407, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:395, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.611 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 395, Old Table Name: t)"] [2025/04/05 23:47:15.627 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=454] [neededSchemaVersion=455] ["elapsed time"=1.124839ms] [gotSchemaVersion=455] [phyTblIDs="[395,396,397,398,399,400,401,402,403,404,405]"] [actionTypes="[4,4,4,4,4,4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:15.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=455] [2025/04/05 23:47:15.633 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=455] ["take time"=8.540817ms] [job="ID:407, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.642 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=407] [tableIDs="[396,397,398,399,400,401,402,403,404,405]"] [comment="drop table: partition table IDs"] [2025/04/05 23:47:15.651 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=407] [tableIDs="[395]"] [comment="drop table: table ID"] [2025/04/05 23:47:15.654 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=407] [jobType="drop table"] [2025/04/05 23:47:15.655 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=407] [conn=125] [job="ID:407, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:395, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.674 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=407] [2025/04/05 23:47:15.674 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=125] [schemaVersion=455] [cur_db=test] [sql="drop table `t`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896835675018949 testkit.go:123: RefreshSession rand seed: 1743896835677026505 testkit.go:123: RefreshSession rand seed: 1743896835678867062 testkit.go:123: RefreshSession rand seed: 1743896835680714993 [2025/04/05 23:47:15.696 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:15.696 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (id int primary key, v int)"] [2025/04/05 23:47:15.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=409] [conn=128] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.705 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 408, Table Name: t)"] [2025/04/05 23:47:15.719 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=455] [neededSchemaVersion=456] ["elapsed time"=1.40036ms] [gotSchemaVersion=456] [phyTblIDs="[408]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:15.723 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=409] [version=456] [2025/04/05 23:47:15.724 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=456] ["take time"=8.226534ms] [job="ID:409, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.735 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=409] [conn=128] [job="ID:409, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.745 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=409] [2025/04/05 23:47:15.746 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=128] [schemaVersion=456] [cur_db=test] [sql="create table t (id int primary key, v int)"] [user=] [2025/04/05 23:47:15.762 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:411, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:15.762 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:411, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (id int primary key, v int unique)"] [2025/04/05 23:47:15.769 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=411] [conn=128] [job="ID:411, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.774 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 410, Table Name: t2)"] [2025/04/05 23:47:15.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=456] [neededSchemaVersion=457] ["elapsed time"=1.478066ms] [gotSchemaVersion=457] [phyTblIDs="[410]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:15.793 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=411] [version=457] [2025/04/05 23:47:15.795 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=457] ["take time"=9.381016ms] [job="ID:411, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:15.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=411] [conn=128] [job="ID:411, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:15.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:15.819 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=411] [2025/04/05 23:47:15.820 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=128] [schemaVersion=457] [cur_db=test] [sql="create table t2 (id int primary key, v int unique)"] [user=] [2025/04/05 23:47:15.839 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092120809490] [keys="[7480000000000001985f728000000000000002]"] [2025/04/05 23:47:15.839 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092120809490] [keys="[7480000000000001985f728000000000000001]"] [2025/04/05 23:47:15.839 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092120809490] [keys="[74800000000000019a5f69800000000000000103800000000000000a]"] [2025/04/05 23:47:15.839 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092120809490] [keys="[74800000000000019a5f728000000000000001]"] [2025/04/05 23:47:15.839 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092120809490] [keys="[74800000000000019a5f69800000000000000103800000000000000b]"] [2025/04/05 23:47:15.893 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001985f728000000000000002, primary: 7480000000000001985f728000000000000001, txnStartTS: 457152092120809490, lockForUpdateTS:0, minCommitTs:457152092133916674, ttl: 1, type: Put, UseAsyncCommit: false, txnSize: 5"] [2025/04/05 23:47:15.894 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092147023873] [keys="[7480000000000001985f728000000000000002]"] [2025/04/05 23:47:15.897 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092147023874] [keys="[74800000000000019a5f728000000000000002]"] [2025/04/05 23:47:15.897 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092147023874] [keys="[74800000000000019a5f69800000000000000103800000000000000b]"] [2025/04/05 23:47:15.897 +00:00] [INFO] [prewrite.go:473] ["prewrite encounters lock. More locks belonging to the same transaction may be omitted"] [session=129] [txnID=457152092147023874] [lock="key: 74800000000000019a5f69800000000000000103800000000000000b, primary: 7480000000000001985f728000000000000001, txnStartTS: 457152092120809490, lockForUpdateTS:0, minCommitTs:457152092133916674, ttl: 1, type: Put, UseAsyncCommit: false, txnSize: 5"] [policy=NoResolvePolicy] [2025/04/05 23:47:15.898 +00:00] [WARN] [session.go:810] [sql] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457152092147023874, conflictStartTS=457152092120809490, conflictCommitTS=0, key={tableID=410, tableName=test.t2, indexID=1, indexValues={11, }}, originalKey=74800000000000019a5f69800000000000000103800000000000000b, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [txn="Txn{state=invalid}"] [2025/04/05 23:47:15.899 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=457] [retryCnt=0] [queryNum=0] [sql="insert into t2 values (2, 11)"] [2025/04/05 23:47:16.458 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:16.458 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:16.458 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:16.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:16.486 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:47:16.486 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:47:16.486 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f15ae708-5c9e-433d-b094-8d49914ce32e] [watcherID=a93320cc-b1e2-47cd-95fc-5355d3164bea] [2025/04/05 23:47:16.487 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:47:16.492 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:47:16.492 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:47:16.492 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:47:16.492 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:47:16.901 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 74800000000000019a5f69800000000000000103800000000000000b, primary: 7480000000000001985f728000000000000001, txnStartTS: 457152092120809490, lockForUpdateTS:0, minCommitTs:457152092133916674, ttl: 1, type: Put, UseAsyncCommit: false, txnSize: 5"] [2025/04/05 23:47:16.906 +00:00] [WARN] [session.go:1135] ["transaction association"] ["retrying txnStartTS"=457152092147023875] ["original txnStartTS"=457152092147023874] [2025/04/05 23:47:16.906 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092147023875] [keys="[74800000000000019a5f728000000000000002]"] [2025/04/05 23:47:16.906 +00:00] [INFO] [prewrite.go:158] ["[failpoint] injected lock ttl = 1 on prewrite"] [txnStartTS=457152092147023875] [keys="[74800000000000019a5f69800000000000000103800000000000000b]"] [2025/04/05 23:47:16.908 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152092147023874\n# Conn_ID: 129\n# Query_time: 1.012136186\n# Parse_time: 0.000119088\n# Compile_time: 0.000410536\n# Rewrite_time: 0.000037009\n# Optimize_time: 0.000068365\n# Wait_TS: 0.000441056\n# LockKeys_time: 1.005846798 Prewrite_time: 0.00111176 Write_keys: 2 Write_size: 65 Prewrite_region: 1 Txn_retry: 1\n# DB: test\n# Is_internal: false\n# Digest: 8f9c4f0f47f70ea391ba940886a7cc162af1c2c933888753626adf667cf8a85d\n# Mem_max: 8336\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 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('8weIMAkyN18xCTAJMAlOL0EJMAl0b3RhbF90aW1lOjEuMDFzLCAJEihvcGVuOjIxLjLCtRUUJGNsb3NlOjMwLjcFFURsb29wczozLCBwcmVwYXJlOiANQiRpbnNlcnQ6Mzc5BShMY29tbWl0X3R4bjoge3ByZXdyaXQBbkwxMW1zLCByZWdpb25fbnVtOjEsIAUcGF9rZXlzOjIRDmhieXRlOjY1LCB0eG5fcmV0cnk6MX0sIGxvY2sJKgQgey7AAAlRAU0RRxxyZXNvbHZlXwEyDDoxLjYBdyhzbG93ZXN0X3JwYwFAIQYYOiAwLjAwMhmUKGlkOiAxNCwgc3RvBd48MjcuMC4wLjE6MjAxNjAsIAF2GF9kZXRhaWwRRBxfcHJvY2VzcylSFCAxMDUuNSUFBWIcX3N1c3BlbmQNHgQ5MjFLIHRpa3ZfZ3JwYzpAAAQyMhE/FSEEd2EhTCGwDCAyMS4pYgUeDHdhbGwNWTAxLjA4bXN9LCBzY2FuGaIsZ2V0X3NuYXBzaG90ESoANS3NgHJvY2tzZGI6IHtrZXlfc2tpcHBlZF9jb3VudDogNSwgYiU9FCB7fX19LC2mFfolIBRfYmF0Y2gFnww6IDMwDbggcHJvcG9zZV9zAfYBu0A6IDBzLCBwZXJzaXN0X2xvZzE6EDogODcuSW5JBRRsZWFkZXINNSQzM25zLCBzeW5jCTQAMxG4CSwcbWVtdGFibGVBgwwyM8K1AfxNdwBsAWMIMzY5DVwQYXBwbHkyrAAMMTkuNCWjBRsVjwg0NDQtXhBtdXRleEk9Bb0JczKfAAHUCRccd2FsOiAzOTINPAkVGZ8IOS43AW0lmyRoZWR1bGVyOiB7TTUQOiA5NjEtkABsPU4IMi40IRklewBsQfYIcnBjYa4oMDM5Njg5ODdzLCBBOymtQDN9CTE0NCBCeXRlcwlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('/AeoCvcHCghJbnNlcnRfMTgBQAFSA04vQVpCdG90YWxfdGltZToxLjAxcywgdAUSKG9wZW46MjEuMsK1FRQkY2xvc2U6MzAuNwUVRGxvb3BzOjNiHXByZXBhcmU6IA1CAGkFZ3Q6Mzc5wrVzYvAGY29tbWl0X3R4bjoge3ByZXdyaXQBb0wxMW1zLCByZWdpb25fbnVtOjEsIAUcGF9rZXlzOjIRDmhieXRlOjY1LCB0eG5fcmV0cnk6MX0sIGxvY2sJKgQgey7BAAlRAU0RRxxyZXNvbHZlXwEyDDoxLjYBdyhzbG93ZXN0X3JwYwFAAfUYOiAwLjAwMhmUKGlkOiAxNCwgc3RvBd88MjcuMC4wLjE6MjAxNjAsIAF2GF9kZXRhaWwRRBxfcHJvY2VzcylTFCAxMDUuNSUuBWIcX3N1c3BlbmQNHgQ5MjFMIHRpa3ZfZ3JwYzpAAAQyMhE/FSEEd2EhTCGxDCAyMS4hYwGJGGt2X3dhbGwNWTAxLjA4bXN9LCBzY2FuGaIsZ2V0X3NuYXBzaG90ESoANS3OgHJvY2tzZGI6IHtrZXlfc2tpcHBlZF9jb3VudDogNSwgYiU9FCB7fX19LC2mFfolIBRfYmF0Y2gFnww6IDMwDbggcHJvcG9zZV9zAfYBu0A6IDBzLCBwZXJzaXN0X2xvZzE6EDogODcuSW9JBRRsZWFkZXINNSQzM25zLCBzeW5jCTQAMxG4CSwcbWVtdGFibGVBhAwyM8K1AfxNdwBsAWMIMzY5DVwQYXBwbHkyrAAMMTkuNCWjBRsVjwg0NDQtXhBtdXRleEk9Bb0JczKfAAHUCRccd2FsOiAzOTINPAkVGZ8IOS43AW0lmyRoZWR1bGVyOiB7TTUQOiA5NjEtkABsPU4IMi40IRklewBsQfZEcnBjOjEuMDAzOTY4OTg3cywgQTsprUQzfXCQAXj///////////8BGAE=')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036968\nuse test;\ninsert into t2 values (2, 11);"] [2025/04/05 23:47:17.030 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457152092120809490, conflictStartTS=457152092120809489, conflictCommitTS=457152092120809490, key={tableID=408, tableName=test.t, handle=1}, originalKey=7480000000000001985f728000000000000001, primary={tableID=408, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001985f728000000000000001, reason=SelfRolledBack [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 23:47:17.030 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=457152092120809490, conflictStartTS=457152092120809489, conflictCommitTS=457152092120809490, key={tableID=408, tableName=test.t, handle=1}, originalKey=7480000000000001985f728000000000000001, primary={tableID=408, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001985f728000000000000001, reason=SelfRolledBack [try again later]"] [2025/04/05 23:47:17.031 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152092120809490\n# Conn_ID: 128\n# Query_time: 1.192138214\n# Parse_time: 0.000268651\n# Compile_time: 0.000188021\n# Rewrite_time: 0.000001576\n# Optimize_time: 0.000077744\n# Wait_TS: 0\n# Prewrite_time: 1.190355074 Get_latest_ts_time: 0.000301192 Commit_backoff_time: 0.065 Prewrite_Backoff_types: [tikvRPC] Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 90.2µs, total_suspend_time: 412.6µs, tikv_grpc_process_time: 12.1µs, tikv_grpc_wait_time: 24.1µs, tikv_wall_time: 546µs}, scan_detail: {get_snapshot_time: 16.8µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 111.3µs, propose_send_wait: 0s, persist_log: {total: 103µs, write_leader_wait: 33ns, sync_log: 29.5µs, write_memtable: 315ns}, commit_log: 191.4µs, apply_batch_wait: 16.6µs, apply: {total:50.1µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 6.5µs, write_memtable: 6.69µs}, scheduler: {process: 451.5µs, latch_wait: 2.28µs}}} Write_keys: 5 Write_size: 151 Prewrite_region: 1\n# DB: test\n# Is_internal: false\n# Digest: 9505cacb7c710ed17125fcc6cb3669e8ddca6c8cd8af6a31f6b3cd64604c3098\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Resource_group: default\n# Tikv_cpu_time: 0.000088524\n# Prev_stmt: update t2 set v = v + 1 where id = 1\nuse test;\ncommit;"] [2025/04/05 23:47:17.031 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=457] [error="previous statement: update t2 set v = v + 1 where id = 1: [kv:9007]Write conflict, txnStartTS=457152092120809490, conflictStartTS=457152092120809489, conflictCommitTS=457152092120809490, key={tableID=408, tableName=test.t, handle=1}, originalKey=7480000000000001985f728000000000000001, primary={tableID=408, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001985f728000000000000001, reason=SelfRolledBack [try again later]"] [errorVerbose="[kv:9007]Write conflict, txnStartTS=457152092120809490, conflictStartTS=457152092120809489, conflictCommitTS=457152092120809490, key={tableID=408, tableName=test.t, handle=1}, originalKey=7480000000000001985f728000000000000001, primary={tableID=408, tableName=test.t, handle=1}, originalPrimaryKey=7480000000000001985f728000000000000001, reason=SelfRolledBack [try again later]\nprevious statement: update t2 set v = v + 1 where id = 1\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:280\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ntests/realtikvtest/txntest/txntest_test.TestCheckTxnStatusOnOptimisticTxnBreakConsistency.func6\n\ttests/realtikvtest/txntest/txn_test.go:501\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 128,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:17.035 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t2] ["index name"=v] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t2`]) */ bit_xor(crc32(md5(concat_ws(0x2, `id`, `v`)))), ((cast(crc32(md5(concat_ws(0x2, `id`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t2` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `id`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `id`, `v`)))), ((cast(crc32(md5(concat_ws(0x2, `id`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t2` use index(`v`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `id`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 23:47:17.053 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:47:17.053 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [] [2025/04/05 23:47:17.053 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.056 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:17.056 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:17.057 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:17.057 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 222, tp general"] ["take time"=32.489µs] [2025/04/05 23:47:17.057 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 223, tp general"] ["take time"=31.373µs] [2025/04/05 23:47:17.057 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 224, tp general"] ["take time"=25.958µs] [2025/04/05 23:47:17.057 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.057 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.058 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:17.058 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:17.059 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b121b40f-50f7-45b7-895e-0462ac4b5506] ["take time"=5.944638ms] [2025/04/05 23:47:17.059 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.059 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:17.059 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/f15ae708-5c9e-433d-b094-8d49914ce32e] [watcherID=a93320cc-b1e2-47cd-95fc-5355d3164bea] [2025/04/05 23:47:17.059 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:47:17.059 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f15ae708-5c9e-433d-b094-8d49914ce32e] [2025/04/05 23:47:17.059 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [ttl-worker=task-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [originalCount=4] [newCount=0] [2025/04/05 23:47:17.059 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:17.059 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:17.059 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:17.059 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:17.060 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [ttl-worker=task-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [originalCount=4] [newCount=0] [2025/04/05 23:47:17.062 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:17.062 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:17.062 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:17.062 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:17.065 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.065 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=448] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:17.066 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:17.066 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:47:17.066 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:47:17.066 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:47:17.066 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:17.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:17.066 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:17.066 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:17.067 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:17.067 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.067 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:17.067 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:17.067 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:17.067 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:17.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:17.067 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [error="context canceled"] [2025/04/05 23:47:17.067 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.068 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:17.068 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:17.068 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:47:17.068 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bb434acb-56fc-4fb0-9879-45ba3dcb7cd3] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:17.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:17.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:17.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:17.068 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [error="context canceled"] [2025/04/05 23:47:17.068 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:47:17.068 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:17.068 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [error="context canceled"] [2025/04/05 23:47:17.068 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [2025/04/05 23:47:17.128 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b121b40f-50f7-45b7-895e-0462ac4b5506] [error="context canceled"] [2025/04/05 23:47:17.128 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:17.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:17.138 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.477592ms] [2025/04/05 23:47:17.141 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:47:17.141 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:47:17.141 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:47:17.141 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:47:17.141 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:47:17.141 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:47:17.141 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:47:17.141 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:47:17.141 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:47:17.141 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-55] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:17.141 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:47:17.141 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:47:17.142 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestCheckTxnStatusOnOptimisticTxnBreakConsistency (1.89s) === NAME === RUN TestDMLWithAddForeignKey [2025/04/05 23:47:17.147 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:47:17.147 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:47:17.148 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:47:17.149 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:47:17.149 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:47:17.149 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:47:17.149 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:47:17.149 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:47:17.149 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:47:17.149 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:47:17.150 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:47:17.153 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:47:17.158 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:17.158 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:17.159 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:17.167 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:17.177 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:47:17.213 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1085] ["lease id"=6f189608566137c1] [2025/04/05 23:47:17.214 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:17.304 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=457] ["elapsed time"=87.027604ms] [2025/04/05 23:47:17.304 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:17.306 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:17.312 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:17.312 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:47:17.314 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:17.315 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:17.315 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185463070720/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:17.315 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:17.315 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:17.316 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [2025/04/05 23:47:17.317 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566136fc] [ownerID=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [op=none] [2025/04/05 23:47:17.317 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:17.318 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:17.318 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [ownerKey=/tidb/ddl/fg/owner/22319608566136fc] [currRev=2426] [2025/04/05 23:47:17.318 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:17.319 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9608566136dd] [ownerID=149311f7-2c3a-4a0b-ada3-60874083cffe] [op=none] [2025/04/05 23:47:17.319 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:17.319 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [2025/04/05 23:47:17.319 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [ownerKey=/tidb/br-stream/owner/3eaa9608566136dd] [currRev=2426] [2025/04/05 23:47:17.319 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319608566136fc] [ownerID=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [op=none] [2025/04/05 23:47:17.319 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [op=none] [2025/04/05 23:47:17.320 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:17.323 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1176]Key 'b' doesn't exist in table 't'"] [2025/04/05 23:47:17.323 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:17.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:17.324 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:17.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:17.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:17.345 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:17.345 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:17.346 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:17.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:17.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:17.348 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:17.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:17.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:17.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:17.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:17.351 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:17.352 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d0bad5bf-a8ed-4b7a-8640-bb946543758e] [2025/04/05 23:47:17.352 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [ttl-worker=task-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [originalCount=0] [newCount=4] [2025/04/05 23:47:17.352 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [ttl-worker=task-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [originalCount=0] [newCount=4] [2025/04/05 23:47:17.352 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:17.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:17.355 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 23:47:17.355 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743896837355739978 [2025/04/05 23:47:17.374 +00:00] [INFO] [set.go:172] ["set global var"] [conn=130] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:47:17.391 +00:00] [INFO] [set.go:172] ["set global var"] [conn=130] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:47:17.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=130] [schemaVersion=457] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 23:47:17.395 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=130] [schemaVersion=457] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/05 23:47:17.406 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:412, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`"] [2025/04/05 23:47:17.406 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:412, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:17.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=412] [conn=130] [job="ID:412, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=457] [neededSchemaVersion=458] ["elapsed time"=1.954271ms] [gotSchemaVersion=458] [phyTblIDs="[408]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:17.433 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=412] [version=458] [2025/04/05 23:47:17.435 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=458] ["take time"=10.518812ms] [job="ID:412, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.446 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=412] [conn=130] [job="ID:412, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=458] [neededSchemaVersion=459] ["elapsed time"=1.850578ms] [gotSchemaVersion=459] [phyTblIDs="[408]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:17.466 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=412] [version=459] [2025/04/05 23:47:17.467 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=459] ["take time"=9.469246ms] [job="ID:412, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=412] [conn=130] [job="ID:412, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.485 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 408, Old Table Name: t)"] [2025/04/05 23:47:17.498 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=459] [neededSchemaVersion=460] ["elapsed time"=1.131326ms] [gotSchemaVersion=460] [phyTblIDs="[408]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:17.502 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=412] [version=460] [2025/04/05 23:47:17.504 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=460] ["take time"=9.377846ms] [job="ID:412, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.514 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=412] [tableIDs="[408]"] [comment="drop table: table ID"] [2025/04/05 23:47:17.521 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=412] [jobType="drop table"] [2025/04/05 23:47:17.523 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=412] [conn=130] [job="ID:412, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.541 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=412] [2025/04/05 23:47:17.551 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:413, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:17.551 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:413, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t2`"] [2025/04/05 23:47:17.557 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=130] [job="ID:413, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=460] [neededSchemaVersion=461] ["elapsed time"=2.073683ms] [gotSchemaVersion=461] [phyTblIDs="[410]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:17.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=461] [2025/04/05 23:47:17.583 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=461] ["take time"=10.350801ms] [job="ID:413, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=130] [job="ID:413, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.611 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=461] [neededSchemaVersion=462] ["elapsed time"=2.157575ms] [gotSchemaVersion=462] [phyTblIDs="[410]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:17.615 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=462] [2025/04/05 23:47:17.617 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=462] ["take time"=10.273843ms] [job="ID:413, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=130] [job="ID:413, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.633 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 410, Old Table Name: t2)"] [2025/04/05 23:47:17.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=462] [neededSchemaVersion=463] ["elapsed time"=1.440189ms] [gotSchemaVersion=463] [phyTblIDs="[410]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:17.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=463] [2025/04/05 23:47:17.652 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=463] ["take time"=9.344992ms] [job="ID:413, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.661 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=413] [tableIDs="[410]"] [comment="drop table: table ID"] [2025/04/05 23:47:17.665 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="drop table"] [2025/04/05 23:47:17.666 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=413] [conn=130] [job="ID:413, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.683 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/05 23:47:17.683 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=130] [schemaVersion=463] [cur_db=test] [sql="drop table `t`,`t2`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896837683533624 [2025/04/05 23:47:17.700 +00:00] [INFO] [set.go:172] ["set global var"] [conn=131] [name=tidb_enable_1pc] [val=OFF] [2025/04/05 23:47:17.706 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/05 23:47:17.711 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/05 23:47:17.723 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/05 23:47:17.730 +00:00] [INFO] [set.go:172] ["set global var"] [conn=131] [name=tidb_enable_metadata_lock] [val=OFF] [2025/04/05 23:47:17.747 +00:00] [INFO] [set.go:172] ["set global var"] [conn=131] [name=tidb_enable_async_commit] [val=ON] testkit.go:123: RefreshSession rand seed: 1743896837748270669 testkit.go:123: RefreshSession rand seed: 1743896837751167090 [2025/04/05 23:47:17.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:415, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:17.771 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:415, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key, val int, index(val));"] [2025/04/05 23:47:17.777 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=133] [job="ID:415, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.783 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 414, Table Name: parent)"] [2025/04/05 23:47:17.797 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=463] [neededSchemaVersion=464] ["elapsed time"=2.099126ms] [gotSchemaVersion=464] [phyTblIDs="[414]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:17.844 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=464] ["take time"=51.382313ms] [job="ID:415, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.900 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=464] ["take time"=50.961694ms] [job="ID:415, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.903 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=415] [conn=133] [job="ID:415, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/05 23:47:17.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=133] [schemaVersion=464] [cur_db=test] [sql="create table parent (id int primary key, val int, index(val));"] [user=] [2025/04/05 23:47:17.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:17.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child (id int primary key, val int, index(val));"] [2025/04/05 23:47:17.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=417] [conn=133] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:17.947 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 416, Table Name: child)"] [2025/04/05 23:47:17.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=464] [neededSchemaVersion=465] ["elapsed time"=1.664606ms] [gotSchemaVersion=465] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:18.009 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=465] ["take time"=51.688197ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:17.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.067 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=465] ["take time"=51.462922ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.069 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=417] [conn=133] [job="ID:417, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:17.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.082 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/05 23:47:18.082 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=133] [schemaVersion=465] [cur_db=test] [sql="create table child (id int primary key, val int, index(val));"] [user=] [2025/04/05 23:47:18.096 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:418, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table child add foreign key fk(val) references parent (val);"] [2025/04/05 23:47:18.096 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:418, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:18.103 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=133] [job="ID:418, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.118 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=465] [neededSchemaVersion=466] ["elapsed time"=1.790446ms] [gotSchemaVersion=466] [phyTblIDs="[416]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2025/04/05 23:47:18.165 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=466] ["take time"=50.920037ms] [job="ID:418, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.221 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=466] ["take time"=51.784822ms] [job="ID:418, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=133] [job="ID:418, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:18.225 +00:00] [INFO] [ddl.go:1200] ["sleep before DDL finishes to make async commit and 1PC safe"] [category=ddl] [duration=10.5s] [2025/04/05 23:47:18.323 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:18.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:18.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:18.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:18.352 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:47:18.352 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:47:18.352 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d0bad5bf-a8ed-4b7a-8640-bb946543758e] [watcherID=f42de1ff-1e18-48f2-a5d8-cd6bae76a813] [2025/04/05 23:47:18.355 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:47:18.360 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:47:18.360 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:47:18.360 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:47:18.360 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:47:19.154 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 23:47:19.316 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 23:47:20.330 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle.(*Domain).globalBindHandleWorkerLoop.func1\n\tpkg/domain/domain.go:2224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:23.331 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle.(*Domain).globalBindHandleWorkerLoop.func1\n\tpkg/domain/domain.go:2224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:26.329 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle.(*Domain).globalBindHandleWorkerLoop.func1\n\tpkg/domain/domain.go:2224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:28.731 +00:00] [WARN] [prewrite.go:597] ["async commit cannot proceed since the returned minCommitTS is zero, fallback to normal path"] [startTS=457152092710633483] [2025/04/05 23:47:28.732 +00:00] [INFO] [schema_validator.go:220] ["schema of tables in the transaction are changed"] ["conflicted table IDs"="[416]"] ["transaction schema"=465] ["schema versions that changed the tables"="[466]"] [2025/04/05 23:47:28.732 +00:00] [WARN] [session.go:810] [sql] [label=general] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:2092\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1917\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestDMLWithAddForeignKey.func3\n\ttests/realtikvtest/txntest/txn_test.go:577\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:351\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:118\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ntests/realtikvtest/txntest/txntest_test.TestDMLWithAddForeignKey.func3\n\ttests/realtikvtest/txntest/txn_test.go:577\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [txn="Txn{state=invalid}"] [2025/04/05 23:47:28.733 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=466] [retryCnt=0] [queryNum=0] [sql="insert into child values (1, 1)"] [2025/04/05 23:47:28.735 +00:00] [WARN] [session.go:1135] ["transaction association"] ["retrying txnStartTS"=457152095502467078] ["original txnStartTS"=457152092710633483] [2025/04/05 23:47:28.735 +00:00] [WARN] [session.go:1151] [sql] [label=general] [session="{\n \"currDBName\": \"test\",\n \"id\": 132,\n \"status\": 2,\n \"strictMode\": true,\n \"txn\": \"457152095502467078\",\n \"user\": null\n}"] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk` FOREIGN KEY (`val`) REFERENCES `parent` (`val`))"] [2025/04/05 23:47:28.735 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk` FOREIGN KEY (`val`) REFERENCES `parent` (`val`))"] [2025/04/05 23:47:28.736 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152092710633483\n# Conn_ID: 132\n# Query_time: 10.652545288\n# Parse_time: 0.00038387\n# Compile_time: 0.00056525\n# Rewrite_time: 0.000070846\n# Optimize_time: 0.000115161\n# Wait_TS: 0.000473679\n# Prewrite_time: 0.001390616 Get_commit_ts_time: 0.000253792 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 166.6µs, total_suspend_time: 559.4µs, tikv_grpc_process_time: 17.2µs, tikv_grpc_wait_time: 11.5µs, tikv_wall_time: 769.6µs}, scan_detail: {get_snapshot_time: 22.4µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 29µs, propose_send_wait: 0s, persist_log: {total: 173.2µs, write_leader_wait: 151ns, sync_log: 120.7µs, write_memtable: 2.74µs}, commit_log: 352.3µs, apply_batch_wait: 19.2µs, apply: {total:107.6µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 31.6µs, write_memtable: 20.1µs}, scheduler: {process: 658.1µs, latch_wait: 6.71µs}}} Write_keys: 2 Write_size: 67 Prewrite_region: 1\n# DB: test\n# Is_internal: false\n# Digest: 99123570f69d3302bdab8380e2796b5c1ba696277764365ba9dd250c6aead3d1\n# Mem_max: 8336\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('lgeYMAkyN18xCTAJMAlOL0EJMAl0b3RhbF90aW1lOjQ4Ny41wrVzLCB0BRUYb3BlbjoxNjIUACRjbG9zZToyOS40BSlMbG9vcHM6MiwgcHJlcGFyZTogMTcRRSRpbnNlcnQ6MzEwBSuIY29tbWl0X3R4bjoge3ByZXdyaXRlOjEuMzltcywgZ2V0X2MNIhhzOjI1My44BTYcc2xvd2VzdF8RMRhfcnBjOiB7BbZsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMTQsIHN0bwWLPDI3LjAuMC4xOjIwMTYwLCAB5hhfZGV0YWlsEUQcX3Byb2Nlc3MpAhQgMTY2LjYFeQViHF9zdXNwZW5kDR4ENTUR+CB0aWt2X2dycGM+QAAINy4yCT8VIQR3YQH2IWAIIDExMUwBHgx3YWxsDVkINzY5BXcYfSwgc2NhbhmkIRccc25hcHNob3QNLAQyMi18WHJvY2tzZGI6IHtibG9jazoge319fSwgJVgZQgBzIQwUX2JhdGNoBYsMOiAyOQWiIHByb3Bvc2VfcwHgAaVAOiAwcywgcGVyc2lzdF9sb2cxJCHVADMN2AleFGxlYWRlcg02KDE1MW5zLCBzeW5jCTYQMTIwLjcFZAkuPG1lbXRhYmxlOiAyLjc0wrUB500OAGwBZhAzNTIuMwUwEGFwcGx5Mq0ABDE5DXkFGxWSDDEwNy4pqBRtdXRleF8pAQHACXMyoQAZFxh3YWw6IDMxDTsJKx2eCDAuMQmeIHNjaGVkdWxlckWrRSEQOiA2NTgFIAgsIGw9Tgg2LjcFNSF7TYcQbnVtOjExiQhrZXllIQltWGJ5dGU6Njd9CTE0NCBCeXRlcwlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('nwewCpoHCghJbnNlcnRfMTgBQAFSA04vQVpFdG90YWxfdGltZTo0ODcuNcK1cywgCRUcb3BlbjoxNi4uFAAoY2xvc2U6MjkuNMIBKUxsb29wczoyYiBwcmVwYXJlOiAxNxFFBGluAW2wOjMxMMK1c2KNBmNvbW1pdF90eG46IHtwcmV3cml0ZToxLjM5bXMsIGdldF9jDSIYczoyNTMuOAViHHNsb3dlc3RfETEYX3JwYzogewWibDogMC4wMDFzLCByZWdpb25faWQ6IDE0LCBzdG8FjDwyNy4wLjAuMToyMDE2MCwgAecYX2RldGFpbBFEHF9wcm9jZXNzKQMUIDE2Ni42BXkFYhxfc3VzcGVuZA0eBDU1EfkgdGlrdl9ncnBjPkAACDcuMgk/FSEEd2EB9iFhCCAxMTFNAR4Md2FsbA1ZCDc2OQV3GH0sIHNjYW4ZpCxnZXRfc25hcHNob3QNLAQyMi19WHJvY2tzZGI6IHtibG9jazoge319fSwgJVgZQgBzIQwUX2JhdGNoBYsMOiAyOQWiIHByb3Bvc2VfcwHgAaVAOiAwcywgcGVyc2lzdF9sb2cxJCHWADMN2AleFGxlYWRlcg02KDE1MW5zLCBzeW5jCTYQMTIwLjcFZAkuPG1lbXRhYmxlOiAyLjc0wrUB500OAGwBZhAzNTIuMwUwEGFwcGx5Mq0ABDE5DXkFGxWSDDEwNy4pqBRtdXRleF8pAQHACXMyoQAZFxh3YWw6IDMxDTsJKx2eCDAuMQmeIHNjaGVkdWxlckWrRSEQOiA2NTgFIAgsIGw9Tgg2LjcFNSF7TYcQbnVtOjExiRRrZXlzOjIRDlxieXRlOjY3fXCQAXj///////////8BGAE=')\n# Resource_group: default\nuse test;\ninsert into child values (1, 1);"] [2025/04/05 23:47:28.736 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=466] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk` FOREIGN KEY (`val`) REFERENCES `parent` (`val`))"] [session="{\n \"currDBName\": \"test\",\n \"id\": 132,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 23:47:28.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=466] [neededSchemaVersion=467] ["elapsed time"=1.636488ms] [gotSchemaVersion=467] [phyTblIDs="[416]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2025/04/05 23:47:28.790 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=467] ["take time"=51.199328ms] [job="ID:418, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:28.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=133] [job="ID:418, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:28.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=467] [neededSchemaVersion=468] ["elapsed time"=1.505697ms] [gotSchemaVersion=468] [phyTblIDs="[416]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2025/04/05 23:47:28.856 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=468] ["take time"=51.637173ms] [job="ID:418, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:28.862 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=418] [conn=133] [job="ID:418, Type:add foreign key, State:synced, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:18.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:28.873 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=418] [2025/04/05 23:47:28.873 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 133\n# Query_time: 10.790866825\n# Parse_time: 0.000469012\n# Compile_time: 0.000427649\n# Rewrite_time: 0.00000559\n# Optimize_time: 0.000102204\n# Wait_TS: 0.000610042\n# DB: test\n# Is_internal: false\n# Digest: 425b44f48ed4261846a5172ed82d77b3165385359c1778be9c09b980bda75e14\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table child add foreign key fk(val) references parent (val);"] [2025/04/05 23:47:28.874 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=133] [schemaVersion=468] [cur_db=test] [sql="alter table child add foreign key fk(val) references parent (val);"] [user=] [2025/04/05 23:47:28.874 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:47:28.874 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [] [2025/04/05 23:47:28.874 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.875 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:28.875 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:28.875 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:28.875 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 225, tp general"] ["take time"=41.33µs] [2025/04/05 23:47:28.876 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 226, tp general"] ["take time"=26.563µs] [2025/04/05 23:47:28.876 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 227, tp general"] ["take time"=30.449µs] [2025/04/05 23:47:28.876 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 228, tp general"] ["take time"=25.175µs] [2025/04/05 23:47:28.876 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 229, tp general"] ["take time"=29.822µs] [2025/04/05 23:47:28.876 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.876 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.877 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:28.877 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:28.878 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] ["take time"=4.725479ms] [2025/04/05 23:47:28.879 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.879 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:28.879 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d0bad5bf-a8ed-4b7a-8640-bb946543758e] [watcherID=f42de1ff-1e18-48f2-a5d8-cd6bae76a813] [2025/04/05 23:47:28.879 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:47:28.879 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d0bad5bf-a8ed-4b7a-8640-bb946543758e] [2025/04/05 23:47:28.879 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [ttl-worker=task-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [originalCount=4] [newCount=0] [2025/04/05 23:47:28.879 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:28.879 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:28.879 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:28.879 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:28.879 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [ttl-worker=task-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [originalCount=4] [newCount=0] [2025/04/05 23:47:28.881 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:28.881 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:28.881 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:28.881 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:28.883 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.883 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1085] [2025/04/05 23:47:28.884 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [] [2025/04/05 23:47:28.884 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:28.884 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:28.884 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:28.884 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:28.884 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:28.884 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:47:28.885 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:47:28.885 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:47:28.885 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:47:28.885 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:28.884 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:28.885 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.885 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:28.885 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:28.885 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:28.885 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:28.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:28.885 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [error="context canceled"] [2025/04/05 23:47:28.886 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.886 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=149311f7-2c3a-4a0b-ada3-60874083cffe] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:28.886 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:28.886 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:28.886 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:28.886 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:28.886 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:47:28.886 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:28.886 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [error="context canceled"] [2025/04/05 23:47:28.886 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:47:28.886 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:28.887 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [error="context canceled"] [2025/04/05 23:47:28.887 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [2025/04/05 23:47:28.887 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [error="context canceled"] [2025/04/05 23:47:28.887 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1a9d1e84-2042-4368-8a30-d80ecbf5bfa4] [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/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:28.946 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:28.946 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:28.955 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.719921ms] [2025/04/05 23:47:28.958 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:47:28.958 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:47:28.958 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:47:28.958 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:47:28.958 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:47:28.958 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:47:28.958 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:47:28.958 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:47:28.958 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:47:28.958 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-56] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:28.958 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:47:28.958 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:47:28.959 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDMLWithAddForeignKey (11.82s) === NAME === RUN TestLockKeysInDML [2025/04/05 23:47:28.966 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 23:47:28.967 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 23:47:28.967 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489978880360876141] [2025/04/05 23:47:28.968 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 23:47:28.968 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 23:47:28.968 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 23:47:28.968 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 23:47:28.968 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 23:47:28.968 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 23:47:28.969 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 23:47:28.969 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 23:47:28.972 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 23:47:28.977 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:28.978 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:28.978 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 23:47:28.987 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489978880360876141] ["ddl lease"=500ms] ["stats lease"=-1ns] [2025/04/05 23:47:28.996 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 23:47:29.035 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=386] ["lease id"=3eaa960856613738] [2025/04/05 23:47:29.036 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"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\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [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\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 23:47:29.123 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=468] ["elapsed time"=83.969575ms] [2025/04/05 23:47:29.124 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 23:47:29.126 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 23:47:29.132 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [runWorker=true] [jobVersion=v2] [2025/04/05 23:47:29.132 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 23:47:29.133 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:29.134 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 23:47:29.134 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 185818787840/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:29.135 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:29.135 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 23:47:29.135 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [2025/04/05 23:47:29.137 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661373e] [ownerID=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [op=none] [2025/04/05 23:47:29.137 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:29.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:29.137 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [ownerKey=/tidb/ddl/fg/owner/3eaa96085661373e] [currRev=2482] [2025/04/05 23:47:29.137 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:29.138 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 23:47:29.138 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f18960856613808] [ownerID=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [op=none] [2025/04/05 23:47:29.138 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [2025/04/05 23:47:29.138 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [ownerKey=/tidb/br-stream/owner/6f18960856613808] [currRev=2483] [2025/04/05 23:47:29.139 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa96085661373e] [ownerID=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [op=none] [2025/04/05 23:47:29.139 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [op=none] [2025/04/05 23:47:29.139 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 23:47:29.142 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/txntest/txntest_test.TestLockKeysInDML\n\ttests/realtikvtest/txntest/txn_test.go:600\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:29.142 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:29.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:29.143 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 23:47:29.151 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:29.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:29.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:29.162 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 23:47:29.163 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:29.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:29.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:29.164 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 23:47:29.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:29.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:29.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:29.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:29.166 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/05 23:47:29.168 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d9f9fd0b-d5a5-40f6-a4df-a9ad7f0f2898] [2025/04/05 23:47:29.168 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [ttl-worker=task-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [originalCount=0] [newCount=4] [2025/04/05 23:47:29.168 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [ttl-worker=task-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [originalCount=0] [newCount=4] [2025/04/05 23:47:29.169 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:29.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:29.169 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] testkit.go:123: RefreshSession rand seed: 1743896849170045238 [2025/04/05 23:47:29.170 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 23:47:29.188 +00:00] [INFO] [set.go:172] ["set global var"] [conn=134] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 23:47:29.190 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=134] [schemaVersion=468] [cur_db=test] [sql="alter table `child` nocache"] [user=] [2025/04/05 23:47:29.191 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=134] [schemaVersion=468] [cur_db=test] [sql="alter table `parent` nocache"] [user=] [2025/04/05 23:47:29.203 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:419, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:29.203 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:419, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `child`,`parent`"] [2025/04/05 23:47:29.208 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=419] [conn=134] [job="ID:419, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=468] [neededSchemaVersion=469] ["elapsed time"=2.110557ms] [gotSchemaVersion=469] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:29.269 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=469] ["take time"=50.902399ms] [job="ID:419, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.323 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=469] ["take time"=50.951447ms] [job="ID:419, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.325 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=419] [conn=134] [job="ID:419, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.338 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=469] [neededSchemaVersion=470] ["elapsed time"=2.06584ms] [gotSchemaVersion=470] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:29.386 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=470] ["take time"=51.162669ms] [job="ID:419, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.389 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=419] [conn=134] [job="ID:419, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.395 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 416, Old Table Name: child)"] [2025/04/05 23:47:29.406 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=470] [neededSchemaVersion=471] ["elapsed time"=967.115µs] [gotSchemaVersion=471] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:29.455 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=471] ["take time"=51.697925ms] [job="ID:419, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.459 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=419] [tableIDs="[416]"] [comment="drop table: table ID"] [2025/04/05 23:47:29.466 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=419] [jobType="drop table"] [2025/04/05 23:47:29.467 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=419] [conn=134] [job="ID:419, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.484 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=419] [2025/04/05 23:47:29.494 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:420, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:29.494 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:420, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `child`,`parent`"] [2025/04/05 23:47:29.499 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=134] [job="ID:420, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=471] [neededSchemaVersion=472] ["elapsed time"=8.135157ms] [gotSchemaVersion=472] [phyTblIDs="[414]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:29.559 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=472] ["take time"=51.720311ms] [job="ID:420, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.615 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=472] ["take time"=51.668638ms] [job="ID:420, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.616 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=134] [job="ID:420, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.629 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=472] [neededSchemaVersion=473] ["elapsed time"=1.863997ms] [gotSchemaVersion=473] [phyTblIDs="[414]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:29.677 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=473] ["take time"=51.223891ms] [job="ID:420, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.680 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=134] [job="ID:420, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:414, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.685 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 414, Old Table Name: parent)"] [2025/04/05 23:47:29.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=473] [neededSchemaVersion=474] ["elapsed time"=888.782µs] [gotSchemaVersion=474] [phyTblIDs="[414]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 23:47:29.744 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=474] ["take time"=51.06365ms] [job="ID:420, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.748 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=420] [tableIDs="[414]"] [comment="drop table: table ID"] [2025/04/05 23:47:29.752 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=420] [jobType="drop table"] [2025/04/05 23:47:29.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=420] [conn=134] [job="ID:420, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:414, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=420] [2025/04/05 23:47:29.773 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 134\n# Query_time: 0.581254605\n# Parse_time: 0.000051318\n# Compile_time: 0.000245427\n# Rewrite_time: 0.000004761\n# Optimize_time: 0.000032869\n# Wait_TS: 0.000321324\n# DB: test\n# Is_internal: false\n# Digest: b6edd2db65da7a007ec7e94c33d5b5b2f3aaedf0667d63a9f8447c7f1178c5cb\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `child`,`parent`;"] [2025/04/05 23:47:29.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=134] [schemaVersion=474] [cur_db=test] [sql="drop table `child`,`parent`"] [user=] testkit.go:123: RefreshSession rand seed: 1743896849773591260 [2025/04/05 23:47:29.786 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:422, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:421, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:29.786 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:422, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:421, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (id int primary key);"] [2025/04/05 23:47:29.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=422] [conn=135] [job="ID:422, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:421, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.796 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 421, Table Name: t1)"] [2025/04/05 23:47:29.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=474] [neededSchemaVersion=475] ["elapsed time"=1.249613ms] [gotSchemaVersion=475] [phyTblIDs="[421]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:29.855 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=475] ["take time"=51.456718ms] [job="ID:422, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:421, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.910 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=475] ["take time"=51.194052ms] [job="ID:422, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:421, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.912 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=422] [conn=135] [job="ID:422, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:421, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.923 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=422] [2025/04/05 23:47:29.923 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=135] [schemaVersion=475] [cur_db=test] [sql="create table t1 (id int primary key);"] [user=] [2025/04/05 23:47:29.934 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:424, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:423, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (id int primary key, foreign key fk (id) references t1(id));"] [2025/04/05 23:47:29.934 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:424, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:423, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 23:47:29.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=424] [conn=135] [job="ID:424, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:423, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:29.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=475] [neededSchemaVersion=476] ["elapsed time"=1.289616ms] [gotSchemaVersion=476] [phyTblIDs="[423]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:30.000 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=476] ["take time"=50.981795ms] [job="ID:424, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:423, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:30.054 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=476] ["take time"=50.799881ms] [job="ID:424, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:423, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:30.056 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=424] [conn=135] [job="ID:424, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:423, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:30.065 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 423, Table Name: t2)"] [2025/04/05 23:47:30.076 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=476] [neededSchemaVersion=477] ["elapsed time"=1.420775ms] [gotSchemaVersion=477] [phyTblIDs="[423]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 23:47:30.124 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=477] ["take time"=51.415745ms] [job="ID:424, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:423, RowCount:0, ArgLen:1, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:30.129 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=424] [conn=135] [job="ID:424, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:423, RowCount:0, ArgLen:0, start time: 2025-04-05 23:47:29.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 23:47:30.139 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=424] [2025/04/05 23:47:30.139 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=135] [schemaVersion=477] [cur_db=test] [sql="create table t2 (id int primary key, foreign key fk (id) references t1(id));"] [user=] [2025/04/05 23:47:30.142 +00:00] [WARN] [prewrite.go:597] ["async commit cannot proceed since the returned minCommitTS is zero, fallback to normal path"] [startTS=457152095882575874] [2025/04/05 23:47:30.142 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 23:47:30.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:30.142 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:30.142 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] testkit.go:123: RefreshSession rand seed: 1743896850147294179 [2025/04/05 23:47:30.158 +00:00] [INFO] [set.go:172] ["set global var"] [conn=136] [name=tidb_schema_cache_size] [val=0] [2025/04/05 23:47:30.169 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 23:47:30.169 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 23:47:30.169 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d9f9fd0b-d5a5-40f6-a4df-a9ad7f0f2898] [watcherID=f48234f8-e601-477b-8fc2-ae3d230993c2] [2025/04/05 23:47:30.170 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 23:47:30.178 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 23:47:30.178 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 23:47:30.178 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 23:47:30.178 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 23:47:30.811 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457152095882575884\n# Conn_ID: 136\n# Exec_retry_time: 0.646647418 Exec_retry_count: 1\n# Query_time: 0.649731907\n# Parse_time: 0.000120419\n# Compile_time: 0.000308103\n# Rewrite_time: 0.000001859\n# Optimize_time: 0.00007789\n# Wait_TS: 0\n# LockKeys_time: 0.646891873\n# DB: test\n# Is_internal: false\n# Digest: 0c55410a885b6d2599fc2bb6e27eb9a8465177da7e31156e484bfd07933e761b\n# Mem_max: 8321\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('uwqQMAkyOF8zCTAJMAlOL0EJMAl0b3RhbF90aW1lOjY0Ny41bXMsIAkULG9wZW46MjIuN8K1cxEUKGNsb3NlOjEwNS4zBRZsbG9vcHM6MiwgQmF0Y2hHZXQ6e251bV9ycGM6MRE0BVwINDk4BTMIfSwgARAkX2RldGFpbDogewlsKGt2X3JlYWRfd2FsDY0IIDgxEXo8aWt2X2dycGNfcHJvY2VzcwlSECA0LjU2BYUZIQx3YWl0DR4MMjkuORkeHVgMMTE1LgE4GH0sIHNjYW4+igARZBRrZXlzOiAVxS4XACBfc2l6ZTogMzMR4hUsKGdldF9zbmFwc2hvEYgMMTIuMgWIWHJvY2tzZGI6IHtibG9jazoge319fSwgAQwNQQB7IRoUOjY0Ni45IYYUcmVnaW9uIUgFYCQyLCBzbG93ZXN0JV8tOiA6IDAuNjQ3cywNL3hfaWQ6IDE0LCBzdG9yZTogMTI3LjAuMC4xOjIwMTYwVn4BEd0FgBAgMzIuMQWyKZsYc3VzcGVuZA0dDDE3LjQJHVqWAQg2LjA+IQA9lggxMi4hfAGHBGt2LpYBAfYEMW1GlQFKUgEINS4zCWJaUgEMd3JpdF1hJQkEX2JBoAWKODogMHMsIHByb3Bvc2VfcwHbAaENFyRlcnNpc3RfbG9nPWIEcywNVRRsZWFkZXIdMAxzeW5jCS0ZJRxtZW10YWJsZQFSHH0sIGNvbW1pDVIBJRBhcHBseUKQAAUWFXMBKBRtdXRleF9BHwFJYoIACe4Id2FsLiYAOoMALHNjaGVkdWxlcjogey3sDDogMjRtIQBsPRsAMSm+WZoIcnBjRZIUNjMwOTAyRZcccGNfY291bnRBkhByZXRyeQ0PJDF9CTAgQnl0ZXOBWywKMQkzNl8xCTAJMQkpDyR0MSwgaGFuZGxlQdQB2QEbAG8yfwQAMQFiCRSFfwg3LjQp7AkUiX8IMjYuSUUYbG9vcHM6MwFvAQQYCjEJNTZfNIXdDXMkMiwgZm9yZWlnbmFkVDpmaywgY2hlY2tfbm90X2V4aXN0CTCpAwg6NjJxqh0yLHM6MQlOL0EJTi9BCg==')\n# Plan_digest: 61ff5b952b08a2daed76636154924e462e40ee450e2fca30825fd3bc90bfb949\n# Binary_plan: tidb_decode_binary_plan('igt4CoULCghVcGRhdGVfMxKWAQoLUG9pbnRfR2V0XzEpAAUB8DzwPzABOAFAAUoMCgoKBHRlc3QSAnQxUg5oYW5kbGU6MSwgbG9ja1pEdG90YWxfdGltZTo2NDcuMW1zLCB0BRQob3Blbjo3LjQ0wrUVFCRjbG9zZToyNi42BRUgbG9vcHM6M3D/EQEEAXgRCmD/ARJ8ChNGb3JlaWduX0tleV9DaGVja180BZU0ChoIdGFibGU6dDJSH2YNJSBrZXk6ZmssIGMFKSxub3RfZXhpc3RiHnQBkBQ6NjIyLjIFdx0xCHM6MVZ+AAFnGFIDTi9BWkUFPxnjBDVtFc8F4wwyMi43BVcJKABjBeMQMTA1LjMFFgRsbwHkUDJitwJCYXRjaEdldDp7bnVtX3JwYyFGCTUAdCFACDQ5OAU0CH0sIAEQJF9kZXRhaWw6IHsJJChrdl9yZWFkX3dhbA2OCCA4MRF7PGlrdl9ncnBjX3Byb2Nlc3MJUgwgNC41KWoZIQx3YWl0DR4MMjkuOQWkBR4dWAgxMTUlohh9LCBzY2FuPooAEWQca2V5czogMSwNxS4XACBfc2l6ZTogMzMRHRUsKGdldF9zbmFwc2hvEYgAMTGZXHJvY2tzZGI6IHtibG9jazoge319fWLMBQENDUIAeyEbFDo2NDYuOSGIFHJlZ2lvbiFJBWEkMiwgc2xvd2VzdCVgLTsgOiAwLjY0N3MsDS94X2lkOiAxNCwgc3RvcmU6IDEyNy4wLjAuMToyMDE2MFZ/ARHeBYAQIDMyLjEpO0FcHF9zdXNwZW5kDR0IMTcuTfValwEINi4wPiEAPZcIMTIuPbU9lwH2BDFtRpYBSlMBCDUuMwliUlMBFCwgd3JpdF1iJQkEX2JBoQWKODogMHMsIHByb3Bvc2VfcwHbAaENFyRlcnNpc3RfbG9nPWIAcxFVFGxlYWRlch0wDHN5bmMJLRklCG1lbWnBBCAwAdAQY29tbWkNUgElEGFwcGx5QpAABRYVcwEoFG11dGV4X0EfAUliggAJ7gh3YWwuJgA6gwAsc2NoZWR1bGVyOiB7LewMOiAyNG0iAGw9GwAxKb4IfX19qQVFayGcFDYzMDkwMkWXHHBjX2NvdW50QZIQcmV0cnkNDzgxfXj///////////8BGAE=')\n# Resource_group: default\nuse test;\nUPDATE t1 SET id = 2 WHERE id = 1;"] [2025/04/05 23:47:30.811 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=477] [error="[planner:1451]Cannot delete or update a parent row: a foreign key constraint fails (`test`.`t2`, CONSTRAINT `fk` FOREIGN KEY (`id`) REFERENCES `t1` (`id`))"] [errorVerbose="[planner:1451]Cannot delete or update a parent row: a foreign key constraint fails (`test`.`t2`, CONSTRAINT `fk` FOREIGN KEY (`id`) REFERENCES `t1` (`id`))\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.buildFKCheckForReferredFK\n\tpkg/planner/core/foreign_key.go:433\ngithub.com/pingcap/tidb/pkg/planner/core.buildOnDeleteOrUpdateFKTrigger\n\tpkg/planner/core/foreign_key.go:403\ngithub.com/pingcap/tidb/pkg/planner/core.buildOnUpdateReferredFKTriggers\n\tpkg/planner/core/foreign_key.go:309\ngithub.com/pingcap/tidb/pkg/planner/core.(*Update).buildOnUpdateFKTriggers\n\tpkg/planner/core/foreign_key.go:243\ngithub.com/pingcap/tidb/pkg/planner/core.buildPointUpdatePlan\n\tpkg/planner/core/point_get_plan.go:2062\ngithub.com/pingcap/tidb/pkg/planner/core.tryUpdatePointPlan\n\tpkg/planner/core/point_get_plan.go:2000\ngithub.com/pingcap/tidb/pkg/planner/core.TryFastPlan\n\tpkg/planner/core/point_get_plan.go:1016\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:236\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/txntest/txntest_test.TestLockKeysInDML.func1\n\ttests/realtikvtest/txntest/txn_test.go:618\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 136,\n \"status\": 3,\n \"strictMode\": true,\n \"txn\": \"457152095882575884\",\n \"user\": null\n}"] [2025/04/05 23:47:30.817 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 23:47:30.817 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 23:47:30.817 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [] [2025/04/05 23:47:30.817 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.817 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:30.818 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 23:47:30.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 230, tp general"] ["take time"=93.922µs] [2025/04/05 23:47:30.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 231, tp general"] ["take time"=61.118µs] [2025/04/05 23:47:30.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 232, tp general"] ["take time"=54.929µs] [2025/04/05 23:47:30.818 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 233, tp general"] ["take time"=54.902µs] [2025/04/05 23:47:30.818 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.818 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.819 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 23:47:30.820 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 23:47:30.821 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c62e3e92-9bc3-454e-8b42-359668f9a8f0] ["take time"=4.15373ms] [2025/04/05 23:47:30.821 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.821 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 23:47:30.821 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d9f9fd0b-d5a5-40f6-a4df-a9ad7f0f2898] [watcherID=f48234f8-e601-477b-8fc2-ae3d230993c2] [2025/04/05 23:47:30.822 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 23:47:30.822 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d9f9fd0b-d5a5-40f6-a4df-a9ad7f0f2898] [2025/04/05 23:47:30.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [ttl-worker=task-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [originalCount=4] [newCount=0] [2025/04/05 23:47:30.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:30.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:30.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:30.822 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 23:47:30.822 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [ttl-worker=task-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [originalCount=4] [newCount=0] [2025/04/05 23:47:30.824 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:30.824 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:30.824 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:30.825 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 23:47:30.826 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=386] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.827 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 23:47:30.827 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 23:47:30.828 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 23:47:30.828 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 23:47:30.828 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 23:47:30.828 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 23:47:30.828 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 23:47:30.828 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 23:47:30.828 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 23:47:30.828 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 23:47:30.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 23:47:30.829 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [error="context canceled"] [2025/04/05 23:47:30.829 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.830 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bec9c43a-c825-4ddd-8ad5-9f4b514208d2] [daemon-id=LogBackup::Advancer] [2025/04/05 23:47:30.830 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 23:47:30.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 23:47:30.830 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 23:47:30.830 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 23:47:30.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 23:47:30.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=quitStatsOwner] [2025/04/05 23:47:30.830 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 23:47:30.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 23:47:30.831 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [error="context canceled"] [2025/04/05 23:47:30.831 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [2025/04/05 23:47:30.889 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c62e3e92-9bc3-454e-8b42-359668f9a8f0] [error="context canceled"] [2025/04/05 23:47:30.890 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 23:47:30.890 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 23:47:30.900 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.436681ms] [2025/04/05 23:47:30.902 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 23:47:30.902 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 23:47:30.902 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 23:47:30.902 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 23:47:30.902 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 23:47:30.902 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 23:47:30.902 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 23:47:30.902 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 23:47:30.902 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 23:47:30.902 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 23:47:30.902 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-57] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 23:47:30.902 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 23:47:30.903 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestLockKeysInDML (1.94s) === NAME FAIL ================================================================================ Target //tests/realtikvtest/txntest:txntest_test up-to-date: bazel-bin/tests/realtikvtest/txntest/txntest_test_/txntest_test INFO: Elapsed time: 359.635s, Critical Path: 340.99s INFO: 4571 processes: 4557 remote cache hit, 12 internal, 2 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/txntest:txntest_test FLAKY, failed in 1 out of 2 in 166.9s Stats over 2 runs: max = 166.9s, min = 160.8s, avg = 163.8s, dev = 3.1s PASSED txntest_test.TestA3Phantom (1.8s) PASSED txntest_test.TestA5AReadSkew (2.8s) PASSED txntest_test.TestA5BWriteSkew (3.3s) PASSED txntest_test.TestAsOfTimestampCompatibility (3.5s) PASSED txntest_test.TestAssertionWhenPessimisticLockLost (1.7s) PASSED txntest_test.TestBasicTxnState (1.1s) PASSED txntest_test.TestBlocked (0.9s) PASSED txntest_test.TestCheckTxnStatusOnOptimisticTxnBreakConsistency (2.2s) PASSED txntest_test.TestCommitting (0.9s) PASSED txntest_test.TestDMLWithAddForeignKey (12.3s) PASSED txntest_test.TestDuplicateErrorMessage (1.6s) PASSED txntest_test.TestEntriesCountAndSize (0.8s) PASSED txntest_test.TestExactStalenessTransaction (0.7s) PASSED txntest_test.TestGetCachedStore (0.0s) PASSED txntest_test.TestInTxnPSProtoPointGet (0.8s) PASSED txntest_test.TestLockKeysInDML (1.8s) PASSED txntest_test.TestMemDBTracker (26.0s) PASSED txntest_test.TestP0DirtyWrite (2.1s) PASSED txntest_test.TestP1DirtyRead (1.7s) PASSED txntest_test.TestP2NonRepeatableRead (2.9s) PASSED txntest_test.TestP3Phantom (3.2s) PASSED txntest_test.TestP4CLostUpdate (0.0s) PASSED txntest_test.TestP4LostUpdate (2.1s) PASSED txntest_test.TestPhantomReadInInnodb (1.8s) PASSED txntest_test.TestPlanCacheWithStaleReadByBinaryProto (1.9s) PASSED txntest_test.TestReadAfterWrite (2.0s) PASSED txntest_test.TestRollbackTxnState (0.9s) PASSED txntest_test.TestRunning (1.0s) PASSED txntest_test.TestSelectAsOf (4.3s) PASSED txntest_test.TestSelectLockForPartitionTable (2.4s) PASSED txntest_test.TestSetTransactionInfoSchema (3.1s) PASSED txntest_test.TestSetTransactionIsolationOneSho (0.8s) PASSED txntest_test.TestSetTransactionReadOnlyAsOf (0.5s) PASSED txntest_test.TestSpecialSQLInStalenessTxn (8.3s) PASSED txntest_test.TestStalePrepare (5.5s) PASSED txntest_test.TestStaleReadAllCombinations (4.7s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadCompatibility (5.1s) PASSED txntest_test.TestStaleReadFutureTime (0.5s) PASSED txntest_test.TestStaleReadKVRequest (4.3s) PASSED txntest_test.TestStaleReadNoBackoff (1.5s) PASSED txntest_test.TestStaleReadNoExtraTSORequest (3.5s) PASSED txntest_test.TestStaleReadPrepare (3.5s) PASSED txntest_test.TestStaleSelect (2.1s) PASSED txntest_test.TestStaleSessionQuery (2.5s) PASSED txntest_test.TestStaleTSO (1.8s) PASSED txntest_test.TestStalenessAndHistoryRead (1.8s) PASSED txntest_test.TestStalenessTransactionSchemaVer (1.3s) PASSED txntest_test.TestStatementErrorInTransaction (0.9s) PASSED txntest_test.TestStmtCtxStaleFlag (3.1s) PASSED txntest_test.TestTimeBoundedStalenessTxn (1.0s) PASSED txntest_test.TestTxnEntrySizeLimit (8.1s) PASSED txntest_test.TestTxnGoString (0.7s) PASSED txntest_test.TestTxnInfoWithPSProtocol (1.0s) PASSED txntest_test.TestTxnInfoWithPreparedStmt (0.9s) PASSED txntest_test.TestTxnInfoWithScalarSubquery (0.9s) PASSED txntest_test.TestTxnScopeAndValidateReadTs (1.8s) PASSED txntest_test.TestValidateReadOnlyInStalenessTransaction (3.7s) PASSED txntest_test.TestWriteConflictMessage (1.2s) Test cases: finished with 243 passing and 0 failing out of 243 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] } No test report files were found. Configuration error? [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/executor/executor.test: ok! 1951 test cases passed, take time 26.103258834 s ./t/executor/executor_txn.test: ok! 121 test cases passed, take time 0.244234916 s ./t/executor/expand.test: ok! 71 test cases passed, take time 0.518694214 s ./t/executor/explain.test: ok! 120 test cases passed, take time 0.859433058 s ./t/executor/explainfor.test: ok! 376 test cases passed, take time 1.51252152 s ./t/executor/foreign_key.test: ok! 318 test cases passed, take time 8.296918044 s ./t/executor/grant.test: ok! 209 test cases passed, take time 1.515682491 s ./t/executor/import_into.test: ok! 99 test cases passed, take time 0.185283606 s ./t/executor/index_lookup_join.test: ok! 190 test cases passed, take time 2.0157474459999998 s ./t/executor/index_lookup_merge_join.test: ok! 83 test cases passed, take time 1.10669588 s ./t/executor/index_merge_reader.test: ok! 244 test cases passed, take time 3.7953369219999997 s ./t/executor/infoschema_reader.test: ok! 220 test cases passed, take time 4.58823233 s ./t/executor/insert.test: ok! 1281 test cases passed, take time 62.76804114 s ./t/executor/inspection_common.test: ok! 4 test cases passed, take time 0.001897717 s ./t/executor/issues.test: ok! 463 test cases passed, take time 11.863941123 s ./t/executor/jointest/hash_join.test: ok! 148 test cases passed, take time 1.306443255 s ./t/executor/jointest/join.test: ok! 858 test cases passed, take time 11.155623604 s ./t/executor/kv.test: ok! 16 test cases passed, take time 0.087422765 s ./t/executor/merge_join.test: ok! 259 test cases passed, take time 3.217033636 s ./t/executor/parallel_apply.test: ok! 96 test cases passed, take time 1.094594298 s ./t/executor/partition/issues.test: ok! 159 test cases passed, take time 3.034239812 s ./t/executor/partition/partition_boundaries.test: ok! 1035 test cases passed, take time 2.013370685 s ./t/executor/partition/partition_with_expression.test: ok! 298 test cases passed, take time 2.220259151 s ./t/executor/partition/table.test: ok! 224 test cases passed, take time 5.471905535 s ./t/executor/partition/write.test: ok! 349 test cases passed, take time 9.716064203 s ./t/executor/password_management.test: ok! 381 test cases passed, take time 3.056019047 s ./t/executor/perfschema.test: ok! 5 test cases passed, take time 0.006353308 s ./t/executor/point_get.test: ok! 271 test cases passed, take time 1.535139015 s ./t/executor/prepared.test: ok! 214 test cases passed, take time 1.076893596 s ./t/executor/revoke.test: ok! 65 test cases passed, take time 0.648190246 s ./t/executor/rowid.test: ok! 63 test cases passed, take time 0.293273889 s ./t/executor/sample.test: ok! 109 test cases passed, take time 7.019610364 s ./t/executor/set.test: ok! 228 test cases passed, take time 0.512245326 s ./t/executor/show.test: ok! 300 test cases passed, take time 3.554496367 s ./t/executor/simple.test: ok! 357 test cases passed, take time 2.94129911 s ./t/executor/split_table.test: ok! 60 test cases passed, take time 15.891209967 s ./t/executor/stale_txn.test: ok! 28 test cases passed, take time 1.140058733 s ./t/executor/statement_context.test: ok! 63 test cases passed, take time 0.146365886 s ./t/executor/union_scan.test: ok! 231 test cases passed, take time 1.457018551 s ./t/executor/update.test: ok! 521 test cases passed, take time 3.56805453 s ./t/executor/window.test: ok! 93 test cases passed, take time 4.030827137 s ./t/executor/write.test: ok! 1061 test cases passed, take time 17.501321427 s ./t/explain-non-select-stmt.test: ok! 8 test cases passed, take time 0.018837749 s ./t/explain.test: ok! 26 test cases passed, take time 0.122934123 s ./t/explain_complex.test: ok! 41 test cases passed, take time 0.395966372 s time="2025-04-06T07:54:17+08:00" level=error msg="run test [explain_complex_stats] err: sql:explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;: failed to run query \n\"explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\" \n around line 136, \nwe need(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:missing]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\nexplai\nbut got(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:unInitialized]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\n\n" ./t/explain_cte.test: ok! 53 test cases passed, take time 0.362913231 s ./t/explain_easy.test: ok! 190 test cases passed, take time 1.443373646 s ./t/explain_easy_stats.test: ok! 50 test cases passed, take time 0.84177766 s ./t/explain_foreign_key.test: ok! 41 test cases passed, take time 0.607438634 s ./t/explain_generate_column_substitute.test: ok! 233 test cases passed, take time 20.430745523 s ./t/explain_indexmerge_stats.test: ok! 30 test cases passed, take time 0.993487357 s ./t/explain_join_stats.test: ok! 8 test cases passed, take time 0.25704977 s ./t/explain_shard_index.test: ok! 19 test cases passed, take time 0.115975688 s ./t/explain_stats.test: ok! 10 test cases passed, take time 0.100049203 s ./t/explain_union_scan.test: ok! 9 test cases passed, take time 0.175250876 s ./t/expression/builtin.test: ok! 1365 test cases passed, take time 8.265247036 s ./t/expression/cast.test: ok! 85 test cases passed, take time 0.444666221 s ./t/expression/charset_and_collation.test: ok! 733 test cases passed, take time 16.263369427 s ./t/expression/constant_fold.test: ok! 16 test cases passed, take time 0.097438212 s ./t/expression/enum_set.test: ok! 13 test cases passed, take time 0.073515907 s ./t/expression/explain.test: ok! 77 test cases passed, take time 0.181233941 s ./t/expression/format.test: ok! 9 test cases passed, take time 0.002293531 s ./t/expression/issues.test: ok! 1525 test cases passed, take time 16.131361518 s ./t/expression/json.test: ok! 321 test cases passed, take time 0.815624775 s ./t/expression/misc.test: ok! 416 test cases passed, take time 4.017860502 s ./t/expression/multi_valued_index.test: ok! 314 test cases passed, take time 2.049664091 s ./t/expression/noop_functions.test: ok! 61 test cases passed, take time 0.034905955 s ./t/expression/plan_cache.test: ok! 184 test cases passed, take time 0.565147706 s ./t/expression/time.test: ok! 353 test cases passed, take time 0.927178553 s ./t/expression/vitess_hash.test: ok! 17 test cases passed, take time 0.186604592 s ./t/generated_columns.test: ok! 70 test cases passed, take time 4.847284139 s ./t/globalindex/aggregate.test: ok! 16 test cases passed, take time 1.958035582 s ./t/globalindex/analyze.test: ok! 37 test cases passed, take time 5.121982274 s ./t/globalindex/ddl.test: ok! 55 test cases passed, take time 6.964286303 s ./t/globalindex/expression_index.test: ok! 14 test cases passed, take time 0.104344758 s ./t/globalindex/index_join.test: ok! 31 test cases passed, take time 0.615831386 s ./t/globalindex/information_schema.test: ok! 7 test cases passed, take time 0.274081034 s ./t/globalindex/insert.test: ok! 14 test cases passed, take time 3.9296044390000002 s ./t/globalindex/mem_index_lookup.test: ok! 40 test cases passed, take time 0.137437885 s ./t/globalindex/mem_index_merge.test: ok! 53 test cases passed, take time 0.227828633 s ./t/globalindex/mem_index_reader.test: ok! 36 test cases passed, take time 0.108550655 s ./t/globalindex/misc.test: ok! 91 test cases passed, take time 6.754141088 s ./t/globalindex/multi_valued_index.test: ok! 13 test cases passed, take time 0.039028681 s ./t/globalindex/point_get.test: ok! 38 test cases passed, take time 7.190457404 s ./t/globalindex/update.test: ok! 31 test cases passed, take time 0.224955923 s ./t/imdbload.test: ok! 62 test cases passed, take time 9.86487583 s ./t/index_join.test: ok! 22 test cases passed, take time 0.329832461 s ./t/index_merge.test: ok! 145 test cases passed, take time 2.6750747820000003 s ./t/infoschema/cluster_tables.test: ok! 17 test cases passed, take time 0.061130233 s ./t/infoschema/infoschema.test: ok! 192 test cases passed, take time 2.898763159 s ./t/infoschema/tables.test: ok! 120 test cases passed, take time 1.063336369 s ./t/infoschema/v2.test: ok! 34 test cases passed, take time 0.386297097 s ./t/naaj.test: ok! 135 test cases passed, take time 0.314552106 s ./t/new_character_set.test: ok! 73 test cases passed, take time 0.367205357 s ./t/new_character_set_builtin.test: ok! 222 test cases passed, take time 1.138397823 s ./t/new_character_set_invalid.test: ok! 28 test cases passed, take time 0.262358679 s ./t/parser/integration.test: ok! 8 test cases passed, take time 0.078836918 s ./t/partition.test: ok! 3 test cases passed, take time 0.216720816 s ./t/planner/cardinality/selectivity.test: ok! 686 test cases passed, take time 1.9512276979999998 s ./t/planner/cardinality/trace.test: ok! 5 test cases passed, take time 0.130208613 s ./t/planner/cascades/integration.test: ok! 247 test cases passed, take time 0.847258632 s ./t/planner/core/binary_plan.test: ok! 6 test cases passed, take time 0.000929629 s ./t/planner/core/casetest/expression_rewriter.test: ok! 23 test cases passed, take time 0.172719837 s ./t/planner/core/casetest/hint/hint.test: ok! 182 test cases passed, take time 1.851958918 s ./t/planner/core/casetest/index/index.test: ok! 225 test cases passed, take time 1.951438515 s ./t/planner/core/casetest/integration.test: ok! 462 test cases passed, take time 2.73752275 s ./t/planner/core/casetest/partition/integration_partition.test: ok! 134 test cases passed, take time 0.987837563 s ./t/planner/core/casetest/partition/partition_pruner.test: ok! 284 test cases passed, take time 1.080642412 s ./t/planner/core/casetest/physicalplantest/physical_plan.test: ok! 913 test cases passed, take time 3.256959902 s ./t/planner/core/casetest/point_get_plan.test: ok! 52 test cases passed, take time 0.162598662 s ./t/planner/core/casetest/predicate_simplification.test: ok! 133 test cases passed, take time 0.688089596 s ./t/planner/core/casetest/pushdown/push_down.test: ok! 54 test cases passed, take time 0.202653605 s ./t/planner/core/casetest/rule/rule_derive_topn_from_window.test: ok! 73 test cases passed, take time 0.457874813 s ./t/planner/core/casetest/rule/rule_join_reorder.test: ok! 481 test cases passed, take time 4.257117586 s ./t/planner/core/casetest/rule/rule_result_reorder.test: ok! 87 test cases passed, take time 0.602389114 s ./t/planner/core/cbo.test: ok! 34 test cases passed, take time 0.3992447 s ./t/planner/core/enforce_mpp.test: ok! 8 test cases passed, take time 0.001398799 s ./t/planner/core/expression_rewriter.test: ok! 206 test cases passed, take time 1.849283882 s ./t/planner/core/indexjoin.test: ok! 41 test cases passed, take time 0.124483255 s ./t/planner/core/indexmerge_intersection.test: ok! 6 test cases passed, take time 0.027607759 s ./t/planner/core/indexmerge_path.test: ok! 273 test cases passed, take time 4.04906589 s ./t/planner/core/integration.test: ok! 1621 test cases passed, take time 18.381923194 s ./t/planner/core/integration_partition.test: ok! 493 test cases passed, take time 10.250977997 s ./t/planner/core/issuetest/planner_issue.test: ok! 178 test cases passed, take time 4.306386198 s ./t/planner/core/memtable_predicate_extractor.test: ok! 45 test cases passed, take time 0.077958955 s ./t/planner/core/partition_pruner.test: ok! 642 test cases passed, take time 2.520388086 s ./t/planner/core/physical_plan.test: ok! 44 test cases passed, take time 0.357602637 s ./t/planner/core/plan.test: ok! 157 test cases passed, take time 1.067203133 s ./t/planner/core/plan_cache.test: ok! 1243 test cases passed, take time 6.074966228 s ./t/planner/core/plan_cost_ver2.test: ok! 70 test cases passed, take time 0.375396057 s ./t/planner/core/point_get_plan.test: ok! 265 test cases passed, take time 1.677323012 s ./t/planner/core/preprocess.test: ok! 6 test cases passed, take time 0.047411197 s ./t/planner/core/range_scan_for_like.test: ok! 226 test cases passed, take time 0.555093755 s ./t/planner/core/rule_constant_propagation.test: ok! 31 test cases passed, take time 0.511322893 s ./t/planner/core/rule_join_reorder.test: ok! 52 test cases passed, take time 0.665606953 s ./t/planner/core/rule_result_reorder.test: ok! 29 test cases passed, take time 0.146349018 s ./t/planner/core/tests/prepare/issue.test: ok! 321 test cases passed, take time 1.376233571 s ./t/planner/core/tests/prepare/prepare.test: ok! 458 test cases passed, take time 2.200637984 s ./t/planner/funcdep/only_full_group_by.test: ok! 148 test cases passed, take time 2.050824326 s ./t/privilege/privileges.test: ok! 483 test cases passed, take time 5.046626433 s ./t/select.test: ok! 206 test cases passed, take time 1.5940818879999998 s ./t/session/bootstrap_upgrade.test: ok! 29 test cases passed, take time 0.120641396 s ./t/session/clustered_index.test: ok! 385 test cases passed, take time 15.570787146 s ./t/session/common.test: ok! 212 test cases passed, take time 2.936442372 s ./t/session/nontransactional.test: ok! 1532 test cases passed, take time 9.195320163 s ./t/session/privileges.test: ok! 66 test cases passed, take time 0.77634911 s ./t/session/session.test: ok! 104 test cases passed, take time 0.764255532 s ./t/session/temporary_table.test: ok! 277 test cases passed, take time 0.275212926 s ./t/session/txn.test: ok! 14 test cases passed, take time 0.029904233 s ./t/session/user_variables.test: ok! 16 test cases passed, take time 0.01850547 s ./t/session/variable.test: ok! 103 test cases passed, take time 0.29916529 s ./t/session/vars.test: ok! 127 test cases passed, take time 0.142312763 s ./t/sessionctx/setvar.test: ok! 685 test cases passed, take time 0.173737616 s ./t/sessiontxn/externals.test: ok! 56 test cases passed, take time 0.217768506 s ./t/statistics/handle.test: ok! 60 test cases passed, take time 1.320498278 s ./t/statistics/integration.test: ok! 19 test cases passed, take time 0.125014911 s ./t/statistics/lock_table_stats.test: ok! 47 test cases passed, take time 0.579304606 s ./t/statistics/overflow_calc.test: ok! 5 test cases passed, take time 0.075665274 s ./t/subquery.test: ok! 32 test cases passed, take time 0.333274158 s ./t/table/cache.test: ok! 108 test cases passed, take time 8.500013183 s ./t/table/index.test: ok! 38 test cases passed, take time 0.462232259 s ./t/table/partition.test: ok! 240 test cases passed, take time 5.9791414 s ./t/table/tables.test: ok! 24 test cases passed, take time 0.103081158 s ./t/table/temptable.test: ok! 11 test cases passed, take time 0.047097862 s ./t/topn_push_down.test: ok! 20 test cases passed, take time 0.15356716 s ./t/topn_pushdown.test: ok! 2 test cases passed, take time 0.000582797 s ./t/tpch.test: ok! 40 test cases passed, take time 2.266928493 s ./t/types/const.test: ok! 143 test cases passed, take time 1.117036736 s ./t/util/admin.test: ok! 143 test cases passed, take time 4.246608358 s ./t/util/ranger.test: ok! 188 test cases passed, take time 2.327595918 s ./t/window_function.test: ok! 28 test cases passed, take time 0.104619379 s time="2025-04-06T07:59:06+08:00" level=error msg="1 tests failed\n" time="2025-04-06T07:59:06+08:00" level=error msg="run test [explain_complex_stats] err: sql:explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;: failed to run query \n\"explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\" \n around line 136, \nwe need(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:missing]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\nexplai\nbut got(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:unInitialized]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\n\n" [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] } No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] sh + str='integrationtest_with_tikv.sh y' + logs_dir=logs_integrationtest_with_tikv.sh_y + mkdir -p logs_integrationtest_with_tikv.sh_y + mv pd1.log pd2.log pd3.log logs_integrationtest_with_tikv.sh_y + mv tikv1.log tikv2.log tikv3.log logs_integrationtest_with_tikv.sh_y + mv tests/integrationtest/integration-test.out logs_integrationtest_with_tikv.sh_y + tar -czvf logs_integrationtest_with_tikv.sh_y.tar.gz logs_integrationtest_with_tikv.sh_y logs_integrationtest_with_tikv.sh_y/ logs_integrationtest_with_tikv.sh_y/tikv2.log logs_integrationtest_with_tikv.sh_y/tikv1.log logs_integrationtest_with_tikv.sh_y/tikv3.log logs_integrationtest_with_tikv.sh_y/pd2.log logs_integrationtest_with_tikv.sh_y/integration-test.out logs_integrationtest_with_tikv.sh_y/pd1.log logs_integrationtest_with_tikv.sh_y/pd3.log [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y' [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] container [Pipeline] { [Pipeline] sh + bash scripts/plugins/report_job_result.sh FAILURE result.json http://fileserver.pingcap.net --2025-04-05 23:59:13-- http://fileserver.pingcap.net/download/rd-atom-agent/agent_upload_verifyci_metadata.py Resolving fileserver.pingcap.net (fileserver.pingcap.net)... 10.2.12.82 Connecting to fileserver.pingcap.net (fileserver.pingcap.net)|10.2.12.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4181 (4.1K) [application/octet-stream] Saving to: ‘agent_upload_verifyci_metadata.py’ 0K .... 100% 796M=0s 2025-04-05 23:59:13 (796 MB/s) - ‘agent_upload_verifyci_metadata.py’ saved [4181/4181] No junit report file parse result file result.json success upload data succesfully. [Pipeline] } [Pipeline] // container [Pipeline] archiveArtifacts Archiving artifacts Recording fingerprints [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 ERROR: script returned exit code 1 Finished: FAILURE